{"uid":"cap_-q3kEfyAKTioMKNtV4WzF","slug":"token-risk-comparison-api-5cd25eb4","name":"Token Risk Comparison API","description":"Invoice-to-JSON, on-chain tools (transaction explainer + payment check, wallet profile, contract ABI, ERC-20 token risk), company contacts and web-to-RAG for AI agents. Pay per call with x402 (USDC on Base). No signup, no API key.","url":"https://freetier-agent-api.pages.dev/api/token-compare?utm_source=zero.xyz","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"},"queryParams":{"type":"object","required":["a","b"],"properties":{"a":{"type":"string","description":"first token address"},"b":{"type":"string","description":"second token address"},"chain":{"enum":["base","ethereum"],"type":"string","description":"default base"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"a":{"symbol":"DEGEN","riskScore":16},"b":{"symbol":"BRETT","riskScore":8},"reason":"Lower risk score: 8 vs 16.","lowerRisk":"b","flagsOnlyInA":["mintable"],"flagsOnlyInB":["whitelist"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0075","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.0075/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0075","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0075","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cRi5_0188HvNfG_RKMFua","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0075","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two ERC-20 tokens side by side on risk score, flags, taxes, holders, liquidity, and volume, returning an AI verdict on which is lower risk and why.","exampleAgentPrompt":"Compare the risk scores of these two Base tokens side by side — 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed and 0x532f27101965dd16442E59d40670FaF5eBB142E4 — and tell me which one is safer to hold and what flags only one of them has.","exampleUseCases":[{"title":"Pre-trade token safety check","prompt":"Before I swap into either of these Ethereum tokens, compare their risk scores: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and 0x6B175474E89094C44Da98b954EedeAC495271d0F — which one has lower risk and does either have honeypot or mintable flags?"},{"title":"DeFi portfolio risk screening","prompt":"I'm deciding between two Base meme coins — 0x4200000000000000000000000000000000000006 and 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — can you compare their security flags, liquidity, and risk scores and give me a verdict on which is the safer bet?"},{"title":"Suspicious token flag investigation","prompt":"Someone just sent me two token addresses on Base claiming both are safe — 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA and 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb — compare their GoPlus security flags and tell me if either one has whitelist or tax flags the other doesn't."}],"resultDescription":"A JSON object with each token's symbol and numeric risk score, which token has the lower risk score, an array of flags present only in token A and only in token B, and a short rule-based AI verdict explaining the risk difference in plain language.","failureModes":["Invalid or non-ERC-20 contract address returns an error or empty data","Token not found on DexScreener results in missing liquidity/volume fields","Unsupported chain value returns a validation error","GoPlus API rate limit or downtime causes partial or failed data","Very new or low-liquidity tokens may have incomplete holder or LP lock data"],"whenToPreferThis":"Choose this endpoint when you need a quick, structured side-by-side risk comparison of two specific ERC-20 tokens on Base or Ethereum, combining on-chain security flags (honeypot simulation, mintability, taxes) with market data (liquidity, volume) in a single call. Prefer it over raw GoPlus or DexScreener calls when you want a unified risk score and an opinionated verdict without writing custom aggregation logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:48:47.405Z","isFirstParty":false,"canonicalSlug":"token-risk-comparison-api-5cd25eb4"}