Entity search
Entity search (JSON body)
POST
/v2/search Same as GET, with the parameters in a JSON body.
Request body
namestring requiredEntity name to search for (minimum 2 characters)country_codestringFilter by ISO country code (e.g., US, GB, CA). Also filters master entities by primary legal entity jurisdiction and headquarters country.region_codestringFilter by region/state/province code for US state-level filtering (e.g., CA, NY, DE)limitintegerMaximum number of results to return (1–10, default 10)bypass_cachebooleanBypass the response cache and force a fresh query
Responses
200 OK
resultsarray<object>Array of matching entities. Master entity results (non-null entity_id) are returned first (higher quality curated matches), followed by legal-entity-only results.Show 6 nested fieldsHide nested fields
idstringLegal entity ID. Always anle_xxxidentifier.entity_idstringMaster entity ID (siq_xxx). Non-null when this entity has been consolidated into the master graph. Null for legal-entity-only results.namestringEntity namestatusstringCurrent statusis_branchbooleanIndicates if this is likely a branch/foreign qualification of another entityjurisdictionobjectShow 3 nested fieldsHide nested fields
countrystringcountry_codestringjurisdiction_codestringCombined country/state jurisdiction code (e.g. us_de for Delaware)
metadataobjectShow 3 nested fieldsHide nested fields
totalintegerTotal number of results returnedreturnedintegerNumber of results in this responsequery_time_msintegerQuery execution time in milliseconds
request_idstringUnique request identifier
400 Bad Request
errorobjectShow 2 nested fieldsHide nested fields
typestringStable, machine-readable error code.messagestringHuman-readable explanation. Do not match on this.
401 Unauthorized
errorobjectShow 2 nested fieldsHide nested fields
typestringStable, machine-readable error code.messagestringHuman-readable explanation. Do not match on this.
500 Internal Server Error
errorobjectShow 2 nested fieldsHide nested fields
typestringStable, machine-readable error code.messagestringHuman-readable explanation. Do not match on this.
Example request
cURL
curl --request POST \
--url 'https://api.savvyiq.ai/v2/search' \
--header 'apikey: YOUR_API_KEY' \
--header 'content-type: application/json' \
--data '{"name":"Google LLC","country_code":"US","region_code":"DE","limit":10,"bypass_cache":false}' Example response
Entity search results for Google LLC200
{
"results": [
{
"id": "le_2Zp3YaC1I4wgYZpQDPgx8",
"entity_id": "siq_2ZYEAh7VdPkWsvlsqW9lG",
"name": "Google",
"status": "active",
"is_branch": false,
"jurisdiction": {
"country": "United States of America",
"country_code": "US",
"jurisdiction_code": "us_de"
}
},
{
"id": "le_2ZoQ891RD9mDRM1E8bnDf",
"entity_id": "siq_2ZYEAh7VdPkWsvlsqW9lG",
"name": "Google LLC",
"status": "active",
"is_branch": true,
"jurisdiction": {
"country": "United States of America",
"country_code": "US",
"jurisdiction_code": "us_sc"
}
},
{
"id": "le_2ZARUQAF1lba0EhCFyRfl",
"entity_id": null,
"name": "GOOGLE LLC",
"status": "active",
"is_branch": false,
"jurisdiction": {
"country": "United States of America",
"country_code": "US",
"jurisdiction_code": "us_ct"
}
}
],
"metadata": {
"total": 5,
"returned": 5,
"query_time_ms": 42
},
"request_id": "req_31ffecAT4FNPZDDVD1gZw"
}