Search for Hash entities based on a filter

Find file hashes by risk score, risk rules, algorithm type, or dates with paginated enrichment results.

What this endpoint does

This endpoint searches the Recorded Future Intelligence Cloud for file hash entities matching specified criteria. You can filter hashes by risk score ranges, specific risk rules (use the Hash Risk Rules endpoint for valid rule names), hash algorithm type (MD5, SHA-1, SHA-256, SHA-512, CRC-32, or CTPH), first/last seen dates, and Recorded Future list membership. The algorithm filter is hash-specific and useful when you need to find hashes of a particular type for compatibility with systems that only support certain algorithms. Results can be sorted by risk score, criticality, reference counts, or chronological fields.

Response data

The response contains a paginated array of matching hash entities, each populated with the requested enrichment fields, along with count metadata showing returned and total matching records. When risk data is requested, each hash includes a composite risk score, criticality level, and evidence details with sandbox verdicts, malware family detections, and source attribution. Paginated with offset-based pagination; limit max 1,000 and limit + from cannot exceed 1,000. Results are under data.results, with counts as a sibling of data. The limit parameter has a default value of 10. The intention is to use pagination to get further results. Though limit can be set to higher values, depending on which fields are used for enrichment, this might result in slower queries and possibly even time outs.

Query Params
string

The enrichment fields requested for the entities returned. Several fields can be given as a comma separated string.

See https://docs.recordedfuture.com/reference/enrichment-field-attributes for a list of values.

enum

Annotates the response with additional metadata explaining the response data elements.

Allowed:
int32
≤ 1000

Maximum number of records returned,

int32
Defaults to 0

Offsets the pagination of the request. Note that there is a limit of returning only the top 10000 results from a search, meaning if limit plus from exceeds 10000, this will result in an Bad Request message.

string

Filters entities based on risk score, e.g. on the form [20, 80] (20 <= risk score <= 80), [20,) (20 <= risk score), or [,90) (risk score < 90). '[' and ']' are inclusive while '(' and ')' are exclusive.

enum
Defaults to SHA-256

Filters hash entities based on hash algorithm

Allowed:
string

Filters entities based on the download of the first reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid.

string

Filters entities based on the download of the latest reference which is taken into account during risk scoring of the entity. All Elasticsearch compatible date formats are valid.

string

Filters entities based on presence in a single list. Requires the list ID, which can be found using the List API

enum

Filters for Hashes based on a single risk rule.

enum

Sorts the search according to the chosen parameter. Results are sorted before pagination.

enum

The direction of the sorting by the orderBy parameter, ascending or descending.

Allowed:
string
deprecated
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json