Browse Entities
GEThttps://api-sanctions.dataandapis.com/v1/entities
Browse Entities é um endpoint da Sanctions Screening API. Faça a triagem de nomes contra as listas de sanções OFAC, ONU, UE e Reino Unido e PEPs, com correspondência aproximada.
Envie sua chave no header X-Api-Key. Cada chamada custa 1 token; uma chave gratuita inclui 500 tokens por mês.
Requisição
Parâmetros de consulta
| Parâmetro | Exemplo | |
|---|---|---|
| country | Iraq | Opcional |
| limit | 20 | Opcional |
| list | sanction | Opcional |
| page | 1 | Opcional |
| program | Iraq | Opcional |
| q | hussein | Opcional |
| source | UN | Opcional |
| type | individual | Opcional |
Exemplo de requisição
curl
curl "https://api-sanctions.dataandapis.com/v1/entities?country=Iraq&limit=20&list=sanction&page=1&program=Iraq&q=hussein&source=UN&type=individual" \
-H "X-Api-Key: YOUR_API_KEY"JavaScript / TypeScript (pacote dataandapis)
// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.sanctions.browseEntities({
country: "Iraq",
limit: 20,
list: "sanction",
page: 1,
program: "Iraq",
q: "hussein",
source: "UN",
type: "individual",
});Node.js (fetch)
const res = await fetch("https://api-sanctions.dataandapis.com/v1/entities?country=Iraq&limit=20&list=sanction&page=1&program=Iraq&q=hussein&source=UN&type=individual", {
headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();Python (pacote dataandapis)
# pip install dataandapis
from dataandapis import DataAndApis
client = DataAndApis() # reads DATAANDAPIS_API_KEY
data = client.sanctions.browse_entities(
country="Iraq",
limit=20,
list="sanction",
page=1,
program="Iraq",
q="hussein",
source="UN",
type="individual",
)Python (requests)
import os, requests
r = requests.get(
"https://api-sanctions.dataandapis.com/v1/entities?country=Iraq&limit=20&list=sanction&page=1&program=Iraq&q=hussein&source=UN&type=individual",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Guia do pacote npm dataandapis →Guia do pacote Python dataandapis →
Exemplo de resposta
Exemplo de resposta{
"total": 159,
"page": 1,
"limit": 2,
"count": 2,
"results": [
{
"id": 2001,
"list_type": "sanction",
"source": "OFAC-SDN",
"source_ref": "12891",
"entity_type": "individual",
"name": "Abbas Hussein HARB",
"programs": [
"SDNTK"
],
"countries": [
"Colombia",
"Venezuela"
],
"birth_dates": [
"11 Nov 1979"
],
"positions": [],
"pep_current": null,
"listed_on": null
},
{
…
Ver resposta completa
Exemplo de resposta
{
"total": 159,
"page": 1,
"limit": 2,
"count": 2,
"results": [
{
"id": 2001,
"list_type": "sanction",
"source": "OFAC-SDN",
"source_ref": "12891",
"entity_type": "individual",
"name": "Abbas Hussein HARB",
"programs": [
"SDNTK"
],
"countries": [
"Colombia",
"Venezuela"
],
"birth_dates": [
"11 Nov 1979"
],
"positions": [],
"pep_current": null,
"listed_on": null
},
{
…{
"total": 159,
"page": 1,
"limit": 2,
"count": 2,
"results": [
{
"id": 2001,
"list_type": "sanction",
"source": "OFAC-SDN",
"source_ref": "12891",
"entity_type": "individual",
"name": "Abbas Hussein HARB",
"programs": [
"SDNTK"
],
"countries": [
"Colombia",
"Venezuela"
],
"birth_dates": [
"11 Nov 1979"
],
"positions": [],
"pep_current": null,
"listed_on": null
},
{
"id": 33324,
"list_type": "pep",
"source": "WIKIDATA",
"source_ref": "Q4664751",
"entity_type": "individual",
"name": "Abdel Hussein Shandal",
"programs": [
"Minister of Justice"
],
"countries": [
"Iraq"
],
"birth_dates": [],
"positions": [
{
"position": "Minister of Justice",
"country": "Iraq",
"start": "2005-05-03",
"end": "2006-05-20"
}
],
"pep_current": false,
"listed_on": "2026-08-27"
}
]
}