CoinGecko
Cryptocurrency prices, market data and historical series.
Coin Historical Data
A snapshot of one coin on a single calendar day. date is required and must be formatted dd-mm-yyyy (day, month, four-digit year). Returns market_data holding current_price, market_cap and total_volume as of that day, alongside community_data, developer_data and public_interest_stats. Use it for one fixed point in time. For a continuous series use get_coingecko_coins_id_market_chart for a trailing window, or get_coingecko_coins_id_market_chart_range for an explicit one.
- 类型: stringid必填
CoinGecko coin ID (e.g.,
bitcoin,ethereum). Get the list via/coins/list.
- 类型: stringdate必填
Date in
dd-mm-yyyyformat. - 类型: booleanlocalization
- 类型: object · CoinGeckoObject200
Snapshot object for the given date.
- 类型: anythingproperty
Name
application/json - 400
The request could not be processed. Check the request parameters.
- 类型: object · CoinGeckoError401
CoinGecko plan restriction or authorization error returned by the upstream provider.
- 类型: objecterror
- property类型: anything
Name
- 类型: objectstatus
- property类型: anything
Name
- 类型: anythingproperty
Name
application/json - 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/history?date=30-12-2024' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"additionalProperty": "anything"
}