All guides All docs
  • Guides
  • OFAC sanctions screening API

OFAC sanctions screening API (with UK and EU lists)

POST a name to /v1/sanctions/screen and APIFor fuzzy-matches it against OFAC's SDN and Consolidated (non-SDN) lists, the UK Sanctions List and the EU consolidated financial sanctions list, returning scored candidates for a person to review. A screen costs 10 credits, and GET /v1/sanctions/lists, which is free, shows each list's date and entry count.

Last checked . Service: Sanctions screening API. Reference: endpoint docs.

Which lists, and how fresh

On 28 Nov 2026 the screen covered the OFAC list dated 23 Nov 2026 (20,022 entries), the UK list dated 26 Nov (6,458) and the EU list dated 27 Nov (6,303). Lists are refreshed daily, and each response repeats the list dates it used.

The UN Security Council list is not included, because the UN website terms allow personal, non-commercial use only. Most UN designations also appear on the EU, UK and OFAC lists.

Request

Send your key in the x-api-key header. New accounts get 1,000 free requests after email verification; the quickstart takes about a minute.

POSTcurl
curl -X POST 'https://api.apifor.dev/v1/sanctions/screen' \
  -H 'content-type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{"name":"Rosoboronexport","type":"entity","country":"RU"}'
Python
import os
import requests

r = requests.post(
    "https://api.apifor.dev/v1/sanctions/screen",
    json={
        "name": "Rosoboronexport",
        "type": "entity",
        "country": "RU",
    },
    headers={"x-api-key": os.environ["APIFOR_API_KEY"]},
    timeout=30,
)
r.raise_for_status()
print(r.json()["data"])
JavaScript
const res = await fetch("https://api.apifor.dev/v1/sanctions/screen", {
  method: "POST",
  headers: {
    "x-api-key": process.env.APIFOR_API_KEY,
    "content-type": "application/json",
  },
  body: JSON.stringify({"name":"Rosoboronexport","type":"entity","country":"RU"}),
});
const { data } = await res.json();
console.log(data);

Response

This is the example recorded from the live API and published in our OpenAPI spec. Long lists and strings are shortened here. The full spec is at api.apifor.dev/v1/openapi.json.

200 OK
{
  "success": true,
  "data": {
    "query": {
      "name": "Rosoboronexport",
      "type": "entity",
      "country": "RU",
      "birth_date": null,
      "lists": [
        "ofac",
        "uk"
      ]
    },
    "threshold": 0.8,
    "result": "candidates_found",
    "summary": "2 candidates at or above threshold 0.8 on OFAC (list date 2026-11-23), UK (list date 2026-11-26), EU (list date 2026-11-27). Review each ...",
    "candidate_count": 2,
    "candidates": [
      {
        "score": 0.962,
        "name_score": 0.962,
        "matched_name": "Rosoboroneksport",
        "primary_name": "JSC ROSOBORONEXPORT",
        "aliases": [
          "AO  Рособоронэкспорт",
          "Rosoboroneksport"
        ],
        "type": "entity",
        "list": "eu",
        "list_name": "EU Financial Sanctions Files (consolidated list)",
        "list_date": "2026-11-27",
        "source_id": "EU.7808.66",
        "programmes": [
          "UKR"
        ],
        "birth_dates": [],
        "nationalities": [],
        "listed_on": "2022-03-15",
        "remarks": "Tax number",
        "source_url": "https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CELEX:32023R0571",
        "matched_fields": [
          "name"
        ],
        "signals": {
          "birth_date": null,
          "country": null
        }
      },
      {
        "score": 0.909,
        "name_score": 0.909,
        "matched_name": "ROSOBORONEXPORT JSC",
        "primary_name": "ROSOBORONEKSPORT OAO",
        "aliases": [
          "RUSSIAN DEFENSE EXPORT ROSOBORONEXPORT",
          "ROSOBORONEXPORT JSC"
        ],
        "type": "entity",
        "list": "ofac",
        "list_name": "OFAC SDN List + Consolidated (non-SDN) List",
        "list_date": "2026-11-23",
        "source_id": "18782",
        "programmes": [
          "UKRAINE-EO13662",
          "IRAN-CON-ARMS-EO"
        ],
        "birth_dates": [],
        "nationalities": [],
        "listed_on": null,
        "remarks": "SDN List | Website www.roe.ru; Executive Order 13662 Directive Determination - Subject to Directive 3; Secondary sanctions risk: Ukraine-...",
        "source_url": "https://sanctionssearch.ofac.treas.gov/",
        "matched_fields": [
          "name"
        ],
        "signals": {
          "birth_date": null,
          "country": null
        }
      }
    ],
    "lists_screened": [
      {
        "list": "ofac",
        "name": "OFAC SDN List + Consolidated (non-SDN) List",
        "list_date": "2026-11-23"
      },
      {
        "list": "uk",
        "name": "UK Sanctions List",
        "list_date": "2026-11-26"
      }
    ],
    "lists_unavailable": []
  },
  "meta": {
    "disclaimer": "Candidates are name matches for a person to review, not a finding that anyone is sanctioned. Check birth date, nationality and ID documen...",
    "lists": [
      {
        "list": "ofac",
        "name": "OFAC SDN List + Consolidated (non-SDN) List",
        "publisher": "U.S. Department of the Treasury, Office of Foreign Assets Control",
        "list_date": "2026-11-23",
        "fetched_at": "2026-11-28T09:06:45.910Z",
        "entry_count": 20022,
        "licence": "US Government work (17 U.S.C. 105), no copyright",
        "attribution": "Source: U.S. Department of the Treasury, OFAC. Not endorsed by OFAC.",
        "source_url": "https://ofac.treasury.gov/sanctions-list-service",
        "available": true
      },
      {
        "list": "uk",
        "name": "UK Sanctions List",
        "publisher": "UK Foreign, Commonwealth & Development Office (FCDO)",
        "list_date": "2026-11-26",
        "fetched_at": "2026-11-28T09:06:45.910Z",
        "entry_count": 6458,
        "licence": "Open Government Licence v3.0",
        "attribution": "Contains public sector information licensed under the Open Government Licence v3.0 (UK Sanctions List, FCDO)",
        "source_url": "https://www.gov.uk/government/publications/the-uk-sanctions-list",
        "available": true
      }
    ],
    "excluded_lists": [
      {
        "key": "un",
        "name": "UN Security Council Consolidated List",
        "reason": "Excluded: the UN website terms allow personal, non-commercial use only. Most UN designations are also carried by the EU, UK and OFAC lists."
      }
    ]
  }
}

