API reference.
One call screens a wallet or a transaction and returns a level, a score and the reasons.
Getting started
Base URL: https://amlsafety.com. All requests and responses are JSON. Every check and every decision is written to an audit log.
Authentication
Send your API key in the Authorization header. A key is shown once, when you create it.
Check an address
/v1/check| Field | Type | |
|---|---|---|
input | string | A TRON, Ethereum, Solana, Bitcoin or Litecoin address, or a transaction ID (TRON, Ethereum, Bitcoin). Required. |
side | string | For a transaction ID: received (default; you got the money, we check the sender) or sent (we check the recipient). |
address | string | For a transaction ID: your own address, so we pick the right transfer when there are several. Optional. |
ref | string | Your own reference, e.g. an order ID. Optional, up to 64 chars. |
actor | string | Who at your company ran it, e.g. tg:981439460. Kept in the audit log. |
For a transaction ID the response also has transaction: the transfer we screened (from, to, asset, amount) and which side we checked.
Levels & reasons
| Level | Score | Meaning |
|---|---|---|
| low | 0–29 | No known risk. |
| medium | 30–69 | Review first; a decision needs a note. |
| high | 70–99 | Strong warning; proceeding needs an override with a reason. |
| stop | 100 | Sanctioned, frozen by the issuer (or being frozen right now), or on your blocklist. |
Each entry in reasons has a code, a plain-English text, the points it added and the source. warnings tells you when a live source could not be reached or a list is stale.
| Group | Codes |
|---|---|
| Sanctions and freezes | sanctioned, frozen, freeze_pending, blocked |
| Crime | stolen, ransomware, mixer, scam |
| Platforms and services | restricted_platform, sanctioned_token, gambling, swap |
| Money flow | received_from_*, sent_to_*, indirect_*, onward_* |
| Wallet behaviour | freeze_evasion, frozen_successor, pass_through, control_changed |
| Information only | exchange, bridge, dex, seized |
Checks & decisions
/v1/check/:idThe stored check with every decision made on it.
/v1/check/:id/decision| Field | |
|---|---|
action | proceed, override, reject or report. |
reason | Required for override and for decisions on medium checks. |
actor | Who decided. Kept in the audit log. |
proceed is refused on high and stop; use override with a reason so the audit log shows why.
Exposure report
Every check has exposure.breakdown: for money in and out, one row per category with its share of the money, the amount, how many wallets and how many steps away it was found.
/v1/check/:id/counterpartiesEvery counterparty of the check, biggest first. Add .csv for a spreadsheet.
Blocklist
/v1/block/v1/unblockSend { input, reason, actor }. A blocked address scores 100 (stop) from then on.
Your plan
/v1/planChecks left on your account. The website and the API share one allowance; pack checks are used once it runs out.
Networks
/v1/networksWhat a check covers on each network.
| Network | Level | What we check |
|---|---|---|
| TRON | full | Our lists, money flow several steps deep and wallet types. |
| Ethereum, BNB Chain, Polygon, Arbitrum, Base, Optimism | direct | Our lists and money one step from the wallet. |
| Solana | direct | Our lists and money one step from the wallet. |
| Bitcoin | direct | Our lists and money one step from the wallet. |
| Litecoin | direct | Our lists and money one step from the wallet. |
Test addresses
Addresses with a known result, for testing your integration. Lists change, so treat them as examples. Each test check uses one check from your allowance.
| Network | Level | Address | Why |
|---|---|---|---|
| TRON | stop | TA3941uFAvmVibSkQ6fMJXxmaSNovX86mz | US OFAC sanctions list |
| TRON | high | TDToUxX8sH4z6moQpK3ZLAN24eupu2ivA4 | Wallet of HTX, a sanctioned platform |
| TRON | low | TAUN6FwrnwwmaEqYcckffC7wYmbaS6cBiX | Binance hot wallet |
| Ethereum | stop | 0x08723392ed15743cc38513c4925f5e6be5c17243 | US OFAC sanctions list (Lazarus Group) |
| Ethereum | low | 0x28c6c06298d514db089934071355e5743bf21d60 | Binance hot wallet |
| Bitcoin | stop | 1295rkVyNfFpqZpXvKGhDqwhP1jZcNNDMV | US OFAC sanctions list |
| Bitcoin | low | 34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo | Binance cold wallet |
Errors & limits
| Status | error | Meaning |
|---|---|---|
| 400 | input_required, unrecognised_input, bad_side, tx_no_transfer, bad_action, reason_required, override_required | Fix the request; message explains what is missing. |
| 401 | missing_api_key, bad_api_key | Check your key. |
| 404 | not_found, tx_not_found | No such check for your account, or the transaction isn’t on TRON, Ethereum or Bitcoin. |
| 502 | tx_lookup_failed | We couldn’t read the transaction from the chain right now; retry shortly. |
| 429 | More than 120 requests a minute. |