{"uid":"cap_HY6Uts1PSP34kO7nOrB0d","slug":"agentdiet-on-chain-risk-intelligence-endpoint-03f575fb","name":"AgentDiet On-Chain Risk Intelligence Endpoint","description":"15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).","url":"https://onchain-risk-72343955726.us-central1.run.app/v1/onchain-risk?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["address"],"properties":{"address":{"type":"string","minLength":1,"description":"0x EVM contract/wallet address on Base or Solana Base58 SPL Mint address"}},"additionalProperties":false},"output":{"type":"object","required":["status","roi_proof","data"],"properties":{"data":{"type":"object"},"status":{"type":"string"},"roi_proof":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"mode":"markdown","title":"Example Documentation","content":"# Example Documentation\nClean agent-ready markdown..."},"status":"ok","roi_proof":{"raw_tokens":14200,"tokens_saved":13520,"roi_multiplier":67.6,"distilled_tokens":680,"compression_ratio_pct":95.2}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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_cqP2w2Y1P67l5YysIFjw0","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":"Retrieves on-chain risk analysis and intelligence data for blockchain addresses, tokens, or transactions via a pay-per-call HTTP 402 API","exampleAgentPrompt":"Can you pull an on-chain risk assessment for the wallet address 0xABC123... and tell me if it's flagged as high risk or suspicious?","exampleUseCases":[{"title":"DeFi token safety check before swap","prompt":"Before I swap into this DEX token at 0xDEF456..., can you run an on-chain risk check on it and tell me if there are any red flags like rug pull indicators or suspicious contract behavior?"},{"title":"Wallet reputation check for incoming payment","prompt":"I'm about to receive a large payment from wallet 0xAABB1122... — can you run an on-chain risk assessment on that address and tell me if it's linked to any known scams or sanctions?"},{"title":"Smart contract audit before investing","prompt":"I'm considering putting funds into a new DeFi protocol at contract address 0x9988..., can you give me an on-chain risk intelligence report on it so I know if it's safe?"}],"resultDescription":"Returns a JSON object containing a risk intelligence report as agent-ready distilled markdown, along with ROI/compression metadata showing raw token count, distilled token count, compression ratio, and an ROI multiplier indicating how much token context was saved. The 'data' field includes mode, title, and content fields with structured risk findings.","failureModes":["Payment not provided or insufficient USDC via HTTP 402 — returns 402 Payment Required","Invalid or malformed blockchain address — returns error status","Address not found on supported chains — empty or null risk data returned","Rate limiting if too many calls in quick succession","Cloud Run cold start may increase latency on first call"],"whenToPreferThis":"Choose this endpoint when you need on-chain risk scoring or intelligence for a specific blockchain address, token, or transaction and want results returned as compressed, agent-ready markdown that minimizes token usage. Prefer this over generic blockchain explorers when you need a structured risk verdict rather than raw transaction data, and when you're operating in a pay-per-call agent workflow using USDC micropayments via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T15:01:25.621Z","isFirstParty":false,"canonicalSlug":"agentdiet-on-chain-risk-intelligence-endpoint-03f575fb"}