{
  "openapi": "3.1.0",
  "info": {
    "title": "Sanctions Screening API",
    "version": "1.0.0",
    "description": "Screen names against OFAC, UN, EU and UK sanctions lists plus PEPs, with fuzzy matching.\n\nScreen any name — person, company, vessel or aircraft — against the five major official sanctions lists and a politically-exposed-persons register, with fuzzy matching built for how listed names actually vary: transliteration (Usama/Osama, Khalid/Qalid), diacritics, swapped word order and aliases. Coverage: the US OFAC SDN and Consolidated non-SDN lists, the UN Security Council Consolidated List, the UK Sanctions List (FCDO) and the EU Consolidated Financial Sanctions List — refreshed wholesale every day so delistings disappear as reliably as new designations appear — plus tens of thousands of PEPs (heads of state and government, ministers) mined from Wikidata under CC0. Matching is two-stage: an indexed phonetic-skeleton candidate search over every listed alias, then Jaro-Winkler and token-set scoring, recall-first, with each match returning its score, which alias matched and the source's own strong/weak alias grading. Every response includes screened_against — the exact list versions the query ran against — because a hit or a clean result is only defensible with the versions attached. Screen one name or 25 in a batch, browse entities by list, programme or country, and pull any entity's full record with every known alias. Self-hosted dataset built from free official sources — no third-party calls at request time.",
    "contact": {
      "name": "Data and APIs",
      "url": "https://dataandapis.com/contact"
    },
    "termsOfService": "https://dataandapis.com/terms-of-service",
    "license": {
      "name": "Data and APIs Terms of Service",
      "url": "https://dataandapis.com/terms-of-service"
    },
    "x-logo": {
      "url": "https://dataandapis.com/images/sanctions.webp"
    }
  },
  "externalDocs": {
    "description": "Documentation, live tester and pricing",
    "url": "https://dataandapis.com/apis/sanctions"
  },
  "servers": [
    {
      "url": "https://api-sanctions.dataandapis.com"
    }
  ],
  "tags": [
    {
      "name": "Finance",
      "description": "Sanctions Screening API belongs to the Finance category of the Data and APIs catalog."
    }
  ],
  "paths": {
    "/v1/entities": {
      "get": {
        "operationId": "browseEntities",
        "summary": "Browse Entities",
        "description": "Browse Entities endpoint of the Sanctions Screening API. Costs 1 token per call.",
        "externalDocs": {
          "url": "https://dataandapis.com/apis/sanctions/browse-entities"
        },
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "Iraq"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "20"
          },
          {
            "name": "list",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "sanction"
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "1"
          },
          {
            "name": "program",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "Iraq"
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "hussein"
          },
          {
            "name": "source",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "UN"
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "individual"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "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"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key"
          },
          "402": {
            "description": "Subscription past due; the response carries a payment_url"
          },
          "429": {
            "description": "Monthly token allowance exhausted"
          }
        },
        "security": [
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1/entities/programs": {
      "get": {
        "operationId": "entityPrograms",
        "summary": "Entity Programs",
        "description": "Entity Programs endpoint of the Sanctions Screening API. Costs 1 token per call.",
        "externalDocs": {
          "url": "https://dataandapis.com/apis/sanctions/entity-programs"
        },
        "parameters": [
          {
            "name": "list",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "sanction"
          },
          {
            "name": "source",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "UK-SL"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "count": 14,
                  "programs": [
                    {
                      "program": "Al-Qaida",
                      "source": "UN",
                      "count": 336
                    },
                    {
                      "program": "DPRK",
                      "source": "UN",
                      "count": 155
                    },
                    {
                      "program": "Taliban",
                      "source": "UN",
                      "count": 140
                    },
                    {
                      "program": "Iran",
                      "source": "UN",
                      "count": 121
                    },
                    {
                      "program": "Iraq",
                      "source": "UN",
                      "count": 75
                    },
                    {
                      "program": "DRC",
                      "source": "UN",
                      "count": 61
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key"
          },
          "402": {
            "description": "Subscription past due; the response carries a payment_url"
          },
          "429": {
            "description": "Monthly token allowance exhausted"
          }
        },
        "security": [
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1/entities/{id}": {
      "get": {
        "operationId": "getEntity",
        "summary": "Get Entity",
        "description": "Get Entity endpoint of the Sanctions Screening API. Costs 1 token per call.",
        "externalDocs": {
          "url": "https://dataandapis.com/apis/sanctions/get-entity"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "33319"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": 33319,
                  "list_type": "pep",
                  "source": "WIKIDATA",
                  "source_ref": "Q3606816",
                  "entity_type": "individual",
                  "name": "Jacinda Ardern",
                  "programs": [
                    "Minister of National Security and Intelligence",
                    "Prime Minister of New Zealand"
                  ],
                  "countries": [
                    "New Zealand"
                  ],
                  "birth_dates": [
                    "1980-07-26"
                  ],
                  "positions": [
                    {
                      "position": "Prime Minister of New Zealand",
                      "country": "New Zealand",
                      "start": "2017-10-26",
                      "end": "2023-01-25"
                    },
                    {
                      "position": "Minister of National Security and Intelligence",
                      "country": "New Zealand",
                      "start": "2017-10-26",
                      "end": "2023-02-01"
                    }
                  ],
                  "pep_current": false,
                  "listed_on": "2026-08-27",
                  "remarks": null,
                  "payload": {
                    "wikidata": "https://www.wikidata.org/wiki/Q3606816"
                  },
                  "names": [
                    {
                      "name": "Jacinda Ardern",
                      "kind": "primary",
                      "quality": "strong"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key"
          },
          "402": {
            "description": "Subscription past due; the response carries a payment_url"
          },
          "429": {
            "description": "Monthly token allowance exhausted"
          }
        },
        "security": [
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1/screen": {
      "get": {
        "operationId": "screenName",
        "summary": "Screen Name",
        "description": "Screen Name endpoint of the Sanctions Screening API. Costs 1 token per call.",
        "externalDocs": {
          "url": "https://dataandapis.com/apis/sanctions/screen-name"
        },
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "Iraq"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "10"
          },
          {
            "name": "list",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "sanction"
          },
          {
            "name": "min_score",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "0.75"
          },
          {
            "name": "name",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Osama bin Laden"
          },
          {
            "name": "source",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "OFAC-SDN"
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "individual"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "query": "Sadam Husein al Tikriti",
                  "normalized": "sadam husein al tikriti",
                  "min_score": 0.75,
                  "hit": true,
                  "count": 2,
                  "matches": [
                    {
                      "score": 0.95,
                      "matched_name": "Saddam Hussein AL-TIKRITI",
                      "matched_name_kind": "primary",
                      "matched_name_quality": "strong",
                      "match_type": "strong",
                      "entity": {
                        "id": 504,
                        "list_type": "sanction",
                        "source": "OFAC-SDN",
                        "source_ref": "7843",
                        "entity_type": "individual",
                        "name": "Saddam Hussein AL-TIKRITI",
                        "programs": [
                          "IRAQ2"
                        ],
                        "countries": [],
                        "birth_dates": [
                          "28 Apr 1937"
                        ],
                        "positions": [],
                        "pep_current": null,
                        "listed_on": null
                      }
                    },
                    {
                      "score": 0.95,
                      "matched_name": "Qusay Saddam Hussein AL-TIKRITI",
                      "matched_name_kind": "primary",
                      "matched_name_quality": "strong",
                      "match_type": "strong",
                      "entity": {
                        "id": 505,
                        "list_type": "sanction",
                        "source": "OFAC-SDN",
                        "source_ref": "7844",
                        "entity_type": "individual",
                        "name": "Qusay Saddam Hussein AL-TIKRITI",
                        "programs": [
                          "IRAQ2"
                        ],
                        "countries": [],
                        "birth_dates": [
                          "1965",
                          "1966"
                        ],
                        "positions": [],
                        "pep_current": null,
                        "listed_on": null
                      }
                    }
                  ],
                  "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
                    },
                    {
                      "slug": "ofac-sdn",
                      "publish_date": "08/26/2026",
                      "retrieved_at": "2026-08-28",
                      "entity_count": 19319
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key"
          },
          "402": {
            "description": "Subscription past due; the response carries a payment_url"
          },
          "429": {
            "description": "Monthly token allowance exhausted"
          }
        },
        "security": [
          {
            "ApiKey": []
          }
        ]
      },
      "post": {
        "operationId": "screenNamesBatch",
        "summary": "Screen Names Batch",
        "description": "Screen Names Batch endpoint of the Sanctions Screening API. Costs 1 token per call.",
        "externalDocs": {
          "url": "https://dataandapis.com/apis/sanctions/screen-names-batch"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              },
              "example": {
                "names": [
                  "Osama bin Laden",
                  "Viktor Bout",
                  "Acme Trading LLC"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "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
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key"
          },
          "402": {
            "description": "Subscription past due; the response carries a payment_url"
          },
          "429": {
            "description": "Monthly token allowance exhausted"
          }
        },
        "security": [
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1/lists": {
      "get": {
        "operationId": "sourceLists",
        "summary": "Source Lists",
        "description": "Source Lists endpoint of the Sanctions Screening API. Costs 1 token per call.",
        "externalDocs": {
          "url": "https://dataandapis.com/apis/sanctions/source-lists"
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "count": 6,
                  "lists": [
                    {
                      "slug": "eu-fsf",
                      "name": "EU Consolidated Financial Sanctions List",
                      "publisher": "European Commission (FISMA)",
                      "licence": "EU public data, reuse permitted with source acknowledgement",
                      "source_url": "https://data.europa.eu/data/datasets/consolidated-list-of-persons-groups-and-entities-subject-to-eu-financial-sanctions",
                      "file_url": "https://webgate.ec.europa.eu/fsd/fsf/public/files/xmlFullSanctionsList_1_1/content?token=dG9rZW4tMjAxNw",
                      "cadence": "updated as regulations amend",
                      "entity_count": 6234,
                      "name_count": 30463,
                      "publish_date": "2026-08-05",
                      "retrieved_at": "2026-08-28",
                      "updated_at": "2026-08-28 04:18:44"
                    },
                    {
                      "slug": "ofac-cons",
                      "name": "OFAC Consolidated (non-SDN) List",
                      "publisher": "US Department of the Treasury, OFAC",
                      "licence": "US Government work - no copyright",
                      "source_url": "https://ofac.treasury.gov/consolidated-sanctions-list-non-sdn-lists",
                      "file_url": "https://sanctionslistservice.ofac.treas.gov/api/download/consolidated.xml",
                      "cadence": "updated as designations change",
                      "entity_count": 481,
                      "name_count": 1663,
                      "publish_date": "07/27/2026",
                      "retrieved_at": "2026-08-28",
                      "updated_at": "2026-08-28 04:18:44"
                    },
                    {
                      "slug": "ofac-sdn",
                      "name": "OFAC Specially Designated Nationals (SDN) List",
                      "publisher": "US Department of the Treasury, OFAC",
                      "licence": "US Government work - no copyright",
                      "source_url": "https://ofac.treasury.gov/sanctions-lists",
                      "file_url": "https://sanctionslistservice.ofac.treas.gov/api/download/sdn.xml",
                      "cadence": "updated as designations change (near-daily)",
                      "entity_count": 19319,
                      "name_count": 43715,
                      "publish_date": "08/26/2026",
                      "retrieved_at": "2026-08-28",
                      "updated_at": "2026-08-28 04:18:44"
                    },
                    {
                      "slug": "uk-sl",
                      "name": "UK Sanctions List",
                      "publisher": "UK Foreign, Commonwealth & Development Office (FCDO)",
                      "licence": "Open Government Licence v3.0",
                      "source_url": "https://www.gov.uk/government/publications/the-uk-sanctions-list",
                      "file_url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.xml",
                      "cadence": "updated as designations change",
                      "entity_count": 5135,
                      "name_count": 13684,
                      "publish_date": null,
                      "retrieved_at": "2026-08-28",
                      "updated_at": "2026-08-28 04:18:44"
                    },
                    {
                      "slug": "un",
                      "name": "UN Security Council Consolidated List",
                      "publisher": "United Nations Security Council",
                      "licence": "Published by the UN for public use",
                      "source_url": "https://main.un.org/securitycouncil/en/content/un-sc-consolidated-list",
                      "file_url": "https://scsanctions.un.org/resources/xml/en/consolidated.xml",
                      "cadence": "updated as committees decide",
                      "entity_count": 1011,
                      "name_count": 3733,
                      "publish_date": "2026-08-27",
                      "retrieved_at": "2026-08-28",
                      "updated_at": "2026-08-28 04:18:44"
                    },
                    {
                      "slug": "wikidata-pep",
                      "name": "Politically Exposed Persons (heads of state/government, ministers)",
                      "publisher": "Wikidata contributors",
                      "licence": "CC0 1.0 (public domain)",
                      "source_url": "https://www.wikidata.org/",
                      "file_url": "https://query.wikidata.org/sparql",
                      "cadence": "re-mined on demand (monthly recommended)",
                      "entity_count": 34861,
                      "name_count": 54539,
                      "publish_date": "2026-08-28",
                      "retrieved_at": "2026-08-28",
                      "updated_at": "2026-08-28 04:18:44"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key"
          },
          "402": {
            "description": "Subscription past due; the response carries a payment_url"
          },
          "429": {
            "description": "Monthly token allowance exhausted"
          }
        },
        "security": [
          {
            "ApiKey": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Api-Key",
        "description": "Create a free key at https://dataandapis.com/sign-up. 500 tokens a month on the Free plan; this API costs 1 token per call."
      }
    }
  },
  "security": [
    {
      "ApiKey": []
    }
  ]
}