{"uid":"cap_w4jqhneAALWC1A3BIPCCh","slug":"x402-crypto-ohlcv-price-data-api-38c8f7c4","name":"x402 Crypto OHLCV Price Data API","description":"66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.","url":"https://workspace-x402-paywall.onrender.com/crypto/ohlcv?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":["coin"],"properties":{"coin":{"type":"string","description":"Requires a coin ID string in format slug-symbol, e.g. btc-bitcoin"}}}},"additionalProperties":false}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t8K_f-hV6rEvOgWT0qBaK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches OHLCV (open/high/low/close/volume) and price data for a specified cryptocurrency coin, paid per-call at $0.005 USDC via x402 protocol","exampleAgentPrompt":"Can you fetch the current price and OHLCV data for Bitcoin (btc-bitcoin) — I need the name, price_usd, and volume fields?","exampleUseCases":[{"title":"Live BTC price check for trading","prompt":"Get me the current price and 24h volume for Bitcoin right now — use btc-bitcoin and return the name, price_usd, and volume fields."},{"title":"Ethereum market data for portfolio app","prompt":"Pull the latest OHLCV data for Ethereum — eth-ethereum — I need the open, high, low, close, and price_usd fields for my portfolio tracker."},{"title":"Altcoin price lookup for arbitrage bot","prompt":"Fetch current market data for Solana (sol-solana) — I want the price_usd, volume, and market_cap fields to check for arbitrage opportunities."}],"resultDescription":"Returns a JSON object containing the requested market data fields for the specified coin — potentially including name, price_usd, OHLCV values (open, high, low, close, volume), market cap, and other available coin metrics depending on the fields parameter.","failureModes":["Invalid or unknown coin identifier returns an error or empty response","Missing required 'coin' parameter causes a 400 bad request","Payment failure (insufficient USDC balance or x402 handshake error) results in 402 Payment Required","Requesting non-existent fields may return null or omit those fields silently","Rate limiting or backend data provider downtime may cause 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call crypto price or OHLCV data without a subscription, especially when operating in an x402-compatible agent environment that can pay $0.005 USDC per query on Base or Solana mainnet. Ideal for low-frequency spot lookups where a full data subscription is overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:42:36.348Z","isFirstParty":false,"canonicalSlug":"x402-crypto-ohlcv-price-data-api-38c8f7c4"}