Skip to main content
POST
Checks names against the US Treasury’s Specially Designated Nationals list. fresh: true refreshes the lists before screening and returns cached: false. Same request and response; only tool differs (company_sanctions or person_sanctions).
A screening aid, not a legal determination. No match means no entry scored at or above the minimum; it does not mean the party is clear.

Authentication

Requires x402 payment in the payment-signature header.

Request body

string
required
2 to 200 characters, free text. Word order, accents and punctuation are ignored. A one-word name needs at least 3 letters.
number
Lowest score to return, 0.5 to 1 (default 0.85).
integer
Most matches to return, highest first (1 to 25, default 10). total counts every match at or above min_score.

What a score means

How closely your name’s words match an entry’s name or alias. 1 is the same words in any order; below 1 is a spelling variant, a missing or extra word, or an initial for a name. A closer match is not a finding: read matched_name and the entry’s remarks before you act.

Response (200)

data carries request_id, receipt_id, status (completed), tool and:
integer
Entries at or above min_score; matches holds at most limit
number
0.5 to 1
string
The entry’s name or alias, as the list writes it
object
number, name (a person is SURNAME, Given names), programs (the sanctions programs it is listed under), title, remarks, other_names (kind: aka, fka or nka, plus name) and addresses (street, city, country)
object
Every list checked: name, as_of (the file’s date) and acquired_at (when OneShot loaded it). A result is only as current as its as_of.
boolean
true for stored lists; false after fresh: true refreshes.
string
The oldest list acquired_at, never an as_of.
See Pricing for the price of a call.

No match

A completed, charged result with total 0 and empty matches. It does not mean the party is clear.

Errors

  • 400 invalid_request: name missing, too short, too long or without a letter or digit, or min_score or limit out of range. Refused before payment.
  • 503 list_out_of_date: a list was never loaded, or not confirmed current within 72 hours. The response names each such list with as_of and checked_at. Try again later. Not charged: found after payment, the call is recorded as failed with request_id and receipt_id.
  • 500 internal_error: recorded as failed; not charged.