{"uid":"cap_iboBE8T1BFVOS00L0_yB4","slug":"gateway-spraay-app-b53ac583","name":"Spraay Gateway Multi-Token Price Feed","description":"Multi-token price feed.","url":"https://gateway.spraay.app/api/v1/oracle/prices","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"},"queryParams":{"type":"object","properties":{"tokens":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"prices":{"type":"object"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"tokens":"ETH,SOL,USDC"}}},"response":{"meta":{"chain":"Base","source":"uniswap-v3-onchain","chainId":8453,"blockTime":"~2s","tokenCount":2,"quoteCurrency":"USD"},"prices":{"ETH":{"name":"Ether","symbol":"ETH","address":"0x4200000000000000000000000000000000000006","feeTier":500,"category":"major","decimals":18,"priceUSD":2008.570876,"confidence":"high"},"USDC":{"name":"USD Coin","symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","feeTier":0,"category":"stablecoin","decimals":6,"priceUSD":1,"confidence":"pegged"}},"_gateway":{"version":"2.2.0","endpoint":"GET /api/v1/oracle/prices","provider":"spraay-x402"},"timestamp":"2026-05-30T00:31:25.721Z"}},"exampleRequest":{"tokens":"ETH,SOL,USDC"},"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dHpuySRsMEuPLAsHgcfXO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches current prices for one or more crypto tokens in a single API call.","exampleAgentPrompt":"What are the current prices for ETH, SOL, and USDC right now?","exampleUseCases":null,"resultDescription":"A JSON object with a 'prices' map keyed by token symbol, each containing the current price value. Returns real-time price data for all requested tokens in a single response.","failureModes":["Unknown or unsupported token symbol returns empty or null entry in prices map","Missing or malformed 'tokens' query parameter may return all available tokens or an error","Payment failure (402) if x402 payment of $0.008 USDC is not provided","Rate limiting or service unavailability returns 5xx error","Network timeout if oracle data source is temporarily unreachable"],"whenToPreferThis":"Use this endpoint when you need current prices for multiple tokens simultaneously and want to minimize API calls. Ideal for portfolio valuation, DeFi position calculations, swap quote validation, or any use case requiring a batch price lookup across different token symbols. Prefer over per-token lookups when querying 2 or more tokens at once.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:45:05.005Z","isFirstParty":false}