{"uid":"cap_KQ6ZnFhRhoCKkmnL6yS5a","slug":"x402-crypto-data-current-crypto-prices-1d412374","name":"x402-crypto-data Current Crypto Prices","description":"Current crypto prices for up to 25 coins (DefiLlama).","url":"https://x402-crypto-data.vercel.app/api/price","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"coins":{"type":"array","items":{"type":"string"},"maxItems":25,"description":"DefiLlama coin ids, e.g. \"coingecko:ethereum\" or \"base:0x833...\""}}},"responseSchema":null,"example":{"request":{"coins":["coingecko:ethereum","coingecko:bitcoin","coingecko:solana","coingecko:usd-coin"]},"response":{"result":[{"id":"coingecko:ethereum","price":1592.4565287404687,"symbol":"ETH","timestamp":1782883434,"confidence":0.99},{"id":"coingecko:bitcoin","price":59129.28197958569,"symbol":"BTC","timestamp":1782883435,"confidence":0.99},{"id":"coingecko:solana","price":75.34692615677545,"symbol":"SOL","timestamp":1782883434,"confidence":0.99},{"id":"coingecko:usd-coin","price":0.9996196079115766,"symbol":"USDC","timestamp":1782883431,"confidence":0.99}]}},"exampleRequest":{"coins":["coingecko:ethereum","coingecko:bitcoin","coingecko:solana","coingecko:usd-coin"]},"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KqVgc6rKGQYqKtPDy_DKt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 up to 25 cryptocurrencies by DefiLlama coin ID","exampleAgentPrompt":"What are the current prices of coingecko:ethereum, coingecko:bitcoin, coingecko:solana, and coingecko:usd-coin right now?","exampleUseCases":null,"resultDescription":"Returns current price data for each requested coin, keyed by DefiLlama coin ID (e.g. coingecko:ethereum), including the latest price in USD sourced from DefiLlama.","failureModes":["Invalid or unrecognized DefiLlama coin ID returns no price for that coin","More than 25 coins submitted causes a validation error","DefiLlama API unavailability causes upstream error","Malformed coin ID format returns empty or error response","Payment not included or insufficient results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need real-time spot prices for one or more specific cryptocurrencies identified by DefiLlama coin IDs (e.g. coingecko:ethereum or chain:contractAddress). Ideal for agents that need to price DeFi tokens by contract address on specific chains, not just major exchange-listed coins. Prefer over alternatives when DefiLlama coverage of long-tail DeFi tokens is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:35:27.674Z","isFirstParty":false}