GuidesExplainer

1-minute crypto candles

What a one-minute candle is here, how it is built, how far back it goes and what a request returns.

24 Nov 2026 · 2 min read

Ask for interval=1m on any coin and you get one candle per minute. Minute candles are kept 30 days on Free and 90 days on Starter, Basic and Pro. Minute history begins 23 Nov 2026 and grows a day each day, up to those limits. Hourly and daily candles start 1 Jan 2023, or when the coin began; /v2/coverage shows hourly_from and daily_from. View pricing or read the API reference.

Request

curl
curl -s -H "Authorization: Bearer $COINPRICE_API_KEY" \  "https://api.coinprice.dev/v2/coins/bitcoin/ohlc?interval=1m&limit=3"
JSON, real response, 2026-11-24 04:32 UTC
[  [1795494600000,60459.80501,60459.80501,60436.80787,60436.80787],  [1795494660000,60434.79031,60441.52715,60393.2856,60424.14821],  [1795494720000,60424.80241,60459.70816,60424.80241,60459.70816]]

Each row is [time_ms, open, high, low, close]. The time is the start of the candle in Unix milliseconds, UTC. Rows come oldest first. Prices are in USD unless you pass vs_currency. History in another currency is converted at today's rate.

Parameters

ParameterValuesDefault
interval1m, 5m, 15m, 1h, 4h, 1d1h with no window. With days or from, the step is picked from the window: 15m up to 2 days when minute data covers it, else 1h; 4h up to 30 days; 1d over 30
limit1 to 5,000 candles500
from, toUnix seconds, ISO 8601 or YYYY-MM-DDthe newest candles
daysnumber of days back from nownone
vs_currencyany code from /v2/simple/supported_vs_currenciesusd

A window older than the minutes held starts at the oldest minute held: history begins 23 Nov 2026, and plans keep 30 or 90 days. Use 1h or 1d for anything older. A request returns at most 5,000 rows, and a longer window returns the newest rows, so page with from and to.

Errors

JSON, real response to interval=2m, 2026-11-24 04:32 UTC
{  "error": "invalid_request",  "message": "interval is 1m, 5m, 15m, 1h, 4h or 1d.",  "request_id": "req_fd0360d0d7ed4e76"}
StatuserrorWhen
400invalid_requestbad interval, limit, from, to or vs_currency
401unauthorizedmissing or unknown API key
404not_foundunknown coin id
429rate_limitedover your plan's calls a minute; wait for Retry-After
429quota_exceededthe month's calls are used up; no Retry-After, resets on the 1st of the month UTC. Stop and tell the user
500internal_errora fault on our side
503unavailableprices are briefly unavailable; retry

How candles are built

Each minute's price is the median of the latest prices from seven exchanges, after outliers are dropped, so one venue's spike does not move the candle. Five-minute and 15-minute candles are rolled up from the minutes. Read the methodology.

Compared with CoinGecko

CoinGecko's interval=1m is on its Enterprise plan only and returns 1 day a request. Here every plan has minute candles and a request returns up to 5,000 of them. Full comparison.

Questions

Is 1-minute data free?

Yes. The Free plan includes 1-minute candles, kept for 30 days, with 50,000 calls a month.

How far back do minute candles go?

Minute candles are kept 30 days on Free and 90 days on Starter, Basic and Pro. Minute history begins 23 Nov 2026 and grows a day each day, up to those limits. Hourly and daily candles start 1 Jan 2023, or when the coin began; `/v2/coverage` shows `hourly_from` and `daily_from`.

How many candles come back in one call?

Up to 5,000. The default is 500. A longer window returns the newest 5,000, so page with `from` and `to`.

Keep reading

Start with a free API key

50,000 calls a month on the free plan. No card needed.

Get a free key