{"uid":"cap_91LnFKIr5brOhsv7V9pnN","slug":"chainray-token-price-lookup-20289bae","name":"ChainRay Token Price Lookup","description":"The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.","url":"https://chainray.online/price/%7Btoken%7D","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["token"],"properties":{"chain":{"type":"string","description":"Blockchain network"},"token":{"type":"string","description":"Token symbol or contract address"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"chain":"ethereum","token":"USDC"}}},"response":{"chain":"ethereum","token":"USDC","_proof":{"chain":"ethereum","dataHash":"7c8ab42cd6158f9c7a135af00b7b891467ad524cca1d16b4af15e507f6504fad","blockHash":"0xc0d4981c8666e32f22fe5e22382983b4b2b84ca612fffcb7989a51e0214e9cfd","chainName":"Ethereum","blockNumber":25342602,"proofVersion":"3.0","blockTimestamp":1781763455,"proofTimestamp":1781763457053},"source":"CoinGecko","sources":["CoinGecko"],"priceUsd":0.999777,"marketCap":"$74.69B","timestamp":1781763456956,"volume24h":"$14.08B","confidence":"medium","marketCapUsd":74685062358.58807,"volume24hUsd":14076228664.162157,"priceChange24h":"0.01%"}},"exampleRequest":{"chain":"ethereum","token":"USDC"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PLFqQ6gIErexKQGcLFsUH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the current price of a specified token on a given blockchain network","exampleAgentPrompt":"What's the current price of ETH on Ethereum mainnet? Use ChainRay to pull the live on-chain price.","exampleUseCases":null,"resultDescription":"Returns the current price of the requested token on the specified blockchain network, sourced from on-chain data.","failureModes":["Token symbol not recognized or unsupported — returns 404 or error object","Chain parameter specifies an unsupported blockchain — returns error","Contract address is invalid or malformed — returns validation error","Token exists but has no price feed available — returns null or empty response","Payment not completed (x402) — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a real-time, on-chain token price for a specific token symbol or contract address on a particular blockchain. Prefer this over off-chain price APIs when verifiability and on-chain accuracy matter, or when querying tokens on less common chains among the 46 supported.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-08T18:52:16.888Z","isFirstParty":false}