Fetch Entity
Changed onRetrieve a single entity by its ID. The entity will be returned in full, with data from all datasets and with nested entities (adjacent passport, sanction and associated entities) included. If the entity ID has been merged into a different canonical entity, an HTTP redirect will be triggered.
Intro: entity data model.
Request
- Base URLhttps://api.opensanctions.org (the document declares no server; this is the origin it was published from)
- URLhttps://api.opensanctions.org/entities/{entity_id}
- Authnone declared
Path parameters
ID of the entity to retrieve
Query parameters
Response
Successful Response
Example response
{
"id": "NK-A7z....",
"caption": "John Doe",
"schema": "LegalEntity",
"properties": {
"name": [
"John Doe"
]
},
"datasets": [
"us_ofac_sdn"
],
"referents": [
"ofac-1234"
],
"first_seen": "2026-01-01T12:00:00Z",
"last_seen": "2026-01-01T12:00:00Z",
"last_change": "2026-01-01T12:00:00Z"
}Changes
- info
removed
subschema #1subschema #2from theresponse propertyanyOflist for the response status - info
removed
subschema #1subschema #2from theresponse propertyanyOflist for the response status - info
removed
subschema #1subschema #2from theresponse propertyanyOflist for the response status
- info
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info