{"uid":"cap_g9flljieSYl0rHN3X5t0b","slug":"on-chain-forensics-api-008ff694","name":"On-chain Forensics API","description":"On-chain Forensics API for AI agents: token verdict cards and settle-safe pre-trade screens ($0.02), ERC-20 burn/mint and wallet forensics ($0.05, Base/Ethereum/XRPL), and $0.25 due-diligence memos. Bare URL = $0.02 directory tier; append ?endpoint=<name> to call a data endpoint","url":"https://solene-fa2010da.base44.app/functions/forensicsApi?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"chain":{"enum":["base","ethereum","robinhood","xrp"],"type":"string"},"token":{"enum":["ondo","qnt","edel","xlm","aero","degen","brett","buidl","usdy","ousg","ustb","usyc","bcspx","bcoin","bnvda","btsla","aapl","nvda","usdc","usdc_eth"],"type":"string"},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$|^r[1-9A-HJ-NP-Za-km-z]{24,34}$","description":"EVM contract/wallet (0x...) or XRPL classic address (r...)"},"contract":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$|^[0-9A-Fa-f]{40}$","description":"XRPL issued-currency code (chain=xrp)"},"endpoint":{"enum":["canton","linea","token","wallet","verdict","settlesafe","memo","sweep"],"type":"string"},"counterparty":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$|^r[1-9A-HJ-NP-Za-km-z]{24,34}$"}},"additionalProperties":true}}},"output":{"type":"object","properties":{"data":{"type":"object"},"paid":{"type":"string"},"service":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jvjXvaFYAfWFUdEqsH_ZM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides AI-agent-ready token verdict cards, pre-trade safety screens, ERC-20 burn/mint forensics, wallet forensics, and due-diligence memos for Base, Ethereum, and XRPL addresses.","exampleAgentPrompt":"Before I swap into AERO on Base, can you run an on-chain forensics verdict screen on it and flag any burn/mint anomalies or rug-pull signals?","exampleUseCases":[{"title":"Pre-trade token safety screen","prompt":"I'm about to buy BRETT on Base — can you pull a settle-safe verdict card for it and tell me if there are any red flags I should know before I trade?"},{"title":"Wallet forensics investigation","prompt":"Can you run a forensic investigation on this Ethereum wallet 0x1234567890abcdef1234567890abcdef12345678 and tell me if it's been involved in any suspicious mint or burn activity?"},{"title":"Due-diligence memo for institutional asset","prompt":"I need a full due-diligence memo on the ONDO token on Ethereum before my fund considers a position — pull everything you can find on its on-chain history and risk profile."}],"resultDescription":"Returns a JSON object containing a data payload that may include: a token verdict card (risk level, flags, supply metrics), a settle-safe pre-trade screen (counterparty risk, liquidity signals), ERC-20 burn/mint forensics (event history, anomaly flags), wallet forensics (transaction patterns, risk indicators), or a structured due-diligence memo — depending on the endpoint called. Also returns service name and payment confirmation string.","failureModes":["Missing required 'endpoint' query param returns directory listing at $0.02 tier rather than data","Invalid or unsupported token symbol returns an error — only enumerated tokens (ondo, qnt, aero, degen, brett, etc.) are accepted","Malformed address (not matching 0x EVM or r... XRPL pattern) returns a validation error","Unsupported chain value (only base, ethereum, xrp accepted) causes rejection","Payment not received or insufficient USDC results in 402 Payment Required response","Requesting memo-tier output ($0.25) without sufficient payment triggers a payment error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs fast, structured on-chain risk intelligence before executing or recommending a trade — particularly for tokens on Base, Ethereum, or XRPL. It is purpose-built for agentic workflows with per-call micropayment pricing via x402, making it ideal for per-decision screening rather than bulk subscription data. Prefer this over general block explorers when you need opinionated verdict cards, anomaly flags, or compliance-style memos rather than raw transaction data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T18:36:07.999Z","isFirstParty":false,"canonicalSlug":"on-chain-forensics-api-008ff694"}