Skip to main content
GET
cURL

What it measures

Average order size — the average USD value of a single trade, tracked as a moving average. For each day, the average trade size in USD is the traded volume (valued at price_usd) divided by the number of trades, summed across all exchanges. avg_trade_amount_ma_100 is its 100-day moving average. The label compares the 30-day and the 100-day moving averages of that daily series (MA30 − MA100, in USD). The source data is aggregated across exchanges: spot OHLCV and taker volume for market=spot, perpetual-contract OHLCV and taker volume for market=futures. Values are daily, recomputed every day at about 01:10 UTC over the full history; the latest row is the previous UTC day.

Assets and windows

Pass asset as a lowercase symbol; several assets can be requested at once, comma-separated (asset=btc,eth). The supported assets differ between the two markets: an asset that is not supported for the requested market returns 400 (Unsupported asset for spot: x). The full lists are returned by /v2/discovery/endpoints. window accepts only day; any other value returns 400. limit applies per asset. Each call costs 20 credits.

Response fields

Rows are returned under result.data, one per asset per day.

Labels

order_type is a label. The label is assigned from d = MA30 − MA100 of the average trade size (USD):

Authorizations

Authorization
string
header
required

For each API request, include the Authorization HTTP header with Bearer {access_token}.

Query Parameters

asset
string
required

Asset symbol, lowercase, e.g. btc. Comma-separated for several assets (e.g. btc,eth). 448 assets are available for market=spot and 356 for market=futures; an unsupported asset returns 400.

market
enum<string>
default:spot

Market: spot (default) or futures.

Available options:
spot,
futures
window
enum<string>
default:day

Aggregation window: day only (default). Any other value returns 400.

Available options:
day
from
string

Inclusive start date, YYYYMMDD (UTC).

to
string

Inclusive end date, YYYYMMDD (UTC).

limit
integer
default:100

Maximum rows returned per asset (default 100, max 10000).

Required range: x <= 10000
format
enum<string>
default:json

Response format: json (default) or csv.

Available options:
json,
csv

Response

200 - application/json

Average Order Size daily time-series.

status
object
required

Returned with every response; indicates whether the request was successful.

result
object
required