{"uid":"cap_xO98rGPg4e51GX9-GbyF5","slug":"defi-shield-hazel-vercel-app-be6f6250","name":"DeFi Shield Rug Pull Score","description":"","url":"https://defi-shield-hazel.vercel.app/api/defi/rug-score","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"properties":{"chain":{"type":"string","description":"Chain (default: base)"},"token_address":{"type":"string","description":"Token address to assess (0x + 40 hex chars)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"body":{"chain":"base","token_address":"0x1234567890123456789012345678901234567890"},"type":"http","method":"POST","bodyType":"json"}},"response":{"seal":{"chain":"base","token":"0x1234567890123456789012345678901234567890","checks":["contract_risk","holder_risk","honeypot_risk","deployer_risk","goplus_risk"],"savings":{"saved":"$-0.68","message":"This safety check cost $1.00. Self-service equivalent: $0.32 (3 LLM calls). Saved $-0.68.","youPaid":"$1.00","multiplier":"0x cheaper","selfServiceWouldCost":"$0.32"},"seal_id":"seal-rug-1781324524976-30mhdw","verdict":"caution","version":"2.0","timestamp":"2026-06-13T04:22:04.976Z","confidence":78,"propagation":{"message":"Forward this seal to trading partners — verified safety benefits everyone","threatFeed":"/api/threats/feed","verifyEndpoint":"/api/seals?token=0x1234567890123456789012345678901234567890&chain=base"},"carrierBenefit":{"shareWith":"/api/agent-verifications?wallet=<agent_wallet>","description":"Sharing this seal with counterparties proves due diligence","upgradePrice":"$2.50","upgradeEndpoint":"/api/defi/full-scan"},"deployerIntelligence":null},"chain":"base","verdict":"caution","riskMath":{"message":"Based on full analysis: 17.6% risk probability. On a $5,000 trade, expected loss without this check would be $845.","scenarioTable":[{"roi":"17x","checkCost":"$1.00","tradeSize":"$100","expectedLoss":"$17"},{"roi":"169x","checkCost":"$1.00","tradeSize":"$1,000","expectedLoss":"$169"},{"roi":"845x","checkCost":"$1.00","tradeSize":"$5,000","expectedLoss":"$845"},{"roi":"1,690x","checkCost":"$1.00","tradeSize":"$10,000","expectedLoss":"$1,690"},{"roi":"8,448x","checkCost":"$1.00","tradeSize":"$50,000","expectedLoss":"$8,448"}],"averageLossWhenRugged":"$845","estimatedRiskProbability":0.17600000000000002},"breakdown":{"goplus_risk":0,"holder_risk":20,"contract_risk":30,"deployer_risk":20,"honeypot_risk":30},"rug_score":22,"scanned_at":"2026-06-13T04:22:04.976Z","token_name":null,"explanation":"Rug score 22/100 (caution). Contract risk: 30, Holder concentration risk: 20, Honeypot signals: 30, Deployer risk: 20, GoPlus flags: 0.","savingsMath":{"message":"This analysis costs your agent ~$0.32 to do itself (3 LLM calls + orchestration). You paid $1.00. Saved $-0.68 this call. At 20 checks/day: $-13.60/day, $-408/month in savings.","savedPerDay":"$-13.60 (at 20 checks/day)","savedPerCheck":"$-0.68","savedPerMonth":"$-408","defiShieldCost":"$1.00","selfServiceCost":{"breakdown":"3 LLM calls (~24000 input tokens) + API orchestration + amortized dev time","devTimeCost":"$0.10","apiCallsCost":"$0.050","llmInferenceCost":"$0.162","totalSelfService":"$0.32"},"savingsMultiplier":"0.3x cheaper"},"holder_count":0,"liquidity_usd":null,"token_address":"0x1234567890123456789012345678901234567890","response_time_ms":308,"top10_concentration":0}},"exampleRequest":{"chain":"base","token_address":"0x1234567890123456789012345678901234567890"},"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7UjsnN3pTZfa3dvFqLnR3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a composite rug pull risk score for a token by combining contract risk, holder concentration, honeypot detection, deployer history, and GoPlus intelligence","exampleAgentPrompt":"Can you run a full rug pull risk check on this token — contract address 0xabc123...def on Ethereum — and tell me the composite score along with whether it's a honeypot and how concentrated the holders are?","exampleUseCases":null,"resultDescription":"A composite rug pull risk score (0–100 or similar scale) plus individual sub-scores covering contract risk, holder concentration, honeypot detection, deployer history, and GoPlus intelligence signals — allowing the agent to assess whether a token is likely fraudulent or safe.","failureModes":["Invalid or unrecognized contract address returns an error or null score","Unsupported blockchain network returns a 400 or unsupported error","GoPlus API unavailable causes partial or degraded scores","Token too new or too low liquidity may result in incomplete intelligence data","Payment failure (x402) blocks request before analysis begins"],"whenToPreferThis":"Use this endpoint when you need a single, aggregated rug pull risk verdict for a token before a trade or investment decision — especially when you want multiple risk dimensions (contract, honeypot, holder concentration, deployer) combined into one score rather than querying each signal separately. Prefer this over individual token or contract analysis endpoints when a holistic risk composite is needed quickly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:22.801Z","isFirstParty":false}