{"uid":"cap_KArK4HtCuAUzQFVRBNTor","slug":"token-risk-preflight-token-safety-check-2aeffe04","name":"Token Risk Preflight / Token Safety Check","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/token-preflight?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":["address"],"properties":{"address":{"type":"string"},"network":{"enum":["base","ethereum"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"This is a heuristic preflight. Missing data is reported as missing, not as safe.","flags":[],"owner":"0x0000000000000000000000000000000000000000","token":{"name":"USD Coin","symbol":"USDC","decimals":6,"total_supply":1000000,"total_supply_raw":1000000000000},"checks":[{"ok":true,"check":"is_contract","detail":"1852 bytes of bytecode"},{"ok":true,"check":"proxy","detail":"no EIP-1967 implementation slot"}],"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","product":"scanpay.token_preflight","chain_id":"eip155:8453","is_proxy":false,"price_usd":0.005,"risk_band":"high","disclaimer":"On-chain observations only: not an audit, not a safety guarantee, no off-chain holder or trade analysis. Re-check before acting.","risk_score":85,"bytecode_size":1852,"implementation":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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_nrPA_UpsyRxHDknilpolV","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":"Returns a deterministic on-chain risk score and safety flags for a Base or Ethereum ERC-20 token, covering contract shape, proxy detection, ownership, liquidity, and mint/blacklist heuristics.","exampleAgentPrompt":"Can you run a token safety preflight on the contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base and tell me the risk score, whether it has mint or blacklist functions, if the owner has been renounced, and what the Uniswap liquidity situation looks like?","exampleUseCases":[{"title":"Pre-swap DeFi token vetting","prompt":"Before I swap any ETH for this new token at 0xAbCd1234... on Ethereum mainnet, can you run a risk preflight on it and tell me the risk score, whether it's a proxy contract, and if there are any mint or blacklist red flags?"},{"title":"Rug pull detection for a Base memecoin","prompt":"I saw this Base token 0x4200000000000000000000000000000000000006 being promoted on Telegram — can you check its on-chain risk score, whether the owner address has been renounced, and if there's any real Uniswap liquidity backing it?"},{"title":"Automated token screening in a trading bot","prompt":"Screen the token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base for me: I need the full preflight — risk band, ERC-20 metadata, proxy status, and any dangerous selector heuristics — so I can decide whether to include it in my watchlist."}],"resultDescription":"Returns a JSON object including: a numeric risk_score (0–100) and risk_band label, ERC-20 token name/symbol/decimals/total_supply, owner address, is_proxy flag and EIP-1967 implementation slot value, bytecode_size, an array of named check results (each with ok boolean and detail string), detected flags for dangerous selectors (mint, blacklist, etc.), Uniswap V2/V3 liquidity observations, and a disclaimer note reminding the caller this is heuristic on-chain analysis only.","failureModes":["Address is an EOA (not a contract) — check returns is_contract: false with no further analysis","Invalid or malformed contract address returns a 4xx error","Unsupported network or chain ID returns an error","Contract bytecode is too large or unusual to decode — partial results with missing fields reported explicitly","Uniswap pool data unavailable — liquidity fields reported as missing rather than safe","Payment not included or insufficient — 402 Payment Required response per x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, on-chain-only risk assessment of an ERC-20 token before a swap, investment, or listing decision — especially on Base or Ethereum. It is ideal for automated agent pipelines that need a structured risk score and flag set without relying on off-chain data providers or third-party audit services. Prefer it over full audit services when speed and cost matter and when on-chain heuristics (proxy detection, ownership, liquidity, dangerous selectors) are sufficient signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:38:13.670Z","isFirstParty":false,"canonicalSlug":"token-risk-preflight-token-safety-check-2aeffe04"}