API Reference
Log In
API Reference

Coin Historical Chart Data by ID

This endpoint allows you to get the historical chart data of a coin including time in UNIX, price, market cap and 24hr volume based on particular coin ID

👍

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.
  • You may use tools like epoch converter to convert human readable date to UNIX timestamp.
📘

Notes

  • You may leave the interval as empty for automatic granularity:
    • 1 day from current time = 5-minutely data
    • 2 - 90 days from current time = hourly data
    • above 90 days from current time = daily data (00:00 UTC)
  • Cache / Update Frequency:
    • Every 30 seconds for all the API plans (for last data point).
    • The last completed UTC day (00:00) data is now available 10 minutes after midnight on the next UTC day (00:10).
  • 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.
Path Params
string
required

coin ID
*refers to /coins/list.

Query Params
string
required

target currency of market data
*refers to /simple/supported_vs_currencies.

string
required

data up to number of days ago
You may use any integer for number of days

string
enum

data interval, leave empty for auto granularity Possible value: daily

Allowed:
string
enum

decimal place for currency price value

Response

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json