Skip to main content
POST
/
api
/
opensanctions
/
entities
/
search
/opensanctions/entities/search
curl --request POST \
  --url https://api.anysite.io/api/opensanctions/entities/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "caption": "<string>",
    "url": "<string>",
    "@type": "@opensanctions_search_result",
    "schema": "<string>",
    "topics": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search keyword

Minimum string length: 1
Example:

"putin"

count
integer
required

Max result count

Required range: x >= 1
Example:

20

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
caption
string
required
url
string
required
@type
string
default:@opensanctions_search_result
schema
string | null
topics
string[]