Reading the result

result is either candidates_found or no_match_above_threshold. Each candidate has a score from 0.5 to 1, the name that matched, the list, its programmes and the source record id. The default threshold is 0.8; raise it to cut noise or lower it to catch more spelling variants.

In the example, "Rosoboronexport" matched an EU entry at 0.962 and an OFAC entry at 0.909. For people, add birth_date and country: agreement raises the score a little.

A candidate is a name match for a person to review, not a finding. No result does not mean clear either: it means nothing scored above the threshold on the lists and dates shown.

Errors, limits and cost

A missing or wrong key returns 401, bad parameters return 400 with an error.code, and an unknown id returns 404. Rate limits are per key: a limited request gets 429 with a Retry-After header in seconds, so wait that long and retry. Calls that fail before any work starts are refunded. Details are in errors and rate limits.

This request costs 10 credits. Pricing is prepaid: 1,000 free requests once after email verification, then packs from $5 for 5,000 requests to $149 for 400,000. Credits never expire and there is no subscription. See pricing.

From an AI assistant

The same data is available as a tool on the APIFor MCP server at https://mcp.apifor.dev/mcp. Add it as a remote server in any client that supports remote MCP, sign in with OAuth or send your API key as a Bearer token, and ask in plain language. MCP calls use the same key and credits as REST. Setup steps are on the MCP page.

Alternatives

  • OFAC Sanctions List Search: OFAC's free web search over the SDN List and its other lists, for one-off checks by hand.
  • OFAC Sanctions List Service: Free downloads of the SDN and Consolidated lists. You build and maintain the matching yourself.
  • OpenSanctions: A hosted screening API billed per query with prepaid credits, and bulk data under licence. It covers many more sources, including PEPs.

Facts about other services come from their own pages or a test call on 1 Dec 2026. Prices and limits change, so confirm them there.

Source and licence

OFAC: US Government work, no copyright; not endorsed by OFAC. UK Sanctions List: contains public sector information licensed under the Open Government Licence v3.0. EU: © European Union, CC BY 4.0; only the Official Journal is authentic.

Every APIFor response carries the same attribution in meta.attribution. All sources are listed on sources and licences.

FAQ

Is OFAC screening data free?

Yes. OFAC publishes its lists for free. What costs time is matching names well and keeping lists current, which is what a screening API does.

Does a match mean the person is sanctioned?

No. It is a candidate for review. Confirm identity with birth date, nationality and documents before you act.

Does it include PEP lists?

No. It screens the OFAC, UK and EU sanctions lists only.