chain-analyzer.com/api/v1/x402/tx/:hash/trace
Transaction fund-flow tracing with ML-powered anomaly detection across 12 live chains (Bitcoin, Ethereum, Polygon, BNB Smart Chain, Base, Arbitrum, Optimism, Avalanche, Solana, Kaia, TRON, XRP). Returns multi-hop graph, counterparties, and risk classification.
GET
https://chain-analyzer.com/api/v1/x402/tx/:hash/traceUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://chain-analyzer.com/api/v1/x402/tx/:hash/trace?chain=ethereum&depth=3");
console.log(await res.json());Example input
{
"chain": "ethereum",
"depth": "3"
}More from ChainAnalyzer
- chain-analyzer.com/api/v1/x402/address/:address/counterpartiesTop transaction counterparties for an address with entity labels, category, per-counterparty transfer counts and observed flow totals. Reuses a scan of the same address from the last 24 hours when one exists, otherwise runs a fresh scan.0.10
- chain-analyzer.com/api/v1/x402/address/:address/exposureMulti-hop exposure analysis over the ChainAnalyzer graph. Returns direct and indirect exposure grouped by risk tier (mixer, darknet, sanctioned entity, exchange, bridge) plus detected money-laundering patterns such as layering and structuring.0.15
- chain-analyzer.com/api/v1/x402/address/:address/freeze-statusIs this address frozen or blacklisted by a stablecoin issuer? Returns the current state per token (latest freeze or unfreeze event wins), first freeze time and last event with its transaction, from issuer freeze events ChainAnalyzer indexes (USDT, USDC, JPYC and others on Ethereum, Polygon, Avalanche and TRON). The coverage field lists the tokens indexed, so not frozen is interpretable. Optional c0.02
- chain-analyzer.com/api/v1/x402/address/:address/hack-exposureIs this address connected to a known hack, and how? Looks the address up in the ChainAnalyzer stolen-funds taint ledger (published incidents only): attacker seed, downstream wallet N hops from the attacker, or an exchange / service that received stolen funds. Returns per-incident hop distance, lower-bound amounts and the first transaction. Ethereum and EVM chains, TRON, Solana and Bitcoin. Pass `c0.05
- chain-analyzer.com/api/v1/x402/address/:address/labelsWho is this address? Returns verified entity labels from the ChainAnalyzer known registry (token issuers, exchange hot/cold wallets, protocol deployers, sanctioned entities, mixers) plus a ScamDB hit if the address is a known drainer. TRON addresses also resolve public explorer tags (source=third_party_public_tag, status=unverified). Unreviewed and inferred labels are never returned. 12 chains.0.02
- chain-analyzer.com/api/v1/x402/address/:address/poisoning-checkIs this destination a lookalike of an address the sender already trusts? Applies the address-poisoning similarity rule (leading and trailing characters that wallet UIs abbreviate to) between one destination and a caller-supplied list of known-good addresses. Pure string comparison when `known` is given, so it answers in milliseconds and never runs a scan.0.01
- chain-analyzer.com/api/v1/x402/address/:address/risk-scoreAML risk score for a blockchain address. 12 chains live for self-serve x402 (Bitcoin, Ethereum, Polygon, BNB Smart Chain, Base, Arbitrum, Optimism, Avalanche, Solana, Kaia, TRON, XRP). 76+ detection rules, 3-model ML anomaly ensemble (Isolation Forest + AutoEncoder + GraphSAGE). Includes a free summary of known-hack exposure (published incidents) and of stablecoin issuer freeze status, with links 0.10
- chain-analyzer.com/api/v1/x402/address/:address/sanctionsOFAC / FATF / JFSA sanctions screening for any blockchain address. Returns hit list with sanction list source, designation date, and program code.0.05
- chain-analyzer.com/api/v1/x402/batch/screeningBatch AML screening for multiple addresses (up to 50 per request). 12 live chains, 76+ detection rules. Ideal for AI agents pre-validating wallet inputs at scale.2.50
- chain-analyzer.com/api/v1/x402/bridge-flow/traceMulti-hop cross-chain forensic trace. Auto-detects bridge solvers (NEAR Intents, Wormhole, deBridge, Stargate, Across, Synapse, Hop), follows relay chains across chains, and emits forensic insights (solver_detected, relay_chain, same_intent_correlation). Returns a graph (nodes/edges) with role classification and per-intent settlement timing. Ideal for compliance teams investigating cross-chain lau0.50
- chain-analyzer.com/api/v1/x402/hack-exposure/batchBatch known-hack exposure screening for up to 50 addresses per request (fixed price). For each address: whether it is connected to a published hack in the ChainAnalyzer stolen-funds taint ledger, the verdict (attacker / downstream_of_hack / service_or_exchange_received / none) and up to 3 incidents with hop distance and role. Invalid addresses are listed in `invalid` without failing the batch. Eth1.00
- chain-analyzer.com/api/v1/x402/issuer/supplyStablecoin issuer supply in one JSON call: pass the issuer as the `slug` query parameter. Returns total and circulating supply per chain, cumulative mint and burn totals, and the 20 most recent issuance / redemption events with transaction hashes. Same numbers as the public issuer page, shaped for agents.0.01
