Get market data
GET /iou/market_data/{base}/{counter}
Retrieve market data for a given currency pair over time.
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
-
Counter currency of the pair as
issuer address
, followed by_
and acurrency 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
-
Filters results
no earlier
than the specified date time. -
Format: ‘1970-01-01T00:00:00Z’
-
Filters results
no later
than the specified date time. -
Format: ‘1970-01-01T00:00:00Z’
- Only include exchanges with the requested minimal base volume.
- Only include exchanges with the requested minimal counter volume.
- If true, return results in reverse chronological order by timestamp.
- Skip a defined number of entries.
-
Limit the entries in the response.
-
Higher values result in slower response times!
Responses
Section titled “ Responses ”Success response
-
base_volume
= The total volume of the base currency in this interval -
base_volume_buy
= The buy volume of the base currency in this interval -
base_volume_sell
= The sell volume of the base currency in this interval -
counter_volume
= The total traded volume of the counter currency in this interval -
counter_volume_buy
= The buy volume of the counter currency in this interval -
counter_volume_sell
= The sell volume of the counter currency in this interval -
open
= The rate at the start of this interval -
high
= The highest rate in this interval -
low
= The lowest rate in this interval -
close
= The rate at the end of this interval -
exchanges
= Total number of exchanges in this interval -
unique_buyers
= Total number of unique accounts buying -
unique_sellers
= Total number of unique accounts selling -
timestamp
= Start time of this interval
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.