{"uid":"cap_R4MTJr4MHHaDyNVcS9Kil","slug":"x402-crypto-price-api-cbf34b64","name":"x402 Crypto Price API","description":"AI Agent cryptocurrency data APIs with x402 v2 payment protocol. Real-time prices, market data, trading signals, and market overview powered by CoinGecko.","url":"https://x402-crypto-apis.onrender.com/api/crypto/price","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"coin":{"type":"string","description":"CoinGecko coin ID (e.g. bitcoin, ethereum, solana)"}}},"responseSchema":{"type":"object","properties":{"coin":{"type":"string"},"price_usd":{"type":"number"},"timestamp":{"type":"string"},"change_24h":{"type":"number"},"market_cap":{"type":"number"}}},"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_s-2E30WlO1__mMf4j-ijC","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 real-time USD price, 24h change, and market cap for a specified cryptocurrency using CoinGecko data, billed per-call via x402 micropayment protocol.","exampleAgentPrompt":"What's the current USD price of Ethereum, including its 24-hour change and market cap?","exampleUseCases":null,"resultDescription":"A JSON object containing the coin's CoinGecko ID, current price in USD, 24-hour percentage change, total market capitalization, and an ISO timestamp of when the data was fetched.","failureModes":["Invalid or unrecognized CoinGecko coin ID returns an error","Payment not processed (x402 protocol failure) results in 402 response","CoinGecko upstream outage causes stale or missing data","Missing required 'coin' parameter returns a validation error"],"whenToPreferThis":"Use this endpoint when you need a single coin's real-time price, 24h change, and market cap in one lightweight call, especially in agent workflows that can handle micropayment via x402. Prefer over free-tier scrapers when reliability and freshness are required, and over heavier market-data APIs when you only need per-coin spot data rather than full order books or OHLCV history.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:32:22.159Z","isFirstParty":false}