{"uid":"cap_kwByJMwfOjxXawAPPQWj_","slug":"base-onchain-spot-price-oracle-17dc9af3","name":"Base Onchain Spot Price Oracle","description":"Self-computed Base onchain toolkit for AI agents: ERC-20 safety scan, manipulation-resistant TWAP price oracle, gas/fee oracle, calldata decoder, token/address/contract intel, wallet approval-risk audit, and batch token triage — all computed live from raw Base chain, no third-party data.","url":"https://x402-data-api.bodhinindustries.workers.dev/spot","method":"GET","headers":{},"bodySchema":{"type":"object","required":["tokens"],"properties":{"tokens":{"type":"string","description":"Comma-separated up to 15 Base token addresses; use 'eth' for native ETH."}}},"responseSchema":{"type":"object","properties":{"block":{"type":"integer","description":"Base block height"},"count":{"type":"integer","description":"tokens processed"},"prices":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string","description":"address or 'native'"},"priced":{"type":"boolean","description":"could be priced"},"source":{"type":"string","description":"quoter_v2 | quoter_v2_weth_hop | stablecoin_ref | no_pool"},"symbol":{"type":"string","description":"symbol"},"feeTier":{"type":"integer","description":"fee tier used (or null)"},"priceUsd":{"type":"number","description":"USD per token (or null)"}}}},"computedAt":{"type":"string","description":"ISO-8601 timestamp"},"ethPriceUsd":{"type":"number","description":"shared ETH/USD"},"pricedCount":{"type":"integer","description":"priced"},"thirdPartyDataUsed":{"type":"boolean","description":"always false"}}},"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":"unknown","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_fuAFVzHhJxpUZuoE7Rkcv","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":"Returns live USD spot prices for up to 15 Base chain tokens, computed directly from on-chain Uniswap V3 quoters with no third-party data dependencies.","exampleAgentPrompt":"Can you get me the current on-chain USD spot prices for these Base tokens directly from the blockchain — 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, 0x4200000000000000000000000000000000000006, and eth — using Uniswap V3 quoters, no third-party data?","exampleUseCases":null,"resultDescription":"A JSON object containing the Base block height at query time, an ISO-8601 timestamp, the shared ETH/USD price, and an array of per-token results each with the token address, USD price, symbol, fee tier used, and the pricing method (quoter_v2, quoter_v2_weth_hop, stablecoin_ref, or no_pool). Also includes total tokens processed and count of successfully priced tokens, with thirdPartyDataUsed always false.","failureModes":["Token address not found on Base — priced:false and source:no_pool returned","More than 15 tokens supplied — request may be rejected or truncated","Invalid address format — may return an error or unpriced result","Token has no Uniswap V3 pool — no price available, source set to no_pool","Payment not provided or insufficient — x402 payment required error","Network congestion on Base causing delayed block data"],"whenToPreferThis":"Choose this endpoint when you need manipulation-resistant, on-chain computed USD prices for Base tokens with no reliance on third-party price feeds or off-chain oracles. Ideal for DeFi agents, risk auditors, or any workflow where trustless price sourcing from raw Base chain state is required. Prefer over centralized price APIs when verifiability and independence from third-party data matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:46.207Z","isFirstParty":false}