Screen Names Batch

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

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

Request body

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

Example request

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 (dataandapis package)
// 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 (dataandapis package)
# 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()

Guide to the dataandapis npm package →Guide to the dataandapis Python package →

Example response

Example response
{
  "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": [],
…
Show full response
{
  "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
    }
  ]
}