데이터 API / CoinGecko / Coins
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.
파라미터
경로
idstring필수CoinGecko coin ID (e.g.,
bitcoin,ethereum). Get the list via/coins/list.
쿼리
vs_currencystring필수Target currency for price (e.g.,
usd,eur,btc). See/simple/supported_vs_currencies.daysstring필수1,7,14,30,90,180,365.precisionstring선택fullor a value from0to18to specify decimal places for currency price values.
요청 예시
curl -G "https://openapi.felo.ai/v1/beta/coingecko/coins/{id}/ohlc" \
--data-urlencode "vs_currency=<string>" \
--data-urlencode "days=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"응답
응답 예시
[
[
1713398400000,
67000,
67500,
66900,
67234.12
]
]