get https://web3api.io/api/v2/market/swaps/tickers//historical
Retrieves the historical time series tickers for the specified instrument and exchange(s).
Time Range Limit
The maximum time range (difference between startDate and endDate) is 1 hour.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the data from the previous 1 hour.
RESPONSE DATA
Field | Type | Description |
---|---|---|
exchange | string | The name of the exchange. |
timestamp | number | string | The time at which the event occurred. |
bid | numeric | The bid price for instrument. |
ask | numeric | The ask price for instrument. |
mid | numeric | The mid price for instrument. |
last | numeric | The last price for instrument. |
sequence | number | null | The sequence number (equal to null if it is not provided by the exchange). |
bidVolume | number | null | It represents the requested order size of all best bids. |
askVolume | number | null | It represents the requested order size of all best asks. |