{"uid":"cap_pKfNZLaOjerWeGAh3RRcr","slug":"x402-crypto-price-lookup-4253c6ad","name":"x402 Crypto Price Lookup","description":"Look up current price, 24h change, and market cap for one or more cryptocurrencies","url":"https://agentx402pay.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":null,"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_VsuIUoXPaFTTie0-TwQ5v","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 change, and market cap for one or more cryptocurrencies, quoted in a chosen fiat currency","exampleAgentPrompt":"What are the current prices, 24h changes, and market caps for bitcoin and ethereum in USD?","exampleUseCases":[{"title":"Portfolio value snapshot","prompt":"Can you pull the current prices and market caps for bitcoin, ethereum, and solana in USD so I can see how my portfolio is doing?"},{"title":"Euro-denominated price check","prompt":"What's the current price and 24-hour change for bitcoin quoted in euros?"},{"title":"Altcoin price monitor","prompt":"Check the live price and 24h change for chainlink, polkadot, and avalanche-2 in USD — I want to see if any of them have moved more than 5% today."}],"resultDescription":"A JSON object keyed by CoinGecko coin ID, each containing the current price in the requested quote currency, the 24-hour percentage change, and the market cap. Data is fetched live from CoinGecko and reflects real-time market conditions.","failureModes":["Invalid or misspelled CoinGecko coin ID returns empty result or error","Unsupported quote currency falls back to USD or returns an error","Missing required 'ids' query parameter causes a 400 bad request","Network or upstream CoinGecko outage may cause 500 or timeout","Payment failure (insufficient USDC balance) blocks the request via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost real-time price check with 24h change and market cap for one or more coins. Prefer the sibling 'x402 Crypto Market Data' endpoint when you need richer data such as 24h high/low, trading volume, all-time-high, or rank. This endpoint is ideal for quick portfolio checks, price alerts, or feeding current prices into downstream computations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:34:59.446Z","isFirstParty":false,"canonicalSlug":"x402-crypto-price-lookup-4253c6ad"}