Skip to main content
Get trusted volume

Authorizations

Authorization
string
header
default:Token <token>
required

Token-based authentication with required prefix "Token ". Example: "Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b"

Query Parameters

assets
string[]

Comma seperated list of assets <asset>,<asset>.Defaults to all assets the user has access to if not provided.

Maximum array length: 100
filename
string

File name of the CSV download. Defaults to data.csv.

interval
enum<string>
required
  • 1M - Aggregated in 1 month periods.
  • 1w - Aggregated in 1 week periods.
  • 1d - Aggregated in 1 day periods.
  • 4h - Aggregated in 4 hour periods.
  • 1h - Aggregated in 1 hour periods.
  • 30m - Aggregated in 30 minute periods.
  • 15m - Aggregated in 15 minute periods.
  • 5m - Aggregated in 5 minute periods.
  • 1m - Aggregated in 1 minute periods.
  • c - Will return all the data for the specified time range using the biggest periods possible.
  • a - Will return the aggregate of the data for the specified time range.
Available options:
1M,
1w,
1d,
4h,
1h,
30m,
15m,
5m,
1m,
c,
a
Minimum string length: 1
lookback
enum<string>
  • 30-minutes - 30-minutes
  • 1-hour - 1-hour
  • 3-hours - 3-hours
  • 6-hours - 6-hours
  • 12-hours - 12-hours
  • 1-day - 1-day
  • 7-days - 7-days
  • 1-month - 1-month
  • 3-months - 3-months
  • 6-months - 6-months
  • 1-year - 1-year
Available options:
30-minutes,
1-hour,
3-hours,
6-hours,
12-hours,
1-day,
7-days,
1-month,
3-months,
6-months,
1-year
Minimum string length: 1
organizations
string[]

Comma seperated list of organization slugs <slug>,<slug>.Defaults to all organizations the user is member of, if not provided.Available organizations are returned in the /v1/organizations endpoint.

Maximum array length: 100
time_end
string<date-time>
time_start
string<date-time>
type
enum<string>

Set to csv to download the rows as a CSV file.

Available options:
csv

Response

organization
object
required
asset
string
required
exchange
object
required
pair
string
required
timestamp
string
required
volume
number<double>
required