law

Fuzzy-match a name (person, company, vessel, aircraft)...

Fuzzy-match a name (person, company, vessel, aircraft) against the US Treasury OFAC Specially Designated Nationals list. POST { query, threshold?, limit?, sourceList? }. Returns ranked matches with similarity scores, entity type, sanctions programs, aliases, and remarks. Threshold default 0.4; scores ≥ 0.85 flagged as hasHighConfidenceMatch. List refreshed daily from public US Treasury data.

post/api/law/sanctions-check

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/law/sanctions-check
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Request body

querystring required

Free-text search query.

thresholdnumber

Minimum score/threshold required to include a result.

limitinteger

Maximum number of results to return.

sourceListstring

Source list.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.