{"uid":"cap_O_zrTBSAFZqLR4cDkXeZo","slug":"x402-onchainexpat-com-e10d7aa6","name":"Token Safety Bundle — Unified Risk Score","description":"Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol","url":"https://x402.onchainexpat.com/api/x402-crypto/token-safety","method":"POST","headers":{},"bodySchema":{"type":"object","required":["address"],"properties":{"chain":{"type":"string","description":"Blockchain (default: base)"},"address":{"type":"string","description":"Token contract address (0x + 40 hex chars)"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","properties":{"chain":{"type":"string"},"flags":{"type":"array","description":"List of risk flags detected"},"address":{"type":"string"},"price_data":{"type":"object","description":"Price and market data (if available)"},"risk_level":{"type":"string","description":"Risk level: low, medium, high, critical"},"safety_score":{"type":"integer","description":"Unified safety score 0-100 (higher = safer)"},"recommendation":{"type":"string","description":"Actionable recommendation"},"token_metadata":{"type":"object","description":"Full token metadata with security analysis"},"holder_analysis":{"type":"object","description":"Holder concentration data (if available)"},"contract_analysis":{"type":"object","description":"AI contract analysis (if available)"},"sources_available":{"type":"object","description":"Which data sources returned successfully"}}},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.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":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x8Rxki2Wclev71kMOK_Wk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Aggregates risk signals from multiple sources to produce a unified token safety score for a given cryptocurrency token","exampleAgentPrompt":"Can you check the safety of the token at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — I want a unified risk score aggregated from multiple sources before I swap into it.","exampleUseCases":[{"title":"Evaluate token safety before portfolio purchase","prompt":"I'm thinking about buying this token for my portfolio — can you pull a unified risk score from multiple sources and let me know if there are any rug pull indicators or major red flags I should know about?"},{"title":"Assess smart contract legitimacy for DeFi protocol","prompt":"Before I interact with this new DeFi protocol, can you run a consolidated token safety check on their governance token? I need to know the aggregated risk level across different providers."},{"title":"Screen tokens for scam detection in trading bots","prompt":"I'm setting up automated token recommendations for my users — can you check the safety scores of these tokens from multiple data sources so I can filter out any detected scams or high-risk assets?"}],"resultDescription":"A unified token safety bundle that aggregates risk signals from multiple data sources into a single risk score, indicating how safe or risky a given token is. May include sub-scores or flags from individual risk providers, rug pull indicators, and an overall safety rating.","failureModes":["Token address not found or unsupported chain — returns error or empty result","Unsupported token format — malformed address returns validation error","Upstream risk source unavailable — partial or degraded score returned","Payment not confirmed — 402 payment required error if USDC payment not attached","Rate limiting or timeout from underlying data providers"],"whenToPreferThis":"Choose this endpoint when you need a consolidated, multi-source token safety score rather than relying on a single provider's opinion. Especially useful for DeFi agents evaluating token trustworthiness before executing swaps, purchasing tokens, or recommending assets to users. Prefer this over single-source token metadata endpoints when risk aggregation across providers is the priority.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:46:42.415Z","isFirstParty":false}