{"uid":"cap_8eZ6oNr4Kk8feW_aC7j4-","slug":"x402-token-safety-check-03ed4177","name":"x402 Token Safety Check","description":"USDC pay-per-call APIs for AI agents via the x402 protocol (v2, exact, Base mainnet). Send a request, receive HTTP 402 with payment requirements, pay with @x402/fetch or any x402 client, retry with the PAYMENT-SIGNATURE header.","url":"https://call402.com/api/token-safety?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","description":"Chain name base, ethereum or bsc (chainId 8453, 1 or 56 also accepted). Optional, default base"},"address":{"type":"string","description":"Token contract address, required (0x + 40 hex chars)"}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["chain","address","token","honeypot","liquidity_usd","pair_age_days","price_usd","owner","flags","risk_level","sources","elapsed_ms"],"properties":{"chain":{"type":"string"},"flags":{"type":"array","items":{"type":"string"}},"owner":{"type":["string","null"]},"token":{"type":"object"},"address":{"type":"string"},"sources":{"type":"array","items":{"type":"string"}},"honeypot":{"type":["object","null"]},"price_usd":{"type":["number","null"]},"elapsed_ms":{"type":"integer"},"risk_level":{"type":"string"},"liquidity_usd":{"type":["number","null"]},"pair_age_days":{"type":["number","null"]}}},"example":{"chain":"base","flags":[],"owner":"0x0000000000000000000000000000000000000000","token":{"name":"USD Coin","symbol":"USDC","decimals":6,"total_supply":"10000000000000000"},"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","sources":["honeypot.is","dexscreener","rpc"],"honeypot":{"buy_tax":0,"sell_tax":0,"is_honeypot":false},"price_usd":1,"elapsed_ms":900,"risk_level":"low","liquidity_usd":5410289.37,"pair_age_days":700}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z27vXrMpZDNn20_1ARZtm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a token contract address for honeypot risk, liquidity, ownership, and overall safety flags on Base, Ethereum, or BSC.","exampleAgentPrompt":"Can you check if the token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base is safe to trade — I want to know if it's a honeypot, what the liquidity looks like, and what the overall risk level is?","exampleUseCases":[{"title":"Pre-trade honeypot check","prompt":"Before I buy this token at 0x4200000000000000000000000000000000000006 on Base, can you tell me if it's a honeypot, what the buy and sell taxes are, and what risk level it has?"},{"title":"New token due diligence","prompt":"I found a new token on BSC at 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c — can you check how old the liquidity pair is, how much liquidity it has in USD, and whether the contract has any red flags?"},{"title":"Rug pull risk assessment","prompt":"Someone just sent me a contract address 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 on Ethereum — can you run a safety check on it and tell me who owns the contract and whether there are any danger flags I should know about?"}],"resultDescription":"Returns a JSON object with the token's name, symbol, decimals, and total supply; honeypot verdict with buy/sell tax percentages; USD price; USD liquidity; pair age in days; contract owner address; a list of risk flags; an overall risk_level string (e.g. 'low', 'medium', 'high'); the data sources consulted (e.g. honeypot.is, dexscreener, rpc); and elapsed processing time in milliseconds.","failureModes":["Invalid or malformed contract address returns a validation error","Unsupported chain name or chain ID returns an error","Token not yet indexed by any data source may return null liquidity or price fields","Very new tokens with no pair data may have null pair_age_days","Payment not provided or invalid PAYMENT-SIGNATURE header returns HTTP 402 with payment requirements"],"whenToPreferThis":"Use this endpoint when an AI agent needs to quickly assess whether a token contract is safe before executing a trade or recommending it to a user. It is especially valuable for DeFi workflows where honeypot detection, sell-tax verification, liquidity depth, and owner renouncement status all need to be checked in a single call. Prefer this over general blockchain explorers when you need a structured risk verdict rather than raw on-chain data, and when you need coverage across Base, Ethereum, and BSC in one unified API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:42:08.144Z","isFirstParty":false,"canonicalSlug":"x402-token-safety-check-03ed4177"}