Retrieves the historical price for the specified pair - the price is calculated across all exchanges which supports this pair, including all cross rates pairs.
Price of a pair is calculated as the VWAP (Volume Weighted Average Price) across all exchanges supporting this pair, with a 1 bar lookback period. If the parameter exchange is specified, the data returned is the VWAP for that pair on that exchange.
Time Range Limit
The maximum time range (difference between startDate and endDate) is:
- 1 day with minutely data
- 31 days with hourly data
- 1 year with daily data
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the data from the previous 24 hours with a 1 minute frequency.
|timestamp||The time at which the event occured.|
|pair||The name of the pair.|
|price||The price of the pair.|
|volume||The volume of the pair at this point in time.|
*Note: this field will soon be deprecated