{"uid":"cap_Uxc1VE7NI00C3NvQoHnta","slug":"chainray-stream-price-f7bc26b5","name":"ChainRay Stream Price","description":"ChainRay /stream/price","url":"https://chainray.online/stream/price/:var1","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","properties":{"chain":{"type":"string","description":"Blockchain network (e.g., base, ethereum, polygon)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3xXvyuMItJc0XPZ_KHPiB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Streams or fetches the current spot price for a token or asset on a specified blockchain network","exampleAgentPrompt":"What's the current spot price of ETH on the Base network right now?","exampleUseCases":[{"title":"DeFi portfolio value tracker","prompt":"Can you check the current prices of USDC, DAI, and WETH on Polygon so I can see what my positions are worth?"},{"title":"Real-time arbitrage opportunity detector","prompt":"Stream me the live price of USDC on both Base and Ethereum networks - I want to spot any price differences between them instantly."},{"title":"Smart contract deployment price verification","prompt":"Before I deploy my token swap contract, what's the exact spot price of USDT on Base right now so I can set my slippage parameters correctly?"}],"resultDescription":"Returns the current spot price of the specified token or asset on the requested blockchain network, likely as a numeric price value with currency denomination and possibly timestamp metadata.","failureModes":["Unknown or unsupported token identifier returns 404 or error","Unsupported chain parameter returns an error or empty result","Network connectivity issues to the specified blockchain may cause delays or failures","Payment of 0.02 USDC not received results in 402 Payment Required","Invalid path parameter format returns 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need real-time or near-real-time on-chain price data for a token on a specific blockchain network, especially Base, Ethereum, or Polygon. Prefer over general crypto price APIs when you need on-chain sourced prices rather than exchange-aggregated prices, or when operating in a web3/DeFi context where chain-specific pricing matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:39.040Z","isFirstParty":false}