{"uid":"cap_m_1alexyC5PVAyro_YmQw","slug":"x402-onchainexpat-com-ca39094c","name":"x402.onchainexpat.com Crypto Price & Market Data","description":"Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol","url":"https://x402.onchainexpat.com/api/x402-tools/crypto/price","method":"POST","headers":{},"bodySchema":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Crypto ticker or name. Aliases: 'coin', 'token'. E.g. 'BTC', 'bitcoin', 'ETH', 'solana'"},"currency":{"type":"string","description":"Quote currency, default 'usd'. Alias: 'quote_currency'"}}},"responseSchema":{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"number"},"cached":{"type":"boolean"},"symbol":{"type":"string"},"currency":{"type":"string"},"market_cap":{"type":"number"},"volume_24h":{"type":"number"},"change_24h_pct":{"type":"number"}}},"example":{"request":{"symbol":"BTC"},"response":{"name":"Bitcoin","price":73387,"cached":false,"symbol":"BTC","low_24h":72515,"currency":"USD","high_24h":74214,"market_cap":1470384089861,"volume_24h":36154038387,"last_updated":"2026-05-29T22:42:22.383Z","price_change_24h":-0.02132}},"exampleRequest":{"symbol":"BTC"},"tags":["x402"],"displayCostAmount":"0.01","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.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_6tE1ilq4XtQzR9JlYNhc0","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":"Fetches current cryptocurrency price and market data including market cap, volume, and price changes for a given token","exampleAgentPrompt":"What's the current price of Ethereum, including its 24-hour price change and trading volume?","exampleUseCases":[{"title":"Portfolio monitoring with real-time alerts","prompt":"Can you check the current prices and market caps for Bitcoin, Ethereum, and Solana? I want to see how my holdings are performing today, especially their 24-hour price changes."},{"title":"Investment research for token comparison","prompt":"I'm looking to diversify my crypto portfolio. What are the current trading volumes and market capitalizations for Cardano and Polygon? How do their 24-hour price movements compare?"},{"title":"DeFi transaction due diligence","prompt":"Before I swap some tokens, can you look up the current price of USDC and check its market cap and 24-hour volume to make sure the liquidity is healthy right now?"}],"resultDescription":"Returns current price, market capitalization, 24-hour trading volume, and price change percentage for the requested cryptocurrency token.","failureModes":["Unknown or unsupported token symbol returns an error or empty result","Network timeout if the upstream price feed is unavailable","Invalid input format results in a 400-level error","Payment failure (insufficient USDC balance) blocks the request","Rate limiting if too many requests are made in quick succession"],"whenToPreferThis":"Use this endpoint when you need real-time cryptocurrency price and market data (price, market cap, volume, price changes) for a specific token. Prefer it over the fiat currency conversion endpoint (/fiat) when the asset in question is a crypto token rather than a traditional currency. Also prefer this over the token metadata endpoint when you need current market metrics rather than security analysis or on-chain token details.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:50:06.704Z","isFirstParty":false}