Skip to content

Get volume data

GET
/iou/volume_data/{base}

Retrieve volume data for a given currency over time

base
required
string
  • Base currency of the pair as issuer address, followed by _ and the currency code. (Or XAH with no issuer)

  • Examples: XAH or rEvernodee8dJLaFsujS6q1EiXvZYmHXr8_EVR

interval
required
string
  • Aggregation interval. Possible values are: s,m,h,d,M,y.

  • Example: 1d to aggregate data by 1 day intervals

start
string format: date-time
  • Filters results no earlier than the specified date time.

  • Format: ‘1970-01-01T00:00:00Z’

end
string format: date-time
  • Filters results no later than the specified date time.

  • Format: ‘1970-01-01T00:00:00Z’

descending
boolean
  • If true, return results in reverse chronological order by timestamp.
skip
number
  • Skip a defined number of entries.
limit
number
  • Limit the entries in the response.

  • Higher values result in slower response times!

Success response

  • volume = Total volume across ALL PAIRS of the requested base currency in this interval

  • exchanges = Number of exchanges across ALL PAIRS of the requested base currency in this interval

  • distinct_pairs = Number of DISTINCT PAIRS for the requested base currency in this interval

  • timestamp = Start time of this interval

Array<object>
VolumeData
object
volume
required
number format: float
exchanges
required
number format: float
distinct_pairs
required
number format: float
timestamp
required
string format: date-time

Query input malformed

ValidationError
object
message
required
string
code
string
path
string
x-ratelimit-limit
integer

Maximum number of requests in the rate limit window.

x-ratelimit-remaining
integer

Number of remaining request in current rate limit window.

x-ratelimit-reset
integer

The seconds until the current rate limit window resets.

Too Many Requests

x-ratelimit-limit
integer

Maximum number of requests in the rate limit window.

x-ratelimit-remaining
integer

Number of remaining request in current rate limit window.

x-ratelimit-reset
integer

The seconds until the current rate limit window resets.