{"uid":"cap_3e2VZve51t046p__8cbU7","slug":"fastapi-online-coin-ohlc-price-history-959f6033","name":"fastapi.online — Coin OHLC Price History","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/coin-ohlc","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"id":{"type":"string"},"days":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"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_YsNk3c2tSP0PskWogotvf","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 OHLC (open/high/low/close) candlestick price data for a cryptocurrency coin over a specified number of days","exampleAgentPrompt":"Can you pull the OHLC candlestick price history for Bitcoin (coin id: bitcoin) for the last 30 days so I can analyze its price swings?","exampleUseCases":[{"title":"Crypto trading strategy backtesting","prompt":"Fetch the OHLC price data for Ethereum (id: ethereum) over the past 90 days — I want to backtest a moving average crossover strategy."},{"title":"Daily portfolio price range review","prompt":"Get me the open, high, low, and close prices for Solana (coin id: solana) for the last 7 days so I can see how volatile it's been this week."},{"title":"Altcoin market analysis report","prompt":"Pull the OHLC candlestick data for Cardano (id: cardano) over the last 14 days — I'm putting together a market analysis summary for it."}],"resultDescription":"Returns OHLC candlestick price data for the specified cryptocurrency coin over the requested time period, including open, high, low, and close price values per candle interval, suitable for charting and technical analysis.","failureModes":["Invalid or unknown coin ID returns an error or empty result","Days parameter out of supported range may return an error","Network or upstream data provider outage causes failure","Malformed request body returns a 400 or validation error","Payment not included or invalid triggers a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need OHLC candlestick price history for a cryptocurrency and want a pay-per-call model with no signup required. Prefer this over general market data APIs when you want crypto-native payment (USDC) and self-hosted infrastructure with transparent per-call pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:46:28.223Z","isFirstParty":false}