{"uid":"cap_Nw9GE6HJdqYewq67AgQB0","slug":"x402engine-token-price-lookup-82fd9816","name":"x402engine Token Price Lookup","description":"x402engine — Real-time DEX-derived token prices with OHLC data — up to 200 tokens per request","url":"https://x402engine.app/api/token/prices?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"type":"object","required":["tokens"],"properties":{"tokens":{"type":"array","items":{"type":"object","required":["chain","token_address"],"properties":{"chain":{"type":"string","example":"ethereum"},"token_address":{"type":"string","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}},"additionalProperties":false},"example":[{"chain":"ethereum","token_address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}],"minItems":1,"description":"Array of token objects with chain and token_address"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wFj_rjGhh-Bn0v0LP4XJI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches current USD prices for one or more on-chain tokens by specifying their chain and contract address","exampleAgentPrompt":"What's the current price of USDC on Ethereum — the contract is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?","exampleUseCases":[{"title":"DeFi portfolio valuation","prompt":"I need the current prices for these two tokens on Ethereum: USDC at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and USDT at 0xdAC17F958D2ee523a2206206994597C13D831ec7 — can you fetch those for me?"},{"title":"Arbitrage opportunity check","prompt":"Quickly grab the price of the WETH token on Ethereum at 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 so I can compare it to the price on another exchange."},{"title":"Token price alert monitoring","prompt":"Look up the current price for the ARB token on Arbitrum at 0x912CE59144191C1204E64559FE8253a0e49E6548 — I want to know if it's above $1."}],"resultDescription":"Returns current price data for each requested token, including the USD price and potentially additional metadata for each chain/token_address pair submitted in the request array.","failureModes":["Invalid or unrecognized chain name returns an error","Unknown or incorrect token_address returns no price data or an error","Empty tokens array rejected due to minItems:1 constraint","Network or upstream price feed unavailability causes timeout or 5xx error","Payment failure via HTTP 402 if USDC/USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need programmatic, pay-per-call on-chain token price lookups without a long-term API subscription — especially useful for AI agents that need real-time token prices across multiple chains (Ethereum, Base, Solana, MegaETH) and want to pay per query in USDC via the x402 micropayment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:35:58.447Z","isFirstParty":false,"canonicalSlug":"x402engine-token-price-lookup-82fd9816"}