This endpoint allows you to get the OHLC chart (Open, High, Low, Close) of a coin 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
  • For historical chart data with better granularity, you may consider using /coins/{id}/market_chart endpoint

📘

Notes

  • The timestamp displayed in the payload (response) indicates the end (or close) time of the OHLC data
  • Data granularity (candle's body) is automatic:
    • 1 - 2 days: 30 minutes
    • 3 - 30 days: 4 hours
    • 31 days and beyond: 4 days
  • Cache / Update Frequency:
    • every 30 minutes for all the API plans
    • The last completed UTC day (00:00) is available 35 minutes after midnight on the next UTC day (00:35)
  • 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.
Language
Authorization
Click Try It! to start a request and see the response here!