Sanctions Screening API
The Sanctions Screening API screens a name (person, entity, vessel, or aircraft) against major government sanctions lists with fuzzy name matching and returns ranked matches with confidence scores, identifiers, and the underlying designation details.
This data is informational only and is not a substitute for a full compliance in a KYC program.
Available endpoints:
- /v1/sanctionsscreening - Screen a single name against the configured sanctions lists.
From 7,878 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 366ms | 408ms | 437ms | 718ms | 1232ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/sanctionsscreening GET
https://api.api-ninjas.com/v1/sanctionsscreening
Returns ranked sanctions matches for the supplied name with confidence scores from 0 to 100.
List coverage by subscription tier:
- Free — OFAC SDN only, individuals only, limited response fields.
- Developer — adds the EU Consolidated Financial Sanctions List and entity screening.
- Business and above — adds UK, UN, and Australian DFAT lists; vessel and aircraft screening; phonetic and transliteration matching; full per-source
list_versionsandstale_data_warningon every response.
See pricing for a complete feature comparison.
Parameters
namerequiredName to screen. Full name; ordering doesn't matter.
entity_typeoptionalpremium onlyRestrict to a specific entity type. One of:
individual,entity,vessel,aircraft. Vessel and aircraft require Business tier or above.countryoptionalpremium onlyISO 3166-1 alpha-2 country code (e.g.
RU) to filter results by nationality or jurisdiction.doboptionalpremium onlyDate of birth in
YYYY-MM-DDformat. Loose match: ±1 year.nationalityoptionalpremium onlyISO 3166-1 alpha-2 nationality filter.
sourcesoptionalpremium onlyComma-separated subset of
OFAC,EU,UK,UN,AUto scope the screen.min_scoreoptionalpremium onlyMinimum confidence score (0-100) to return. Defaults to 70.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON object with the following top-level fields, or an error if the request is unsuccessful.
matchesArray of ranked match objects. Each object contains the fields below — fields marked premium only are returned only on paid tiers; Free responses include just the four unbadged fields.
confidence_score— integer 0-100.match_strength—strongorweak.source_list— which government list the match came from.primary_name— the canonical designated name.designation_date— date the entity was designated.source_id— upstream record ID. premium onlyentity_type—individual/entity/vessel/aircraft. premium onlymatched_alias— the alias the query matched against. premium onlyalias_quality—primary/aka_strong/aka_weak. premium onlydate_of_birth— array of DOBs. premium onlyplace_of_birth— array of POBs. premium onlynationalities— array of nationalities. premium onlyaddresses— array of known addresses (raw strings on Developer, structured dicts on Business+). premium onlyidentifiers— passport / IMO / tail number / national ID list. premium onlysanction_programs— list of OFAC/EU/UK/UN/AU program codes (first only on Developer; full list on Business+). premium onlysource_url— link to the upstream record. premium onlyraw_record— original upstream XML/JSON payload. premium onlylast_modified— Unix timestamp of last upstream change. premium onlyscore_breakdown— per-signal breakdown of the confidence score (debug). premium only
list_versionspremium onlyPer-source list-version dates (
YYYY-MM-DD) active at screen time.stale_data_warningpremium onlyPresent when any source list is more than 7 days behind.
screened_atUnix timestamp (seconds) at which the screen was performed.
Per our Zero Data Retention policy, screen results are not stored on our servers. Persist the response on your end if you need an audit trail.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/sanctionsscreening?name=Vladimir%20PutinHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/sanctionsscreening?name=Vladimir%20Putin" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
Frequently Asked Questions
Can I use the Sanctions Screening API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the Sanctions Screening API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the Sanctions Screening API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the Sanctions Screening API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.Which sanctions lists does the Sanctions Screening API cover, and where does the data come from?
It screens names against major government lists including OFAC SDN, the EU Consolidated Financial Sanctions List, UK HMT, the UN Security Council list, and Australian DFAT, with thelist_versionsfield reporting the per-source publication date active at screen time. Coverage scales with tier: the Free plan includes OFAC SDN individuals only, while UK, UN, and AU lists plus vessel and aircraft screening require Business tier or above (see pricing).How do I narrow a screen to a specific entity type, country, or date of birth?
Pass the optionalentity_typeparameter (individual,entity,vessel, oraircraft), thecountryornationalityparameter as an ISO 3166-1 alpha-2 code such asRU, anddobinYYYY-MM-DDformat which matches within plus or minus one year; these refinements are available on paid plans (see pricing). You can also setsourcesto a comma-separated subset ofOFAC,EU,UK,UN,AUandmin_scoreto raise the confidence threshold above the default of 70.What does each match in the response include?
Thematchesarray returns ranked objects ordered by aconfidence_scorefrom 0 to 100, along withmatch_strength,source_list,primary_name, anddesignation_date; paid tiers add fields such asmatched_alias,date_of_birth,nationalities,identifiers,sanction_programs, andsource_url. The top-levelscreened_attimestamp records when the screen ran, and on Business+ astale_data_warningflags any source list more than 7 days behind. For other identity-verification needs, see related tools like Validate Email or IBAN.Is the API result stored, and is it sufficient for compliance?
Under our Zero Data Retention policy screen results are not stored on our servers, so you should persist the response yourself if you need an audit trail. The data is informational only and is not a substitute for a full KYC compliance program; reach out via contact with questions about coverage.