Get historical prices

This endpoint lists prices for a specific range

The period parameter specifies how the data is shown and grouped.

  • day: Data is grouped every 10 minutes, and it goes 1 day back from the current time
  • week: Data is grouped every 1 hour, and it goes 7 days back from the current time
  • month: Data is grouped every 1 day, and it goes 30 days back from the current time

📘

Please note

The "current" interval is not shown because it would mess up the average, so if you specify "month", then today is not included; you'll have 29 days total.

Path Params
string
required

3 letter currency code

Query Params
string
Defaults to day

Either "day", "week", "month", or "year"

string
Defaults to USD
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

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