Daily positions on Lighter, dYdX and GMX

One snapshot per UTC day of the positions on Lighter, dYdX and GMX: totals per coin and the largest positions.

GET/api/v1/positions/dailyEvery key

Description

Daily snapshot of the positions on Lighter, Lighter RH, dYdX and GMX: these venues keep just the current state per account, so once per UTC day we store every position read within the last 24 hours. points: per day the venue's positions, accounts, long and short notional, long and short accounts and the long share in USD, for one coin or ALL (every position, no size floor; a day without a position of the coin reads zeros). positions: the largest stored positions of the newest day of the window (stored one by one from $10,000 notional), with account, side, size, entry and liquidation price (liqSource: reported by the venue or computed by us) and the time of their own last read. The history starts on the start day of the snapshot (firstDay); days before it are never filled in. Window: days, default 30, within the plan history (free key 30 days, keyless 24 h, Pro / API Dev 365 days, Desk / API Pro 1095 days).

Who can call it

Available with every key and keyless (X-Blockmetric-Access: public). Keys of Free accounts get free-tier data (real-time feeds, 30 days of history, heatmap over time for every coin over the last 30 days, liquidation levels now for every coin, the same as the free web plan); Pro and Desk keys the data of their plan; API Dev / API Pro raise the limits. Paid keys read the plan's history, the same on monthly and yearly billing: GET /me states the days.

No key
24 h
Free
30 days
Pro
1 year
Desk
3 years
API Dev
1 year
API Pro
3 years

History window per plan. Limits: Authentication & limits.

Parameters

Parameters of /positions/daily
ParameterDescription
venuestringrequiredlighter | lighter_rh | dydx | gmx. Required.one of lighter, lighter_rh, dydx, gmx
coinstringCoin (BTC, ETH, ...) or ALL (default) for every position of the venue.e.g. BTC
daysintegerUTC days back from today, default 30, clamped to the plan history (free key 30 days, keyless 24 h, Pro / API Dev 365 days, Desk / API Pro 1095 days).1–1095 · default 30 · e.g. 30
limitintegerLargest positions of the newest day, default 20, clamped to 1–500.1–500 · default 20 · e.g. 10

Response fields

Every success is { data, meta }; these are the fields of data. meta is the same on every endpoint.

    • venue"lighter" | "lighter_rh" | "dydx" | "gmx"Trading venue the row comes from.
    • coinstringCoin, or ALL.
    • daysintegerDays asked (UTC days back from today).
    • firstDaystring · nullableOldest stored day of the venue (YYYY-MM-DD); null before any snapshot.
    • lastDaystring · nullableNewest stored day of the venue.
    • points[]array of objectsOne point per stored day, oldest first.
    Show the 10 fields of points[]
    • points[].daystringUTC day (YYYY-MM-DD).
    • points[].tsstring (ISO 8601)Time of the snapshot.
    • points[].positionsintegerPositions of the coin (or every coin) read within the 24 hours before the snapshot.
    • points[].accountsintegerAccounts holding them.
    • points[].longUsdnumberLong notional (USD).
    • points[].shortUsdnumberShort notional (USD).
    • points[].longAccountsintegerAccounts long.
    • points[].shortAccountsintegerAccounts short.
    • points[].longSharenumber · nullablelongUsd ÷ (longUsd + shortUsd); null without positions.
    • points[].storedPositionsintegerPositions of that day stored one by one (from $10,000 notional).
    • positionsDaystring · nullableThe day of positions (the newest day of the window).
    • positions[]array of objectsLargest stored positions of positionsDay, largest first.
    Show the 10 fields of positions[]
    • positions[].accountstringHyperliquid address (lowercase); with venue "lighter" or "lighter_rh" the account index, "dydx" owner/subaccount number, "gmx" arb:0x… or avax:0x… (a second position of one coin in one wallet: /2).
    • positions[].coinstringCoin name as on Hyperliquid (BTC, kPEPE, HIP-3 names like xyz:TSLA).
    • positions[].side"long" | "short"Position side (long / short); for trades and orders the side named in the description.
    • positions[].sizenumberSize in coins.
    • positions[].positionUsdnumberNotional (USD).
    • positions[].entryPxnumber · nullableEntry price (null where the venue gives none).
    • positions[].liqPxnumber · nullableLiquidation price.
    • positions[].liqSource"reported" | "computed" · nullablereported by the venue or computed by us from its margin rules.
    • positions[].leveragenumber · nullableLeverage.
    • positions[].readAtstring (ISO 8601)Last read of the position before the snapshot.

Errors

Code snippets in these docs are licensed under MIT-0: copy them into your own code without attribution. The SDKs, CLI and MCP server are Apache-2.0; the name Blockmetric is not licensed (forks must be renamed). Data from the API is governed by the API terms; third-party exchange data by the exchange’s terms.

LiveHyperliquid markets 10sOperationalHyperliquid positions & whales 9sOperationalLiquidation heatmap & levels 12sOperationalLighter markets & liquidations 27sOperationalLighter positions & heatmap 19sOperationalLighter on Robinhood Chain: positions & heatmap 16sOperationalAster markets 14sOperationalBinance markets 1mOperationalBybit markets 45sOperationalGate markets 11sOperationalHTX markets 17sOperationalKuCoin markets 15sOperationalBinance liquidations 25sOperationalBybit liquidations 25sOperationalGate liquidations 24sOperationalHTX liquidations 25sOperationaldYdX positions & heatmap 12sOperationalGMX positions & heatmap 10sOperationalLong/short & open interest history 13sOperationalOrder books & trade flow 27sOperationalOn-chain transfers 7sOperationalSecurity monitor 1mOperationalBlockmetric Sentiment 13mOperationalAgency releases 6mOperationalAlert delivery 11sOperationalDataset files 20mOperational07:28:01 UTC