GET
/api/v1/dex/gmx/statsStandard tier+ · 300 req/minPer-chain GMX v2 breakdown — Arbitrum vs Avalanche.
Without `?chain`, returns both chains keyed by slug. With `?chain=arb` or `?chain=avax`, returns a single breakdown. Chain split is heuristic today (AVAX-native bases → Avalanche).
Query parameters
All query parameters are optional unless marked required.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| chain | enum | optional | — | Chain selector. Omit for both chains. arbavax |
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; ... }
// }
// both chains:
{ arb: GmxChainBreakdown; avax: GmxChainBreakdown }
// single chain:
GmxChainBreakdownExample
Copy the curl, replace YOUR_KEY with a real key from your dashboard, and run.
Requestbash
curl -sS "http://localhost:3000/api/v1/dex/gmx/stats?chain=arb"Responsejson
{ "data": { "chain": "arb", "label": "Arbitrum", "oiUsd": 0, "volume24hUsd": 0, "marketCount": 0, "markets": [], "lastTs": null }, "meta": { "total": 0, "chain": "arb" } }Next
Check the error code reference, or get an API key to try the request against your own account.