CoinGecko
Cryptocurrency prices, market data and historical series.
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.
- Тип: stringidобязательно
CoinGecko coin ID (e.g.,
bitcoin,ethereum). Get the list via/coins/list.
- Тип: stringvs
_currency обязательноTarget currency for price (e.g.,
usd,eur,btc). See/simple/supported_vs_currencies. - Тип: stringdaysобязательно
1,7,14,30,90,180,365. - Тип: stringprecision
fullor a value from0to18to specify decimal places for currency price values.
- Тип: array array number[][] · CoinGeckoOHLC200
Array of OHLC rows:
[timestamp, open, high, low, close].application/json - 400
The request could not be processed. Check the request parameters.
- 401
A valid Felo API key is required.
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
A request or spending limit has been reached.
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl 'https://openapi.felo.ai/v1/beta/coingecko/coins/bitcoin/ohlc?vs_currency=usd&days=7' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
[
1713398400000,
67000,
67500,
66900,
67234.12
]
]