{"uid":"cap_HGoChEJDKPlZ1Mit9pNoY","slug":"defi-risk-scoring-5857d323","name":"DeFi Risk Scoring","description":"Transaction and token risk scoring. Honeypot detection, scam patterns, slippage checks.","url":"https://risk-api-production-af85.up.railway.app/score-tx?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"data":{"type":"string"},"value":{"type":"string"},"slippageBps":{"type":"number"}}},"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_88lpInxTMbIX8C85GYgOH","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":"Scores DeFi transactions and tokens for risk, detecting honeypots, scam patterns, and slippage issues before execution.","exampleAgentPrompt":"Before I swap, can you run a risk score on this transaction — it's going to contract 0xAbC...123 with calldata 0xa9059cbb...000 and a value of 0.5 ETH, with 50 basis points of slippage tolerance? I want honeypot and scam pattern checks.","exampleUseCases":[{"title":"Pre-swap honeypot check","prompt":"I'm about to buy a new token at contract 0xDeF...456 — can you check if it's a honeypot or scam before I send the swap transaction with calldata 0x38ed1739... and 0.1 ETH, allowing up to 100 bps slippage?"},{"title":"Rug pull detection before aping in","prompt":"There's a hot new token people are talking about on Twitter — the contract is 0x789...abc. Run a full risk score on my planned buy transaction with calldata 0x7ff36ab5... and 0.05 ETH value so I know if it's a scam before I ape in."},{"title":"Slippage sanity check on large trade","prompt":"I'm placing a large DeFi trade — 10 ETH to contract 0x111...222 with calldata 0x18cbafe5... — and I want to set 200 bps slippage. Can you score this transaction for risk and tell me if that slippage setting looks suspicious or dangerous?"}],"resultDescription":"Returns a risk score and structured flags for the submitted transaction, including honeypot detection status, identified scam patterns, slippage risk assessment, and an overall risk rating to help the agent decide whether to proceed with or abort the transaction.","failureModes":["Invalid or malformed contract address returns a validation error","Unrecognized calldata format may limit scam pattern detection accuracy","Contracts on unsupported chains may return incomplete or null scores","Extremely high slippage values may be flagged as high-risk even for legitimate trades","Network timeout if the target chain RPC is slow or unavailable"],"whenToPreferThis":"Use this endpoint when an AI agent or user wants to validate a DeFi transaction before execution — particularly when interacting with unknown tokens, new contracts, or high-value swaps. Ideal for catching honeypots, rug pulls, and scam contract patterns before funds are at risk. Prefer this over generic blockchain explorers when you need a structured, machine-readable risk score with slippage awareness rather than manual contract inspection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:31:50.380Z","isFirstParty":false,"canonicalSlug":"defi-risk-scoring-5857d323"}