api

API reference.

One call screens a wallet or a transaction and returns a level, a score and the reasons.

See plansYour API keysAPI access comes with Pro and Business Pack.

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.

Authorization: Bearer aml_live_…

Check an address

POST/v1/check
FieldType
inputstringA TRON, Ethereum, Solana, Bitcoin or Litecoin address, or a transaction ID (TRON, Ethereum, Bitcoin). Required.
sidestringFor a transaction ID: received (default; you got the money, we check the sender) or sent (we check the recipient).
addressstringFor a transaction ID: your own address, so we pick the right transfer when there are several. Optional.
refstringYour own reference, e.g. an order ID. Optional, up to 64 chars.
actorstringWho at your company ran it, e.g. tg:981439460. Kept in the audit log.
Request
curl https://amlsafety.com/v1/check \ -H "Authorization: Bearer $AML_KEY" -H "Content-Type: application/json" \ -d '{"input":"TJQVmRR4fk71LDfU16iPQEGurMu7he1ySz","ref":"order-1042"}'
Response
{ "id": "aml_3f9c1e07ab42", "created_at": "2026-10-11T14:02:11.204Z", "ref": "order-1042", "chain": "tron", "address": "TJQVmRR4fk71LDfU16iPQEGurMu7he1ySz", "score": 0, "level": "low", "reasons": [], "warnings": [], "rules_version": "v1", "data_as_of": { "ofac_sdn": "2026-10-11T06:00:04Z", "tether_tron": "2026-10-11T06:00:09Z" }, "sources_checked": ["database", "tether_tron_live"] }

For a transaction ID the response also has transaction: the transfer we screened (from, to, asset, amount) and which side we checked.

-d '{"input":"a5dfb473bd7df6fa4b787882a3240c9eab2842da546ae89a963002a201aacd16","side":"received"}'

Levels & reasons

LevelScoreMeaning
low0–29No known risk.
medium30–69Review first; a decision needs a note.
high70–99Strong warning; proceeding needs an override with a reason.
stop100Sanctioned, 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.

GroupCodes
Sanctions and freezessanctioned, frozen, freeze_pending, blocked
Crimestolen, ransomware, mixer, scam
Platforms and servicesrestricted_platform, sanctioned_token, gambling, swap
Money flowreceived_from_*, sent_to_*, indirect_*, onward_*
Wallet behaviourfreeze_evasion, frozen_successor, pass_through, control_changed
Information onlyexchange, bridge, dex, seized

Checks & decisions

GET/v1/check/:id

The stored check with every decision made on it.

POST/v1/check/:id/decision
Field
actionproceed, override, reject or report.
reasonRequired for override and for decisions on medium checks.
actorWho 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.

GET/v1/check/:id/counterparties

Every counterparty of the check, biggest first. Add .csv for a spreadsheet.

Blocklist

POST/v1/block
POST/v1/unblock

Send { input, reason, actor }. A blocked address scores 100 (stop) from then on.

Your plan

GET/v1/plan

Checks left on your account. The website and the API share one allowance; pack checks are used once it runs out.

{ "plan": "pro", "period": "month", "used": 412, "included": 1500, "left": 1088, "pack_checks": 0, "checks_available": 1088, "resets": "2026-11-01T00:00:00.000Z" }

Networks

GET/v1/networks

What a check covers on each network.

NetworkLevelWhat we check
TRONfullOur lists, money flow several steps deep and wallet types.
Ethereum, BNB Chain, Polygon, Arbitrum, Base, OptimismdirectOur lists and money one step from the wallet.
SolanadirectOur lists and money one step from the wallet.
BitcoindirectOur lists and money one step from the wallet.
LitecoindirectOur 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.

NetworkLevelAddressWhy
TRONstopTA3941uFAvmVibSkQ6fMJXxmaSNovX86mzUS OFAC sanctions list
TRONhighTDToUxX8sH4z6moQpK3ZLAN24eupu2ivA4Wallet of HTX, a sanctioned platform
TRONlowTAUN6FwrnwwmaEqYcckffC7wYmbaS6cBiXBinance hot wallet
Ethereumstop0x08723392ed15743cc38513c4925f5e6be5c17243US OFAC sanctions list (Lazarus Group)
Ethereumlow0x28c6c06298d514db089934071355e5743bf21d60Binance hot wallet
Bitcoinstop1295rkVyNfFpqZpXvKGhDqwhP1jZcNNDMVUS OFAC sanctions list
Bitcoinlow34xp4vRoCGJym3xR7yCVPFHoCNxv4TwseoBinance cold wallet

Errors & limits

StatuserrorMeaning
400input_required, unrecognised_input, bad_side, tx_no_transfer, bad_action, reason_required, override_requiredFix the request; message explains what is missing.
401missing_api_key, bad_api_keyCheck your key.
404not_found, tx_not_foundNo such check for your account, or the transaction isn’t on TRON, Ethereum or Bitcoin.
502tx_lookup_failedWe couldn’t read the transaction from the chain right now; retry shortly.
429More than 120 requests a minute.