Search entities by name, identifier, address and other fields.
POST/search/entity
- Takes: Name
- Passive: the target is not contacted
Searches with Elasticsearch simple query string syntax. Returns at most 10,000 results; page with limit and offset.
Query parameters
limitObjects returned, 1 to 100
offsetResults to skip
Request body (JSON) · 6ShowHide
q
Query term, Elasticsearch simple query string syntax
fields
Fields to search: name, identifier, address, business_purpose, date_of_birth, contact
country
Countries as three-letter codes
entity_type
Entity types such as company, person, vessel
facets
Return counts by field
advanced
Enable full Elasticsearch syntax
Response fields · 11ShowHide
id
Entity ID
label
Entity name
type
Entity type
countries
Countries linked to the entity
sanctioned
Whether the entity is sanctioned
pep
Whether the entity is a politically exposed person
limit
Limit applied
offset
Offset applied
next
Whether more results are available
count
Result count
qualifier
eq or gte
curl -X POST 'https://api.sayari.com/v1/search/entity' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"q":"Example Trading Ltd","fields":["name"],"facets":false}'{
"data": [
{
"id": "EXAMPLE_ENTITY_ID",
"label": "EXAMPLE TRADING LTD",
"type": "company",
"countries": [
"GBR"
],
"sanctioned": false,
"pep": false
}
],
"limit": 10,
"offset": 0,
"next": false,
"size": {
"count": 1,
"qualifier": "eq"
}
}