Sanctions screening - name
GET /api/sanctions/nameScreen a person or company name against the OFAC SDN list. Send GET /api/sanctions/name with the required field name and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with query, verdict, exactCount, containsCount, allTokensCount and 5 more.
Returns exact and substring matches with the SDN entry id and type, so every hit can be checked against the published list itself. Matching is exact, substring, or all-tokens (every word of your query appears as a whole word in the entry, in any order - so 'Vladimir Putin' finds 'PUTIN, Vladimir Vladimirovich'). Never a fuzzy similarity score, because a confident near-miss on a common surname is a liability rather than an answer; each hit says which of the three it was. A miss is 'not on the lists checked, as of this date', never a clearance.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Person or company name to screen |
limit | number | no | Max matches to return (default 25) |
Example request
curl -i "https://agent402.tools/api/sanctions/name?name=Gazprom"
Without payment this returns HTTP 402 Payment Required with the exact price for sanctions-name; any x402 v2 or MPP client pays it and retries.
Example response
{
"query": "Gazprom",
"verdict": "match",
"exactCount": 0,
"containsCount": 2,
"allTokensCount": 0,
"matches": [
{
"id": "12345",
"name": "GAZPROMBANK JOINT STOCK COMPANY",
"type": "-0-",
"matchType": "contains"
}
],
"entriesOnList": 19388,
"listsChecked": [
{
"list": "OFAC SDN",
"authority": "US Treasury OFAC"
}
],
"listsFetchedAt": "2026-09-12T00:00:00.000Z",
"confirmBeforeActing": "a match is a string match against a published list, not a confirmed identification..."
}
| Field | Type | Always present | In the example |
|---|---|---|---|
query | string | yes | Gazprom |
verdict | string | yes | match |
exactCount | number | yes | 0 |
containsCount | number | yes | 2 |
allTokensCount | number | yes | 0 |
matches | array of objects | yes | 1 item in the example |
entriesOnList | number | yes | 19388 |
listsChecked | array of objects | yes | 1 item in the example |
listsFetchedAt | string | yes | 2026-09-12T00:00:00.000Z |
confirmBeforeActing | string | yes | a match is a string match against a published list, not a confirmed identific... |
From an MCP client
catalog.call {
"slug": "sanctions-name",
"params": {
"name": "Gazprom"
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for sanctions-name; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
nameis required. An input the tool rejects returns an HTTP 4xx whose body carrieserror,tool,expected,requiredandexample, so the caller can correct it.- A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
POSTwith a JSON body to /api/sanctions/name is served as this GET, with the body as the input. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/sanctions/name?name=Gazprom");
Related tools
Sanctions screening - crypto address
GET /api/sanctions/walletIs this blockchain address on the OFAC SDN list? Screens any address against every Digital Currency Address OFAC publish…
Agent402 bestsellers
GET /api/bestsellersWhat agents actually pay for on a 500+ tool x402 catalog - the paid intelligence layer over Agent402's own sales ledger,…
agent demand radar
GET /api/demand-radarWhat agents want that no one is serving yet - the paid intelligence layer over Agent402's agent-demand board, for x402 s…
HTTP headers + security analysis
POST /api/http-headersFetch a URL and return every response header plus a security analysis: HSTS, CSP, X-Frame-Options, X-Content-Type-Option…
Legal entity (LEI) lookup
POST /api/lei-lookupLook up a legal entity in the official GLEIF registry. Pass a 20-character LEI for the full record - legal name, jurisdi…
Robots.txt check
POST /api/robots-checkFetch a site's robots.txt and answer: may this user-agent crawl this path? Returns the matched rule and all declared sit…