Tips
- You may obtain the coin ID (API ID) via several ways:
- refers to respective coin page and find ‘API ID’.
- refers to
/coins/list
endpoint. - refers to google sheets here.
Note
- You may leave the interval params as empty for automatic granularity:
- 1 day from current time = 5-minutely data
- 1 day from any time (except current time) = hourly data
- 2 - 90 days from any time = hourly data
- above 90 days from any time = daily data (00:00 UTC)
- Cache / Update Frequency:
Based on days range (all the API plans)- 1 day = 30 seconds cache
- 2 -90 days = 30 minutes cache
- 90 days = 12 hours cache
- The last completed UTC day (00:00) is available 35 minutes after midnight on the next UTC day (00:35). The cache will always expire at 00:40 UTC.
- Access to historical data via the Public API (Demo plan) is restricted to the past 365 days only. To access the complete range of historical data, please subscribe to one of our paid plans to obtain a Pro-API key.
Authorizations
Path Parameters
coin ID
*refers to /coins/list
.
Example:
"bitcoin"
Query Parameters
target currency of market data
*refers to /simple/supported_vs_currencies
.
Example:
"usd"
starting date in UNIX timestamp
Example:
"1711929600"
ending date in UNIX timestamp
Example:
"1712275200"
decimal place for currency price value
Available options:
full
, 0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
, 13
, 14
, 15
, 16
, 17
, 18