{"uid":"cap_2EWEGlL2cBk387TlQ8Dkv","slug":"base-intel-api-token-safety-check-e7e82b3b","name":"Base Intel API — Token Safety Check","description":"One-call ALLOW, WARN, or BLOCK trade-risk decisions for Base agents, combining contract safety with live DEX liquidity and activity. Paid per result in USDC over x402.","url":"https://base-intel-api.jakemaxsigal.workers.dev/token/check?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","description":"The Base token contract address to check, e.g. 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913."}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"name":{"type":"string"},"note":{"type":"string"},"flags":{"type":"array","items":{"type":"string"}},"grade":{"type":"string"},"symbol":{"type":"string"},"address":{"type":"string"},"decimals":{"type":"number"},"riskLevel":{"type":"string"},"timestamp":{"type":"string"},"isContract":{"type":"boolean"},"safetyScore":{"type":"number"},"totalSupply":{"type":"string"},"isUpgradeableProxy":{"type":"boolean"},"ownershipRenounced":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"name":"USD Coin","note":"Heuristic on-chain safety signals, not financial advice.","flags":["Upgradeable proxy — the owner can change the token's code after launch."],"grade":"C","symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6,"riskLevel":"medium","timestamp":"2026-06-05T00:00:00.000Z","isContract":true,"safetyScore":55,"totalSupply":"1000000000.0","isUpgradeableProxy":true,"ownershipRenounced":false}},"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_6XDGGyDaKlIUcAHYxFoRv","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 an ALLOW/WARN/BLOCK risk decision for a Base network token contract, combining on-chain safety signals, DEX liquidity data, and activity heuristics into a single graded response.","exampleAgentPrompt":"Before swapping into this token, run a safety check on Base contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and tell me whether it's safe to trade — I want the risk level, safety score, and any red flags like upgradeable proxies or unrenounced ownership.","exampleUseCases":[{"title":"Rug-check before memecoin buy","prompt":"I'm about to ape into this new Base memecoin at 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed — can you run a safety check on the contract first and tell me if it's an ALLOW, WARN, or BLOCK, and what the main risk flags are?"},{"title":"Autonomous agent trade preflight","prompt":"Before my DeFi bot executes this swap on Base, check the token contract at 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb for safety — I need a pass/fail decision along with the safety score and any contract red flags so the agent can decide whether to proceed."},{"title":"Portfolio token audit","prompt":"I hold a few tokens on Base and I'm not sure they're all legit — can you check the contract 0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22 and give me a risk grade, safety score, and any warnings like unrenounced ownership or upgradeable proxies?"}],"resultDescription":"A JSON object containing the token's name, symbol, decimals, total supply, contract address, a numeric safety score (0–100), a letter grade (e.g. A–F), a risk level string (low/medium/high), a list of human-readable risk flags (e.g. 'Upgradeable proxy'), boolean fields for isContract, isUpgradeableProxy, and ownershipRenounced, a timestamp, and a disclaimer note. Paid per call via x402 at $0.01 USDC.","failureModes":["Invalid or non-existent contract address returns an error or empty result","Non-Base chain addresses may be misidentified or return no data","Upgradeable proxies may receive a lower safety score even if the token is legitimate (e.g. USDC)","Rate limiting or payment failure via x402 may block the request","On-chain data lag may cause stale results for very recently deployed contracts","Network timeouts from DEX liquidity lookups may delay or fail the response"],"whenToPreferThis":"Use this endpoint when an AI agent or DeFi bot needs a single-call, structured risk verdict before executing a token swap or DeFi interaction on Base. It is ideal when you want a combined signal — contract safety, upgradeability, ownership, and DEX liquidity — rather than querying separate data sources. Prefer this over general blockchain explorers when you need a machine-readable ALLOW/WARN/BLOCK style decision at low cost ($0.01 USDC per call) without building your own risk heuristics. Best suited for autonomous agents, trading bots, and portfolio screeners operating on the Base L2 network specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-09T18:46:57.953Z","isFirstParty":false,"canonicalSlug":"base-intel-api-token-safety-check-e7e82b3b"}