{"uid":"cap_5mbYVr6xekkCfGyqNotnM","slug":"xx402-base-token-pre-trade-risk-assessment-api-c612ae95","name":"xx402 Base Token Pre-Trade Risk Assessment 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-pretrade-risk?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_eXUwfq0fWYMtUun83NeY0","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 a Base network ERC20 token's on-chain risk, liquidity, flow, and holder data to produce a pre-trade go/no-go safety decision for autonomous agents.","exampleAgentPrompt":"Before I swap $10,000 into the USDC token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base, run a pre-trade risk check over the last 200 blocks with a sample size of 5 and tell me if I should go ahead, review, or avoid the trade.","exampleUseCases":[{"title":"DeFi swap safety gate","prompt":"I'm about to route $25,000 into a token at 0x4200000000000000000000000000000000000006 on Base — can you run a pre-trade risk scan over 300 blocks with sample size 6 and tell me whether the trade is safe to execute or if I should hold off?"},{"title":"Automated trading bot pre-flight check","prompt":"Before my trading bot executes a $500 buy on the Base token at 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA, check its liquidity, holder concentration, and contract controls over the last 100 blocks and give me a go/no-go decision."},{"title":"Risk dashboard token screening","prompt":"Pull the on-chain risk breakdown for Base token 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb — I want to see the risk flags, top pair liquidity, and flow data for my risk monitoring dashboard, using a 500-block window and sample size of 4."}],"resultDescription":"Returns a structured JSON object containing a trade safety decision (allow/review/avoid), go/no-go checklist, route size guidance, risk breakdown with flags, liquidity metrics, token flow data, holder sketch, contract control analysis, and an execution plan with guardrails. Also includes priority queue, best next products, and a disclaimer noting the data is not financial advice.","failureModes":["Invalid token address format (must match ^0x[a-fA-F0-9]{40}$) — returns validation error","Token not found or not deployed on Base — may return empty or error response","window_blocks below minimum of 100 — rejected by schema validation","limit exceeds maximum of 8 — rejected by schema validation","intended_trade_usd exceeds $10,000,000 maximum — rejected","Payment not fulfilled (x402 protocol) — returns 402 Payment Required","Upstream on-chain RPC or data source unavailable — may return degraded or partial response"],"whenToPreferThis":"Choose this endpoint when you need a structured, agent-ready pre-trade risk assessment specifically for Base network ERC20 tokens, including liquidity depth, holder concentration, contract control flags, and a concrete allow/review/avoid sizing decision. It is purpose-built for autonomous trading agents and risk automation tools that require actionable go/no-go outputs rather than raw on-chain data. Prefer it over generic blockchain explorers or DEX APIs when you need a synthesized risk verdict with execution guardrails for a specific proposed trade size.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T16:28:24.224Z","isFirstParty":false,"canonicalSlug":"xx402-base-token-pre-trade-risk-assessment-api-c612ae95"}