GET
/api/v1/futures/taker-volume/{base}Startup tier+ · 80 req/minPer-coin taker buy/sell split for a single base asset.
Path-scoped variant of `futures/taker-volume`. Returns 404 when no taker rows have been reported for the asset inside the window.
Path parameters
Segments of the URL path, validated server-side.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| base | string | required | — | Base asset (BTC, ETH, ...). |
Query parameters
All query parameters are optional unless marked required.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| hours | number | optional | 24 | Trailing hours. Max 720. |
Response shape
Always wrapped in the standard envelope. Nullable fields are explicitly marked — treat missing numeric data as a real data-source gap, not as an error.
data payloadtypescript
// Wrapped in the standard envelope:
// {
// data: /* shape below */,
// meta?: { total?: number; limit?: number; offset?: number; ... }
// }
{
base: string;
buyVolume: number;
sellVolume: number;
totalVolume: number;
buyShare: number;
sellShare: number;
bias: number;
venueCount: number;
lastTs: number;
windowHours: number;
}Example
Copy the curl, replace YOUR_KEY with a real key from your dashboard, and run.
Requestbash
curl -sS "http://localhost:3000/api/v1/futures/taker-volume/BTC?hours=24" \
-H "Authorization: Bearer cg_live_YOUR_KEY"Responsejson
{
"data": {
"base": "BTC",
"buyVolume": 12400000000,
"sellVolume": 11800000000,
"totalVolume": 24200000000,
"buyShare": 0.5124,
"sellShare": 0.4876,
"bias": 0.0248,
"venueCount": 5,
"lastTs": 1744834800000,
"windowHours": 24
},
"meta": { "total": 1, "windowHours": 24 }
}Next
Check the error code reference, or get an API key to try the request against your own account.