get https://api.amberdata.com/market/spot/reference-quotes//historical
Retrieves the historical reference quotes for the specified pair.
The default granularity is up to 1 second intervals (depending on the exchange).
Time Range Limit
The maximum time range (difference between startDate and endDate) is 1 day.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return an empty payload.
Response Data
Field | Type | Description |
---|---|---|
data | object | The data portion of the payload. |
timestamp | number | The timestamp at which the order was placed. |
timestampNanoseconds | number | The nanoseconds part of the timestamp. |
pair | string | The pair for which the quote was requested. |
price | number | The price or quote of the pair at the referenced timestamp. |
sources | array | List of exchanges which participated in the calculation of the quote. |