Get ticker data for all traded pairs of a specific base currency
GET /iou/ticker_data/{base}
Retrieve ticker data for a given currency pair over defined period (interval). Sorted descending by base volume.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”-
Base currency of the pair as
issuer address
, followed by_
and thecurrency code
. (OrXAH
with no issuer) -
Examples:
XAH
orrEvernodee8dJLaFsujS6q1EiXvZYmHXr8_EVR
Query Parameters
Section titled “Query Parameters ”-
Aggregation interval. Possible values are: s,m,h,d,M,y.
-
Example:
1d
to aggregate data by 1 day intervals
-
Specific date time the request should be based on. Defaults to
now
. -
Format:
1970-01-01T00:00:00Z
- Only include results with the requested minimal number of exchanges.
- If
true
, reverts the data so that the base token becomes the counter token.
Responses
Section titled “ Responses ”Success reponse
-
date_from
= Start date of the ticker data -
date_to
= End date of the ticker data -
base
= Base currency of the trading pair -
counter
= Counter currency of the trading pair -
base_volume
= The traded volume of the base currency -
base_volume_buy
= The buy volume of the base currency -
base_volume_sell
= The sell volume of the base currency -
counter_volume
= The toal traded volume of the counter currency -
counter_volume_buy
= The buy volume of the counter currency -
counter_volume_sell
= The sell volume of the counter currency -
first
= The first exchange rate of the pair in this time frame -
high
= The highest exchange rate of the pair in this time frame -
low
= The lowest exchange rate of the pair in this time frame -
last
= The last exchange rate of the pair in this time frame -
exchanges
= Total number of exchanges of the pair in this time frame -
unique_buyers
= Total number of unique accounts buying -
unique_sellers
= Total number of unique accounts selling -
trend_interval
= The rate trend of this pair for this time frame compared to the previous time frame.positive number
= rate is in upwards trend.negative number
= rate is in downwards trend
object
Query input malformed
object
Headers
Section titled “Headers ”Maximum number of requests in the rate limit window.
Number of remaining request in current rate limit window.
The seconds until the current rate limit window resets.
Too Many Requests
Headers
Section titled “Headers ”Maximum number of requests in the rate limit window.
Number of remaining request in current rate limit window.
The seconds until the current rate limit window resets.