{"uid":"cap_1LQGhMsAxyJhxyedTvPE8","slug":"pre-trade-token-risk-consensus-25905574","name":"Pre-Trade Token Risk Consensus","description":"Public static preview plus paid token controls, risk consensus, AI security, webhook reliability, developer security, schedule risk, decision analysis, API release compatibility, accounts-payable reconciliation, e-commerce return eligibility, SaaS subscription-proration, sales-commission reconciliation, parcel-charge reconciliation, SLA service-credit reconciliation, advertising spend-and-fee audit, contract-renewal audit, workforce timecard reconciliation, hotel booking-commission reconciliation, and warehouse cycle-count adjustment reconciliation products for autonomous agents.","url":"https://rooke-token-risk-pilot.rookepoole.workers.dev/v1/x402/token-risk-consensus?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["eip155:8453"],"type":"string"},"sources":{"type":"array","items":{"type":"object"},"maxItems":8,"minItems":2},"riskLimits":{"type":"object"},"tokenAddress":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"intendedTradeUsd":{"type":"number","exclusiveMinimum":0}}},"responseSchema":{"type":"json","example":{"verdict":"CAUTION","consensus":{},"riskFlags":["SOURCE_DISAGREEMENT_PRESENT"],"reportHash":"sha256-hex","evidenceGaps":[],"schemaVersion":"PRE_TRADE_TOKEN_RISK_CONSENSUS_V1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"9","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":"$9/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"9","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"9","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fgyhyT-QohRd0cvmqrTGJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"9","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Aggregates multi-source risk signals for a given ERC-20 token on Base and returns a consensus verdict before an autonomous agent executes a trade.","exampleAgentPrompt":"Before we swap $5,000 worth of token 0xAbC123...def456 on Base (chain eip155:8453), run a pre-trade risk consensus across at least 3 sources and flag it if any of them disagree — hard limit on high-risk tokens.","exampleUseCases":[{"title":"DeFi agent safety check before swap","prompt":"I'm about to have my trading agent buy $2,500 of token 0x1234567890abcdef1234567890abcdef12345678 on Base — can you pull a multi-source risk consensus first and stop the trade if the verdict comes back high-risk or sources disagree?"},{"title":"Portfolio rebalancer token vetting","prompt":"My rebalancer wants to add 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef to the portfolio for about $10,000 on eip155:8453 — get me a pre-trade risk report with at least 4 data sources before it proceeds, and show me any evidence gaps."},{"title":"Autonomous agent risk gate for new listings","prompt":"Before my agent snipes any newly listed token at 0xaaabbbcccdddeeefffaaabbbcccdddeeefffaaab on Base for up to $500, run a token risk consensus check against multiple sources and only give the go-ahead if the verdict is PASS with no source disagreements."}],"resultDescription":"Returns a JSON object with a top-level verdict (e.g. PASS, CAUTION, REJECT), a consensus object summarizing agreement across sources, an array of risk flags (e.g. SOURCE_DISAGREEMENT_PRESENT), a SHA-256 report hash for auditability, any evidence gaps, and a schema version identifier.","failureModes":["Fewer than 2 sources provided — request rejected with validation error","Token address does not match ^0x[0-9a-fA-F]{40}$ pattern — schema validation failure","Chain not eip155:8453 — unsupported chain error","Payment not fulfilled — 402 payment required response","Source APIs unavailable — evidence gaps populated, possibly inconclusive verdict","Trade size of 0 or negative — exclusiveMinimum validation failure"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a pre-trade safety gate that aggregates and reconciles multiple independent risk data sources into a single consensus verdict, specifically for ERC-20 tokens on Base (eip155:8453). Prefer it over single-source risk APIs when source disagreement detection is critical, or when you need an auditable, hash-stamped risk report that can be logged for compliance. It is especially valuable for high-value or unvetted token trades where a single data source could be compromised or stale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:33:48.791Z","isFirstParty":false,"canonicalSlug":"pre-trade-token-risk-consensus-25905574"}