{"uid":"cap_K012q_c98g7mrYgHdMkna","slug":"netintel-crypto-ohlc-candles-7f7c52e9","name":"NetIntel Crypto OHLC Candles","description":"Historical OHLC candles for any major crypto asset — hourly or daily, up to 300 candles, with period stats (change %, high, low) — from Coinbase Exchange with Kraken fallback, no API key. Also a price-at-date mode: pass date=YYYY-MM-DD for that day's candle and close. USD, EUR, or GBP quotes; 5min cache.","url":"https://netintel.dev/crypto/ohlc","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","properties":{"vs":{"type":"string","description":"Quote currency: USD (default), EUR or GBP. Aliases: currency, fiat, vs_currency"},"date":{"type":"string","description":"YYYY-MM-DD price-at-date mode: that day's single daily candle + its close as price. Mutually exclusive with days/limit"},"days":{"type":"number","description":"Lookback window, default 30. Max 300 for 1d, 12 for 1h (300 candles). Alias: period"},"limit":{"type":"number","description":"Number of most-recent candles (the usual candle-API param). Capped at 288 for 1h, 300 for 1d. Aliases: count, candles. Use instead of days."},"symbol":{"type":"string","description":"One ticker or full name (\"BTC\" or \"bitcoin\"); a leading $ is fine. Aliases: coin, ticker, asset"},"interval":{"type":"string","description":"1h or 1d (default 1d). hour/hourly and day/daily accepted. Aliases: granularity, timeframe"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"vs":{"type":"string"},"end":{"type":"string"},"price":{"type":["number","null"]},"stale":{"type":"boolean"},"start":{"type":"string"},"stats":{"type":"object","properties":{"open":{"type":"number"},"close":{"type":"number"},"avg_volume":{"type":"number"},"change_pct":{"type":["number","null"]},"period_low":{"type":"number"},"period_high":{"type":"number"}}},"source":{"type":"string","description":"coinbase | kraken"},"symbol":{"type":"string"},"candles":{"type":"array","items":{"type":"object","properties":{"low":{"type":"number"},"high":{"type":"number"},"open":{"type":"number"},"time":{"type":"string"},"close":{"type":"number"},"volume":{"type":"number"}}}},"findings":{"type":"array"},"interval":{"type":"string"},"candle_count":{"type":"number"},"cache_age_seconds":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"vs":"USD","end":"2026-08-01","stale":false,"start":"2026-07-26","stats":{"open":64295.61,"close":62445.14,"avg_volume":5791.88,"change_pct":-2.88,"period_low":62209.81,"period_high":65705.08},"source":"coinbase","symbol":"BTC","candles":[{"low":64229.6,"high":65511.36,"open":64295.61,"time":"2026-07-26T00:00:00.000Z","close":65341.07,"volume":2390.56790196},{"low":63545,"high":65705.08,"open":65341.07,"time":"2026-07-27T00:00:00.000Z","close":63694.43,"volume":5069.45269918},{"low":62645.39,"high":64041.02,"open":63693.44,"time":"2026-07-28T00:00:00.000Z","close":63847.12,"volume":6232.18054403},{"low":63194.45,"high":64665.3,"open":63847.12,"time":"2026-07-29T00:00:00.000Z","close":63896.14,"volume":8092.70552294},{"low":63502.91,"high":65118.08,"open":63896.14,"time":"2026-07-30T00:00:00.000Z","close":64721.9,"volume":8025.87127027},{"low":62358.96,"high":65360,"open":64721.9,"time":"2026-07-31T00:00:00.000Z","close":62825.9,"volume":8260.37090197},{"low":62209.81,"high":63093,"open":62826.69,"time":"2026-08-01T00:00:00.000Z","close":62445.14,"volume":2472.01120363}],"findings":[],"interval":"1d","candle_count":7,"cache_age_seconds":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QB-GmbGTlDdPG7d8k3-91","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical OHLC candlestick data for major crypto assets — hourly or daily, up to 300 candles — with period stats, and supports a price-at-date lookup mode.","exampleAgentPrompt":"Can you pull the daily OHLC candles for Bitcoin in USD for the last 60 days, including the period high, low, and change percentage?","exampleUseCases":[{"title":"Crypto price on specific date","prompt":"What was the closing price of Ethereum on March 10, 2024? Give me the full day's candle in USD."},{"title":"Hourly trading chart data","prompt":"Fetch the last 12 hours of hourly OHLC candles for SOL priced in EUR — I want to see the highs, lows, and volume for each hour."},{"title":"Multi-week trend analysis","prompt":"Get me 90 days of daily BTC candles in USD so I can see the period high, low, and how much the price has changed over that stretch."}],"resultDescription":"Returns a JSON object containing an array of OHLC candles (time, open, high, low, close, volume), period statistics (open, close, average volume, change %, period high and low), the data source (coinbase or kraken), quote currency, start/end timestamps, candle count, cache age in seconds, and optionally a single-day close price when using date mode.","failureModes":["Unknown or unsupported symbol returns an error or empty candles","Requesting more than 300 daily candles or 12 hourly candles (300 candles max) may be capped","Invalid date format for date= parameter causes a parsing error","Unavailable asset on Coinbase with Kraken also lacking data results in no candles returned","stale=true flag indicates cached data may be older than 5 minutes due to upstream issues"],"whenToPreferThis":"Choose this endpoint when you need no-API-key OHLC candlestick history for major crypto assets with automatic Coinbase/Kraken fallback, especially for price-at-date lookups or period stats (change %, high, low) without building your own exchange integration. Best for agents needing quick historical crypto price data in USD, EUR, or GBP with a simple GET request.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:55:38.629Z","isFirstParty":false}