Coin OHLC
Historical
Coin OHLC
Candlestick rows for one coin — timestamp, open, high, low and close, with no field names.
GET
Coin OHLC
Candlestick data for one coin as a bare array of rows, each row positional: timestamp in milliseconds, then open, high, low and close. There are no field names in the response and no volume. Candle width is derived from
days, which is required. Use it for candle or technical analysis. For a price line together with market cap and traded volume use get_coingecko_coins_id_market_chart instead.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
CoinGecko coin ID (e.g., bitcoin, ethereum). Get the list via /coins/list.
Query Parameters
Target currency for price (e.g., usd, eur, btc). See /simple/supported_vs_currencies.
1, 7, 14, 30, 90, 180, 365.
full or a value from 0 to 18 to specify decimal places for currency price values.
Response
200 - application/json
Array of OHLC rows: [timestamp, open, high, low, close].