{"uid":"cap_617249Ph8Cc7I-9frj_am","slug":"defi-risk-scoring-token-transaction-risk-api-b6ef5cb4","name":"DeFi Risk Scoring – Token & Transaction Risk API","description":"Transaction and token risk scoring. Honeypot detection, scam patterns, slippage checks.","url":"https://risk-api-production-af85.up.railway.app/score-token?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["address"],"properties":{"address":{"type":"string"},"contractCode":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Cwzmg7irKQqmPzL8a5ATH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a token contract address (and optionally its bytecode) to detect honeypots, scam patterns, and slippage issues, returning a risk score for DeFi safety decisions.","exampleAgentPrompt":"Before I swap into this token, can you run a risk score on contract address 0x6B175474E89094C44Da98b954EedeAC495271d0F and check if it's a honeypot or has any scam patterns?","exampleUseCases":[{"title":"Pre-trade honeypot check","prompt":"I'm about to buy this token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — can you scan it for honeypot traps or rug pull patterns before I put money in?"},{"title":"New token listing safety audit","prompt":"We're listing a new token on our DEX and I need a risk score on contract 0xdAC17F958D2ee523a2206206994597C13D831ec7 — flag any scam indicators or slippage issues in its code."},{"title":"Wallet protection bot screening","prompt":"My bot is about to interact with 0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0 — quickly score this contract for fraud patterns and tell me if it's safe to proceed."}],"resultDescription":"Returns a risk score and detailed flags covering honeypot detection status, identified scam patterns, slippage anomalies, and other DeFi contract risk indicators for the submitted token address.","failureModes":["Invalid or malformed contract address returns a validation error","Contract address not found on-chain may return no data or an error","Unverified contract without source code may limit analysis depth","Rate limiting or payment failure returns 402 or 429 status","Contract code too large or obfuscated may reduce scoring accuracy"],"whenToPreferThis":"Choose this endpoint when you need rapid, pre-trade DeFi token safety checks — especially honeypot detection and scam pattern analysis — before executing swaps or approvals. It is ideal for wallets, DEX aggregators, trading bots, or portfolio tools that need programmatic risk gating on arbitrary token addresses without building their own on-chain analysis infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:36:13.904Z","isFirstParty":false,"canonicalSlug":"defi-risk-scoring-token-transaction-risk-api-b6ef5cb4"}