{"uid":"cap_DghCe8gb7tsUH9vtv9FUK","slug":"base-erc-20-token-preflight-check-1a9843fa","name":"Base ERC-20 Token Preflight Check","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/token-preflight","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":["token"],"properties":{"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Base ERC-20 token contract to inspect."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"base-token-preflight","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.075","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.075/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.075","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.075","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VkgDcFFRIY9B-40scUN6v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.075","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects a Base network ERC-20 token contract address and returns a safety assessment including risk score, risk level, and flags covering identity, activity, provenance, and product metadata.","exampleAgentPrompt":"Before I swap into it, run a preflight safety check on the Base token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — I want to know the risk score, risk level, and any flags.","exampleUseCases":null,"resultDescription":"A JSON object containing the network identifier (eip155:8453), a product label, and an assessment object with a risk_score (numeric), risk_level (e.g. 'low'), and a flags array listing any detected issues, plus optional identity, activity, and provenance sub-objects about the token contract.","failureModes":["Invalid or non-ERC-20 contract address returns an error or empty assessment","Token address not found on Base mainnet returns null or unknown risk data","Malformed 0x address that fails the regex pattern returns a 400-style validation error","Timeout or upstream data provider unavailability returns a service error","Contract with no on-chain history may return sparse assessment with no flags"],"whenToPreferThis":"Use this endpoint when an AI agent needs to vet a specific Base network ERC-20 token contract before executing a swap, approval, or transfer — especially when the token is unfamiliar or user-provided. Prefer this over generic blockchain explorers when you need a machine-readable, structured risk score and flags rather than raw on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:45:22.295Z","isFirstParty":false}