{"uid":"cap_t2eH9wOL1Z7hMmHBwcenj","slug":"onchainexpat-crypto-prices-api-b74ab70b","name":"OnchainExpat Crypto Prices API","description":"Returns live crypto price data for a given token address and chain, including price, 24h change, market cap, and volume. Accepts symbol and currency parameters for normalized quotes.","url":"https://x402.onchainexpat.com/api/x402-tools/crypto/prices","method":"POST","headers":{},"bodySchema":{"type":"object","required":["symbols"],"properties":{"symbols":{"type":"array","description":"List of tickers or names. Aliases: 'tokens', 'assets'"},"currency":{"type":"string","description":"Quote currency, default 'usd'"}}},"responseSchema":{"type":"object","properties":{"cached":{"type":"boolean"},"prices":{"type":"object"}}},"example":null,"exampleRequest":null,"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_Ky_YK-tf9fNuctWxmdHjm","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 data via a pay-per-request x402 micropayment endpoint","exampleAgentPrompt":"What's the current price of Bitcoin? Use the OnchainExpat crypto prices API to look it up.","exampleUseCases":[{"title":"Real-time crypto portfolio rebalancing","prompt":"I need to check the current prices of Bitcoin, Ethereum, and Solana right now to see if I should rebalance my portfolio. Can you fetch the latest prices from the OnchainExpat crypto API?"},{"title":"Cross-exchange arbitrage opportunity detection","prompt":"Help me monitor the real-time prices of the top 5 cryptocurrencies so I can spot arbitrage opportunities between exchanges. Pull the current market data using the OnchainExpat API and flag any significant price movements."},{"title":"Customer support for crypto asset queries","prompt":"A customer just asked me what they should expect to pay for one Bitcoin and ten Ethereum tokens in today's market. Look up the current prices using OnchainExpat so I can give them accurate quotes."}],"resultDescription":"Returns JSON with current price data for the requested cryptocurrency, including pricing information sourced via the x402 pay-per-request protocol.","failureModes":["Unknown or misspelled cryptocurrency name returns empty or error response","Payment failure via x402 protocol results in 402 Payment Required response","Network timeout if upstream price data source is unavailable","Empty response if the cryptocurrency is not supported"],"whenToPreferThis":"Choose this endpoint when you need real-time crypto price lookups and are operating in an x402 micropayment-enabled environment, particularly when integrating with Coinbase or Base ecosystem tooling. Suitable for pay-per-use agents that want to avoid subscription-based pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:42:03.847Z","isFirstParty":false}