Skip to main content
POST
/
api
/
opensanctions
/
entities
/
statements
/opensanctions/entities/statements
curl --request POST \
  --url https://api.anysite.io/api/opensanctions/entities/statements \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "entity": "<string>",
  "count": 2,
  "timeout": 300,
  "prop": "birthDate"
}
'
[
  {
    "id": "<string>",
    "prop": "<string>",
    "value": "<string>",
    "dataset": "<string>",
    "@type": "@opensanctions_statement",
    "prop_type": "<string>",
    "schema": "<string>",
    "original_value": "<string>",
    "source_entity_id": "<string>",
    "lang": "<string>",
    "first_seen": "<string>",
    "last_seen": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
entity
string
required

OpenSanctions entity id (Wikidata Q-id like 'Q7747', or internal id) or full entity URL ('https://www.opensanctions.org/entities/Q7747/').

Minimum string length: 1
Pattern: ^(?:https?://[^\s]+|//[^\s]+|(?:www\.)?opensanctions\.org[^\s]*|[A-Za-z0-9][A-Za-z0-9._-]*)$
Examples:

"Q7747"

"https://www.opensanctions.org/entities/Q7747/"

count
integer
required

Max number of statements to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
prop
string | null

Filter statements to a single property (e.g. 'birthDate', 'name', 'address').

Minimum string length: 1
Example:

"birthDate"

Response

Successful Response

id
string
required
prop
string
required
value
string
required
dataset
string
required
@type
string
default:@opensanctions_statement
prop_type
string | null
schema
string | null
original_value
string | null
source_entity_id
string | null
lang
string | null
first_seen
string | null
last_seen
string | null