Developers / Docs
USDT Screening API Reference
REST documentation for the USDT.Lawyer screening API: the blacklist lookup, the OFAC SDN check and wallet info. JSON over HTTPS, with no key, no token and no sign-up.
Getting started
Pick an endpoint
POST /api/check/lookup for the blacklist status of an address; GET /api/sanctions/ofac/check to match it against the OFAC SDN list; GET /api/wallet/info for its balances.
Call it from your server
Send the request over HTTPS from your backend. No key, token or sign-up is needed. The API sends no CORS headers, so a browser page on another origin cannot read its responses.
Send JSON to the lookup
The lookup reads a JSON body: set Content-Type: application/json. Without that header the body is not read and the answer is 400 invalid_address.
Handle the response
Read status and onchain first, then token, frozenBalance and events, and cache the answer: there is no published quota and no SLA, so keep your request rate modest.
Base URL
https://usdt.lawyer
OpenAPI 3.1
Every public endpoint, with its parameters, response fields and errors, in one machine-readable file: https://usdt.lawyer/openapi.json
Access
There is no authentication: the server issues no keys, checks no credentials and answers anyone who calls it. Paths have no version prefix. There is no published quota and no SLA, so please cache the answers you get and keep your request rate modest. The API is built for server-to-server use and sends no CORS headers: call it from your backend, not from a browser page on another origin.
Request header (lookup)
Content-Type: application/json
POST /api/check/lookup
Freeze & blacklist lookup
Returns the blacklist state of one address. Whether the address is on Tether's USDT blacklist now is read from the USDT contract itself (getBlackListStatus on TRON or Ethereum) when you call; the history comes from our index of blacklist events: the balance recorded when the freeze in force was placed, and every event the index holds for the address (oldest first, at most 1,000). Our index has known gaps, listed on /methodology. Use it to answer "is this wallet blacklisted, and since when?".
Changed on 7 November 2026
- ✓status is now the current status: Tether's USDT contract decides whether the address is blacklisted. Before, it was what our index alone said; that value is now in indexStatus.
- ✓TON and Solana now answer status unknown instead of not_found. With any other network value the contract is not read (onchain "unknown"), but an 0x address is still looked up in the index, so an Ethereum address's indexed history and status can come back: send TRC20 or ERC20.
- ✓status frozen can come with events: [] and no firstSeen or lastSeen: the contract lists the address and the event is not in our index (mismatch "not_in_index").
- ✓New fields: onchain, checkedOnChainAt, indexStatus, mismatch, explorerUrl. No field was removed.
Request
POST /api/check/lookup
Content-Type: application/json
{
"network": "TRC20",
"address": "<TRON address>"
}Parameters
- ✓network — send "TRC20" (TRON) or "ERC20" (Ethereum); "TRX", "TRON", "ETH" and "ETHEREUM" are accepted too, in any case. Always send it: without it a TRON address is rejected, and an Ethereum-format address is searched on every network in the index. "TON" and "SOL" pass the address check, but neither the index nor the contract read covers them, so the answer is always unknown, with onchain "unknown".
- ✓address — required. The address in the chain's own format; TRON addresses are checksum-checked. A missing, malformed or wrong-network address gets 400 invalid_address.
Response 200
{
"status": "burned", // frozen | unfrozen | burned | not_found | unknown
"address": "TXyZ…demo",
"network": "TRX", // TRX | ETH
"token": "USDT", // USDT | USDC
"firstSeen": "2026-03-11 08:42:13",
"lastSeen": "2026-04-02 15:09:51",
"frozenBalance": 0,
"burnedAmount": 48250,
"eventCount": 2,
"events": [
{
"event": "AddedBlackList",
"kind": "frozen",
"network": "TRX",
"token": "USDT",
"amount": 0,
"balance": 48250,
"time": "2026-03-11 08:42:13",
"block": 70512345,
"tx": "9af31c…e07b"
},
{
"event": "DestroyedBlackFunds",
"kind": "burned",
"network": "TRX",
"token": "USDT",
"amount": 48250,
"balance": 0,
"time": "2026-04-02 15:09:51",
"block": 71148802,
"tx": "12bd84…aa90"
}
],
"onchain": true, // true | false | "unknown"
"checkedOnChainAt": "2026-11-07T10:21:04.512Z",
"indexStatus": "burned", // what our index alone says
"mismatch": null, // null | "not_in_index" | "not_on_chain"
"explorerUrl": "https://tronscan.org/#/address/TXyZ…demo"
}Status values
- ✓frozen — the address is on the blacklist. For USDT, Tether's contract says so, or, when it could not be read (onchain "unknown"), our index shows a freeze in force. For USDC, our index shows a freeze in force; Circle's contract is not read.
- ✓unfrozen — the address is not blacklisted now (the contract says so) and our index shows an earlier freeze. With mismatch "not_on_chain" the removal itself is not in our index.
- ✓burned — the issuer destroyed the frozen balance (DestroyedBlackFunds); the address stays on the blacklist.
- ✓not_found — Tether's USDT contract says the address is not blacklisted, and our index holds no blacklist event for it; the answer is then {"status":"not_found","events":[]} plus the fields below from onchain on.
- ✓unknown — the current status could not be established: the contract could not be read (onchain "unknown") and our index shows no freeze in force, or the network is not TRON or Ethereum, or the index has rows the lookup cannot classify. Never read it as "not blacklisted".
Fields
- ✓network — the index's code for the chain: TRX or ETH.
- ✓token — USDT when the address has any USDT event; otherwise the token of its latest event. Circle's USDC blacklist events are in the same index.
- ✓frozenBalance — the balance recorded when the freeze in force was placed, not a live balance; 0 once the address is unfrozen or burned, and 0 when the freeze in force is not in our index (mismatch "not_in_index"). burnedAmount — the total destroyed.
- ✓events — every event the index holds for the address, oldest first, at most 1,000. time is "YYYY-MM-DD HH:MM:SS" as the index stores it; amount is the destroyed amount on a burn and 0 otherwise; tx is shortened to its first 6 and last 4 characters.
- ✓onchain — true, false or "unknown": getBlackListStatus on Tether's USDT contract for this address. A reading is reused for up to 2 minutes. "unknown" when the contract could not be read within about 3 seconds, when the server is at its limit of contract reads (for all callers together, or for one caller after about 30 checks in a minute; the answer is still given, from our index), when a second host does not confirm a false that would clear a freeze our index shows, or when the network is not TRON or Ethereum. USDT only.
- ✓checkedOnChainAt — when the contract was read, ISO 8601 in UTC; null when onchain is "unknown".
- ✓indexStatus — what our index alone says, with the same values as status: the status this endpoint returned before it read the contract.
- ✓mismatch — null when the contract and our index agree; "not_in_index" when the contract says blacklisted and our index has no freeze in force (firstSeen, lastSeen and the freeze balance are then missing or from older events); "not_on_chain" when our index shows a freeze in force and the contract says not blacklisted.
- ✓explorerUrl — the address on Tronscan or Etherscan, where the contract's own record can be checked; null for other networks.
cURL
curl -X POST https://usdt.lawyer/api/check/lookup \
-H "Content-Type: application/json" \
-d '{"network":"TRC20","address":"<TRON address>"}'GET /api/wallet/info
Wallet info
Reads the current USDT balance and the native-coin balance of an address from the chain, on TRON, Ethereum, Solana or TON. Answers are cached for 60 seconds. It does not screen the address against sanctions lists; the OFAC SDN list's crypto addresses are served by GET /api/sanctions/ofac and GET /api/sanctions/ofac/check. AML transaction-risk scoring is not part of this endpoint — that is a separate product at AMLOfficer.org.
Request
GET /api/wallet/info?network=TRC20&address=<TRON address>
Parameters
- ✓network — required: "TRC20", "ERC20", "SOL" or "TON" (also "TRX", "TRON", "ETH", "ETHEREUM" and "SOLANA", in any case).
- ✓address — required, in the format of that network.
- ✓totalTxCount and lastActivity are best effort and can be null: on Ethereum the count is the number of transactions the address sent, on Solana it stops at 1,000 (totalTxCountIsFloor is then true), and on TON it is always null.
Response 200
{
"ok": true,
"info": {
"network": "TRC20",
"address": "TXyZ…demo",
"usdtBalance": 48250,
"nativeBalance": 12.5,
"nativeSymbol": "TRX",
"totalTxCount": 214,
"lastActivity": "2026-03-10T19:02:11.000Z",
"explorerUrl": "https://tronscan.org/#/address/TXyZ…demo"
}
}cURL
curl "https://usdt.lawyer/api/wallet/info?network=TRC20&address=<TRON address>"
GET /api/sanctions/ofac/check
OFAC SDN check
Screens one address against the crypto addresses on the OFAC SDN list. The server holds a copy of OFAC's SDN.XML from the Sanctions List Service[1] and checks for a new file every 24 hours, downloading it only when it changed; a failed download keeps the last good copy. The match is exact, as on OFAC's own search[2]: 0x and bech32 addresses are compared in lower case, base58 addresses (TRON, Bitcoin legacy) as written. Any currency tag on the list is matched, not only TRON and Ethereum.
Request
GET /api/sanctions/ofac/check?address=<address>
Parameters
- ✓address — required, at most 128 characters, trimmed. It is not checked against any chain's format, only matched against the list.
Response 200
{
"ok": true,
"listed": true, // true | false
"hits": [
{
"list": "OFAC SDN",
"address": "TXyZ…demo",
"currency": "USDT",
"uid": 12345,
"entity": null, // null for an individual
"type": "Individual",
"programs": ["…"],
"firstSeen": null,
"entryUrl": "https://sanctionssearch.ofac.treas.gov/Details.aspx?id=12345"
}
],
"publishDate": "2026-11-06",
"checkedAt": "2026-11-09T17:32:39.912Z",
"baselineDate": "2026-11-06"
}Fields
- ✓listed — true when the address is an identifier of at least one SDN entry in the copy screened. false is not a clearance: OFAC says its address listings are not likely to be exhaustive[3].
- ✓hits — one per listing: list ("OFAC SDN"), address as published, currency (the tag after "Digital Currency Address -"), uid (the SDN entry's ID), entity (the entry's name; null for an individual), type, programs and entryUrl (the entry on OFAC's search).
- ✓firstSeen — the publish date of the first file our feed saw the address in; null when it was already in the first file the feed read. The SDN file carries no date per address.
- ✓publishDate — the publish date of the file screened. checkedAt — when the server last confirmed it holds OFAC's current file, ISO 8601 in UTC. baselineDate — the publish date of the first file the feed read.
cURL
curl "https://usdt.lawyer/api/sanctions/ofac/check?address=<address>"
The whole list
GET /api/sanctions/ofac returns the reading: sourceUrl, publishDate, recordCount, sha256, fetchedAt, checkedAt, baselineDate, a summary (identifiers, addresses, entries, byCurrency) and rows (address, currency, uid, name, type, programs, firstSeen). ?currency=USDT,TRX filters the rows, not the summary. GET /api/sanctions/ofac.csv is the same list as CSV. Both are cached for an hour (max-age=3600); the check is sent with no-cache.
Errors
Error body (lookup)
HTTP/1.1 400 Bad Request
Content-Type: application/json
{ "error": "invalid_address" }- ✓400 invalid_address — lookup: the address is missing, shorter than 10 characters, malformed or not in the format of the network sent. A body sent without Content-Type: application/json is not read and gets this answer too.
- ✓500 internal_error — lookup: the server could not answer, for example the index could not be read or the body was not valid JSON. Try again later.
- ✓Wallet info answers HTTP 200 even when it fails: {"ok":false,"info":null,"reason":…}, with reason "invalid" (address missing or malformed), "unsupported" (network missing or not one of the four) or "fetch_failed" (the chain could not be read).
- ✓404 — an unknown path or method. The body is an HTML page, not JSON.
- ✓OFAC check, 400 invalid_address — the address is missing or longer than 128 characters; the body is {"ok":false,"error":"invalid_address"}.
- ✓OFAC endpoints, 503 unavailable — no copy of the list is loaded yet, which happens only right after a first start; the JSON body is {"ok":false,"error":"unavailable"}, the CSV answers in plain text. Try again in 10 minutes.
Sources
- [1] OFAC, Sanctions List Service: “the SDN list contains the names of individuals, entities and groups designated by OFAC”
- [2] OFAC, Questions on virtual currency, FAQ 594: “only exact matches will be returned when searching for digital currency addresses”
- [3] OFAC, Questions on virtual currency, FAQ 562: “OFAC’s digital currency address listings are not likely to be exhaustive.”
Related
More guides
- USDT blacklist checker
Paste a TRON or Ethereum address to see whether Tether froze it.
- USDT frozen: what to do
First steps: confirm the freeze, keep evidence, pay no one who promises to unfreeze it.
- USDT unfreeze scam or a real freeze?
How to tell a real Tether freeze from a fee-to-unfreeze scam.
- How to unfreeze USDT
How a case to lift an unfounded freeze is built. No result is guaranteed.
- Why does Tether freeze wallets?
Law-enforcement requests, sanctions and Tether's own risk rules.
- What is the USDT blacklist?
The contract function that lets Tether freeze an address.