{"uid":"cap_CO1hR9tQ791yaUZ-mZ90Q","slug":"x402-crypto-price-lookup-f454c895","name":"x402 Crypto Price Lookup","description":"Look up current price, 24h change, and market cap for one or more cryptocurrencies","url":"https://x402tap.com/api/crypto-price?utm_source=zero.xyz","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","required":["ids"],"properties":{"vs":{"type":"string","description":"Quote currency, e.g. \"usd\", \"eur\" (default usd)"},"ids":{"type":"string","description":"Comma-separated CoinGecko coin ids, e.g. \"bitcoin,ethereum\""}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"vs":"usd","prices":[{"id":"bitcoin","price":63151,"marketCap":1267177736333,"change24hPct":-0.2}]}},"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_1cunCpkODaA0sk3H1JiV9","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 current price, 24-hour percentage change, and market cap for one or more cryptocurrencies in a chosen quote currency","exampleAgentPrompt":"What are the current prices, 24h changes, and market caps for bitcoin and ethereum in USD?","exampleUseCases":[{"title":"Portfolio snapshot before trading","prompt":"Can you pull the current prices and 24-hour changes for bitcoin, ethereum, and solana in USD so I can see how my holdings are doing?"},{"title":"Euro-denominated crypto price check","prompt":"What are the current prices and market caps for bitcoin and cardano quoted in EUR?"},{"title":"Crypto price alert context","prompt":"Grab the latest price and 24h percentage change for dogecoin — I want to know if it moved significantly today."}],"resultDescription":"A JSON object containing the quote currency and an array of coin objects, each with the coin's CoinGecko ID, current price (in the requested quote currency), 24-hour percentage price change, and market capitalization.","failureModes":["Invalid or unrecognized CoinGecko coin ID returns an error or empty result","Unsupported quote currency may return an error or fall back to USD","Payment failure (insufficient USDC) results in a 402 response","Rate limiting or upstream CoinGecko unavailability may cause transient errors","Missing required 'ids' query parameter results in a validation error"],"whenToPreferThis":"Use this endpoint when you need a fast, lightweight price check with 24h change and market cap for one or more cryptocurrencies and cost-per-call efficiency matters. Prefer this over the sibling 'x402 Crypto Market Data' endpoint when you don't need extended data like ATH, 24h high/low, or trading volume — this endpoint is simpler and cheaper for basic price lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:39:01.259Z","isFirstParty":false,"canonicalSlug":"x402-crypto-price-lookup-f454c895"}