Skip to main content
Loading market data…
GET/api/v1/dex/dydx/marketsStandard tier+ · 300 req/min

Every dYdX v4 perpetual market.

Unified DEX market shape for dYdX v4 — OI, funding (8h cadence), 24h volume / trades, 24h mark-price change.

Query parameters

All query parameters are optional unless marked required.

NameTypeRequiredDefaultDescription
limitnumberoptional200
Max markets. Max 1000.

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; ... }
// }

{ source; displayName; chain; totalOiUsd; totalVolume24hUsd; lastTs; markets: DexMarketRow[] }

Example

Copy the curl, replace YOUR_KEY with a real key from your dashboard, and run.

Requestbash
curl -sS "http://localhost:3000/api/v1/dex/dydx/markets?limit=10"
Responsejson
{ "data": { "source": "dydx_v4", "displayName": "dYdX v4", "markets": [] }, "meta": { "total": 0, "limit": 10 } }

Next

Check the error code reference, or get an API key to try the request against your own account.