API for exchanges, swaps and bots
Wallet and transaction screening, address monitoring and webhooks. Key in the X-API-Key header. Partner keys on request at @ltvaml.
GET /api/v1/risk
Wallet risk across chains: sanctions (naming the list — OFAC, UN, EU, UK — and the date), Tether/Circle freezes, links to crime and high-risk exchanges up to 2 hops, flow shares by category and direction, behaviour. Returns risk_score, recommendation (allow / review / block), sanctions_list_match, chains.*.exposure.flows.
curl -H "X-API-Key: $KEY" "https://basekyt.com/api/v1/risk?wallet=0x…&wait=25"
GET /api/v1/kyt
NEWCheck an incoming transaction by hash: we decode the transfers (native, ERC-20, TRC-20), screen every sender and apply the LTV Standard policy — alerts with a level (Low…Severe), share and amount against thresholds. Chains: Ethereum, TRON, Polygon, Arbitrum, Optimism, Avalanche, BNB, Base.
curl -H "X-API-Key: $KEY" "https://basekyt.com/api/v1/kyt?chain=trx&tx=ab14…&receiver=T…your_deposit"
{"recommendation": "review", "policy": {"worst_alert_level": "High", "alerts": [
{"category": "mixer", "riskLevel": "High", "ruleType": "Origin of funds / Indirect",
"actualShare": 30.0, "actualValue": 3000, "thresholdShare": 1, "thresholdValue": 100,
"entityAddress": "0x…"}]}, "senders": [...], "transfers": [...]}
Async mode
NEWAdd wait=N (0–60 s) to /risk or /kyt. If it doesn't finish in time you get 202 with a check_id; fetch the result for free via retry_url (kept 1 hour). Quota is charged once, when the check completes; the same wallet again within 24 hours is free.
HTTP 202 {"status": "running", "check_id": "6f3d…", "retry_url": "/api/v1/risk/result/6f3d…", "retry_after": 10}
Monitoring & webhooks
NEWPut wallets on watch — we re-screen them every 6 hours and send monitor.risk_changed when the recommendation changes, the score moves by 10+ or a new risk category appears. KYT checks with High/Severe alerts send kyt.alert. Delivery: POST JSON, HMAC-SHA256 signature in X-LTV-Signature, stable X-LTV-Delivery-Id, retries after 30 s / 2 min / 10 min / 1 h.
POST /api/v1/webhooks {"url": "https://you.example/hook", "events": ["monitor.risk_changed", "kyt.alert"]}
POST /api/v1/webhooks/{id}/test
POST /api/v1/monitor {"wallet": "T…", "label": "vip client"}
GET /api/v1/monitor
import hmac, hashlib, base64
ok = hmac.compare_digest(base64.b64encode(hmac.new(secret.encode(), raw_body, hashlib.sha256).digest()).decode(),
request.headers["X-LTV-Signature"])
GET /api/v1/networks
An honest live coverage table: "graph" — counterparties plus one more hop are scored, "labels" — sanctions, labels and freezes.
| Ethereum | graph | explorer |
| BNB Smart Chain | graph | explorer |
| Polygon | graph | etherscan |
| Arbitrum | graph | etherscan |
| Optimism | graph | explorer |
| Base | graph | explorer |
| Avalanche C-Chain | graph | explorer |
| TRON | graph | trongrid |
| Bitcoin | labels | labels |
| Solana | graph | solana-rpc |
How risk is scored
- Sanctions and issuer freezes — direct match, no discounts or ageing.
- Sanctioned exchanges: contact after the designation date counts in full, before it at half.
- A small risky share of a big volume lowers the score (under 0.1% / 1% / 5% of turnover above $10k).
- Behaviour follows the real money flow: DEX swaps and transfers through bridges and market makers don't turn a trader into a launderer.
- Paying into a frozen token-sale contract and address poisoning are not taint.