{"uid":"cap_kQ78x7CPZqHrhj753feIo","slug":"x402-bazaar-token-risk-scorer-4e6ad2f5","name":"x402 Bazaar Token Risk Scorer","description":"Pass a token contract address and get a risk score + flags (ERC-20 conformance, ownership renounce, upgradeable proxy) computed live from Base. Built for trading bots and agents that vet tokens before buying. Paid via x402: $0.02 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.","url":"https://api.relai.fi/relay/1782567677091/api/x402/token-risk","method":"POST","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"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Token contract address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w_TC1Ym6T0FsIQsTJ9J--","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a Base-chain ERC-20 token contract address and returns a live risk score plus safety flags (ERC-20 conformance, ownership renounce, upgradeable proxy) for pre-trade vetting.","exampleAgentPrompt":"Before I buy, can you run a risk check on this Base token contract — 0xabc123...def — and tell me if it's ERC-20 compliant, whether ownership has been renounced, and if it uses an upgradeable proxy?","exampleUseCases":null,"resultDescription":"Returns a numeric risk score and a set of boolean safety flags: ERC-20 conformance, ownership renounce status, and whether the contract is an upgradeable proxy, all computed live from Base chain data.","failureModes":["402 Payment Required — must pay $0.02 USDC on Base (eip155:8453) to the specified address and retry","Invalid or non-existent contract address — returns error or empty flags","Non-Base chain contract address provided — may return incorrect or no results","Contract not yet indexed — live computation may time out or return partial data","Malformed request body — missing required contract address field"],"whenToPreferThis":"Use this endpoint when an AI trading agent or bot needs to programmatically vet an ERC-20 token on Base before executing a buy, specifically when you need structured risk signals (conformance, ownership, proxy) rather than a narrative analysis. Prefer over generic security APIs when operating on Base chain and when x402 micropayment flow is already supported in your agent stack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:50:37.095Z","isFirstParty":false}