{"uid":"cap_3x_rSMifC3g3GW3qo4R79","slug":"base-intel-api-transaction-preflight-74ef75dc","name":"Base Intel API — Transaction Preflight","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/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":["token"],"properties":{"token":{"type":"string","description":"Base token contract address to screen."},"wallet":{"type":"string","description":"Optional Base wallet address for informational context."}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"score":{"type":"number"},"token":{"type":"object","properties":{"flags":{"type":"array","items":{}},"grade":{"type":"string"},"symbol":{"type":"string"},"address":{"type":"string"},"safetyScore":{"type":"number"}}},"market":{"type":"object","properties":{"pairCount":{"type":"number"},"maxLiquidityUsd":{"type":"number"},"totalVolume24hUsd":{"type":"number"}}},"reasons":{"type":"array","items":{"type":"string"}},"decision":{"type":"string"},"riskLevel":{"type":"string"},"methodology":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"score":68,"token":{"flags":[],"grade":"C","symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","safetyScore":55},"market":{"pairCount":12,"maxLiquidityUsd":5000000,"totalVolume24hUsd":1200000},"reasons":["Contract is upgradeable and can change after this check.","At least one Base liquidity pool exceeds $100,000."],"decision":"WARN","riskLevel":"medium","methodology":"Contract heuristics plus live Base DEX liquidity and 24-hour activity."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YxXcmHljo4lzLGuwFz4v_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","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, or BLOCK trade-risk decision for a Base token by combining on-chain contract safety analysis with live DEX liquidity and 24-hour activity data.","exampleAgentPrompt":"Before my agent swaps into this token, can you run a preflight risk check on Base contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and tell me if it's an ALLOW, WARN, or BLOCK?","exampleUseCases":[{"title":"Autonomous agent trade guard","prompt":"My trading bot is about to buy token 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base — can you run a preflight check and block the trade if it comes back as high risk?"},{"title":"New memecoin rug check","prompt":"I found a new token on Base at address 0xABC123... — can you screen it for rug-pull flags, check its DEX liquidity, and give me a safety grade before I put any money in?"},{"title":"DeFi wallet risk review","prompt":"My wallet 0xWallet123... is about to interact with a Base token at 0xDEF456... — run a preflight on that token contract and tell me the risk level and any red flags I should know about."}],"resultDescription":"A JSON object containing: a top-level decision field (ALLOW, WARN, or BLOCK), a numeric risk score (0–100), a riskLevel string (low/medium/high), a token object with address, symbol, grade (A–F), safetyScore, and flags array, a market object with pairCount, maxLiquidityUsd, and totalVolume24hUsd, a reasons array explaining the decision, and a methodology description.","failureModes":["Missing or invalid token address returns an error — token query param is required","Unrecognized or non-Base contract address may return limited data or error","Payment not completed via x402 returns 402 Payment Required","Rate limiting or downstream DEX data unavailability may cause transient failures","Very new tokens with no DEX history may have incomplete market data"],"whenToPreferThis":"Choose this endpoint when an AI agent or autonomous trading bot needs a single-call, structured go/no-go decision before executing a token swap or DeFi interaction on Base. It is purpose-built for Base L2 and combines contract heuristics with live DEX liquidity in one response, making it faster and more actionable than assembling raw on-chain data yourself. Prefer it over generic blockchain APIs when you need an opinionated ALLOW/WARN/BLOCK verdict with human-readable reasons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-09T18:44:22.092Z","isFirstParty":false,"canonicalSlug":"base-intel-api-transaction-preflight-74ef75dc"}