{"uid":"cap_CZOHzQVaeRRI4iOmHorx_","slug":"xx402-base-token-trade-safety-api-a0240d5e","name":"xx402 Base Token Trade Safety API","description":"Paid Base token, wallet, DeFi, chain-read, x402 buyer/seller discovery, and specialized Bitcoin 15-minute Up/Down prediction-market data packets for autonomous agents and risk tools.","url":"https://x402.xx402.icu/api/base-token-trade-safety?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"keys":["summary","purchase_acceptance","buyer_next_action","next_paid_call","decision_evidence","repeat_purchase_guard","trade_safety_decision","trade_verdict","go_no_go_checklist","route_execution_plan","buyer_execution_plan","execution_guardrails","route_size_decision","priority_queue","best_next_products","risk_breakdown","review_queue","avoid_queue","recommendation","token","top_pair","liquidity","flow","holder_sketch","contract_controls","bucket_counts","risk_flags","risk","source_status","not_financial_advice","sources"],"type":"json"},"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":"down","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_ezPMaLSR_A9Po8is4pQ-M","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":"Analyzes an ERC20 token on Base chain for trade safety, providing risk scores, liquidity checks, flow analysis, contract controls, and sizing guidance for autonomous agents.","exampleAgentPrompt":"Check the trade safety of this Base token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — I'm planning to swap about $5000 USD into it, scan the last 500 blocks and give me a go/no-go with the full risk breakdown.","exampleUseCases":[{"title":"Pre-swap rug pull check","prompt":"Before I swap $2000 into this Base token at 0x4200000000000000000000000000000000000006, can you check if it's safe — look at liquidity, contract controls, and whether holders look suspicious over the last 200 blocks?"},{"title":"Autonomous DeFi agent risk gate","prompt":"I need a trade safety verdict on the Base ERC20 at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 for a $50000 trade — flag any avoid or review signals and tell me the recommended route sizing."},{"title":"Token risk monitoring for new listings","prompt":"A new token just launched on Base at 0xabc1230000000000000000000000000000000000 — run a full safety check over the last 100 blocks with a sample size of 8 and tell me if it's safe to touch."}],"resultDescription":"Returns a structured JSON with a trade_safety_decision (allow/review/avoid), trade_verdict, go_no_go_checklist, risk_breakdown with individual risk flags, liquidity metrics, token and pair metadata, holder sketch, contract controls, flow analysis, route_size_decision for the given trade USD amount, execution guardrails, and recommended next steps. Also includes source status and a not_financial_advice disclaimer.","failureModes":["Invalid token address format (not a valid 0x ERC20 address) returns validation error","Token address not found on Base chain returns empty or error state","window_blocks out of range (below 100 or above 1000) returns parameter error","Payment not fulfilled (x402 micropayment required at $0.01 USDC) returns 402 response","Rate limiting or RPC node unavailability may cause timeout or partial data","intended_trade_usd exceeding $10,000,000 maximum returns parameter validation error"],"whenToPreferThis":"Use this endpoint when an autonomous agent or risk tool needs a comprehensive, on-chain trade safety analysis for a specific Base ERC20 token before executing a swap or DeFi transaction. It is specifically designed for Base chain tokens and provides a structured allow/review/avoid decision with supporting evidence, making it ideal for pre-trade gating in DeFi agent workflows. Prefer it over generic block explorers or price APIs when you need actionable risk decisions, liquidity depth checks, contract control red flags, and route sizing guidance in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T22:28:54.240Z","isFirstParty":false,"canonicalSlug":"xx402-base-token-trade-safety-api-a0240d5e"}