{"uid":"cap_9vRVQI3LuNLlt80krqY1n","slug":"hostdefi-token-risk-grade-api-44cdbe0d","name":"HostDeFi Token Risk Grade API","description":"HostDeFi is a non-custodial Solana DEX. Best-route swaps through Jupiter, EVM trading across 7 chains, native bridging, and live token risk grades. No KYC, no accounts, no custody.","url":"https://hostdefi.com/api/v1/x402/token-risk/%7Bchain%7D/%7Baddress%7D","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["chain","address"],"properties":{"chain":{"type":"string","description":"Chain id: solana, ethereum, bsc, base, arbitrum, optimism, polygon, avalanche"},"address":{"type":"string","description":"Token contract address (base58 mint on Solana, 0x… on EVM)"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"meta":{"plan":"x402"},"risk":{"grade":"B","score":78,"verdict":"…"},"token":{"chain":"solana","symbol":"BONK"},"signals":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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_OEUVpAwdBJcmb09_1EyTM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a letter-grade risk assessment and risk score for a token by contract address across Solana and EVM chains","exampleAgentPrompt":"Can you check the risk grade for the BONK token on Solana — the mint address is DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 — and tell me if it's safe to swap?","exampleUseCases":[{"title":"Pre-swap token safety check","prompt":"Before I swap into this token, can you check its risk grade? It's on Base chain at address 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed — I want to know the letter grade and whether it looks safe."},{"title":"Rug pull screening for new Solana launch","prompt":"I'm looking at a new token on Solana with mint address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v — can you pull its risk score and tell me if there are any red flags?"},{"title":"Multi-chain portfolio risk audit","prompt":"Can you check the risk grade for this Polygon token at address 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 and let me know the risk verdict so I can decide whether to hold it?"}],"resultDescription":"A JSON object containing: an overall letter risk grade (e.g. A, B, C), a numeric risk score (0-100), a human-readable verdict string, the token's chain and symbol, and a signals object with specific risk indicators that contributed to the grade.","failureModes":["Invalid or unrecognized chain ID returns an error","Malformed contract address (wrong format for chain type) returns validation error","Token contract not found on specified chain returns not-found error","Payment failure (x402 micropayment not processed) returns 402 Payment Required","Rate limiting or network issues may return 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a quick, structured risk grade for a specific token before executing a swap or making an investment decision across Solana or EVM chains. It is particularly useful for agents that need a single authoritative risk signal (letter grade + score) rather than raw on-chain data, and works across 8 chains including Solana, Ethereum, Base, Arbitrum, Optimism, BSC, Polygon, and Avalanche. Prefer this over manual on-chain analysis when you need a fast, actionable risk verdict at low cost ($0.01 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-09T18:30:01.926Z","isFirstParty":false}