Screen Names Batch

POSThttps://api-sanctions.dataandapis.com/v1/screen

Screen Names Batch é 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

Corpo da requisição

{
  "names": [
    "Osama bin Laden",
    "Viktor Bout",
    "Acme Trading LLC"
  ]
}

Exemplo de requisição

curl
curl -X POST "https://api-sanctions.dataandapis.com/v1/screen" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "names": [ "Osama bin Laden", "Viktor Bout", "Acme Trading LLC" ] }'
JavaScript / TypeScript (pacote dataandapis)
// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY

const data = await client.sanctions.screenNamesBatch({
  body: {
    names: ["Osama bin Laden", "Viktor Bout", "Acme Trading LLC"],
  },
});
Node.js (fetch)
const res = await fetch("https://api-sanctions.dataandapis.com/v1/screen", {
  method: "POST",
  headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    "names": [
      "Osama bin Laden",
      "Viktor Bout",
      "Acme Trading LLC"
    ]
  }),
});
const data = await res.json();
Python (pacote dataandapis)
# pip install dataandapis
from dataandapis import DataAndApis

client = DataAndApis()  # reads DATAANDAPIS_API_KEY

data = client.sanctions.screen_names_batch(
    body={
        "names": ["Osama bin Laden", "Viktor Bout", "Acme Trading LLC"],
    },
)
Python (requests)
import os, requests

r = requests.post(
    "https://api-sanctions.dataandapis.com/v1/screen",
    headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
    json={
      "names": [
        "Osama bin Laden",
        "Viktor Bout",
        "Acme Trading LLC"
      ]
    },
)
data = r.json()

Guia do pacote npm dataandapis →Guia do pacote Python dataandapis →

Exemplo de resposta

Exemplo de resposta
{
  "count": 2,
  "hits": 2,
  "min_score": 0.75,
  "results": [
    {
      "query": "Usama bin Ladin",
      "normalized": "usama bin ladin",
      "hit": true,
      "count": 1,
      "matches": [
        {
          "score": 1,
          "matched_name": "Usama bin Muhammad bin Awad BIN LADIN",
          "matched_name_kind": "primary",
          "matched_name_quality": "strong",
          "match_type": "exact",
          "entity": {
            "id": 102,
            "list_type": "sanction",
            "source": "OFAC-SDN",
            "source_ref": "6365",
            "entity_type": "individual",
            "name": "Usama bin Muhammad bin Awad BIN LADIN",
            "programs": [
              "SDGT"
            ],
            "countries": [],
…
Ver resposta completa
{
  "count": 2,
  "hits": 2,
  "min_score": 0.75,
  "results": [
    {
      "query": "Usama bin Ladin",
      "normalized": "usama bin ladin",
      "hit": true,
      "count": 1,
      "matches": [
        {
          "score": 1,
          "matched_name": "Usama bin Muhammad bin Awad BIN LADIN",
          "matched_name_kind": "primary",
          "matched_name_quality": "strong",
          "match_type": "exact",
          "entity": {
            "id": 102,
            "list_type": "sanction",
            "source": "OFAC-SDN",
            "source_ref": "6365",
            "entity_type": "individual",
            "name": "Usama bin Muhammad bin Awad BIN LADIN",
            "programs": [
              "SDGT"
            ],
            "countries": [],
            "birth_dates": [
              "1958",
              "30 Jul 1957"
            ],
            "positions": [],
            "pep_current": null,
            "listed_on": null
          }
        }
      ]
    },
    {
      "query": "Jane Cleanhit",
      "normalized": "jane cleanhit",
      "hit": true,
      "count": 1,
      "matches": [
        {
          "score": 0.8619,
          "matched_name": "Juan Costa Climent",
          "matched_name_kind": "primary",
          "matched_name_quality": "strong",
          "match_type": "fuzzy",
          "entity": {
            "id": 63809,
            "list_type": "pep",
            "source": "WIKIDATA",
            "source_ref": "Q3187630",
            "entity_type": "individual",
            "name": "Juan Costa Climent",
            "programs": [
              "Minister of Science and Technology of Spain"
            ],
            "countries": [
              "Spain"
            ],
            "birth_dates": [
              "1965-04-10"
            ],
            "positions": [
              {
                "position": "Minister of Science and Technology of Spain",
                "country": "Spain",
                "start": "2003-09-04",
                "end": "2004-04-17"
              }
            ],
            "pep_current": false,
            "listed_on": "2026-08-27"
          }
        }
      ]
    }
  ],
  "screened_against": [
    {
      "slug": "eu-fsf",
      "publish_date": "2026-08-05",
      "retrieved_at": "2026-08-28",
      "entity_count": 6234
    },
    {
      "slug": "ofac-cons",
      "publish_date": "07/27/2026",
      "retrieved_at": "2026-08-28",
      "entity_count": 481
    }
  ]
}