Get Entity
GEThttps://api-sanctions.dataandapis.com/v1/entities/{id}
Get Entity is an endpoint of the Sanctions Screening API. Screen names against OFAC, UN, EU and UK sanctions lists plus PEPs, with fuzzy matching.
Send your key in the X-Api-Key header. Each call costs 1 token; a free key includes 500 tokens a month.
Request
Path parameters
| Parameter | Example | |
|---|---|---|
| id | 655 | Required |
Example request
curl
curl "https://api-sanctions.dataandapis.com/v1/entities/655" \
-H "X-Api-Key: YOUR_API_KEY"Node.js
const res = await fetch("https://api-sanctions.dataandapis.com/v1/entities/655", {
headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();Python
import os, requests
r = requests.get(
"https://api-sanctions.dataandapis.com/v1/entities/655",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Example response
Example response{
"id": 655,
"list_type": "sanction",
"source": "OFAC-SDN",
"source_ref": "8187",
"entity_type": "individual",
"name": "Ali Saddam Hussein AL-TIKRITI",
"programs": [
"IRAQ2"
],
"countries": [],
"birth_dates": [
"1980",
"1983"
],
"positions": [],
"pep_current": null,
"listed_on": null,
"remarks": "son of Saddam Hussein al-Tikriti",
"payload": {},
"names": [
{
"name": "Ali Saddam Hussein AL-TIKRITI",
"kind": "primary",
"quality": "strong"
},
{
"name": "HASSAN",
…
Show full response
Example response
{
"id": 655,
"list_type": "sanction",
"source": "OFAC-SDN",
"source_ref": "8187",
"entity_type": "individual",
"name": "Ali Saddam Hussein AL-TIKRITI",
"programs": [
"IRAQ2"
],
"countries": [],
"birth_dates": [
"1980",
"1983"
],
"positions": [],
"pep_current": null,
"listed_on": null,
"remarks": "son of Saddam Hussein al-Tikriti",
"payload": {},
"names": [
{
"name": "Ali Saddam Hussein AL-TIKRITI",
"kind": "primary",
"quality": "strong"
},
{
"name": "HASSAN",
…{
"id": 655,
"list_type": "sanction",
"source": "OFAC-SDN",
"source_ref": "8187",
"entity_type": "individual",
"name": "Ali Saddam Hussein AL-TIKRITI",
"programs": [
"IRAQ2"
],
"countries": [],
"birth_dates": [
"1980",
"1983"
],
"positions": [],
"pep_current": null,
"listed_on": null,
"remarks": "son of Saddam Hussein al-Tikriti",
"payload": {},
"names": [
{
"name": "Ali Saddam Hussein AL-TIKRITI",
"kind": "primary",
"quality": "strong"
},
{
"name": "HASSAN",
"kind": "alias",
"quality": "weak"
}
]
}
