Don't invest unless you're prepared to lose all the money you invest. This is a high-risk investment and you should not expect to be protected if something goes wrong. Take 2 mins to learn more.

DecryptrDevelopers
Market data

Long and short accounts per exchange

get/v1/market/long-short/exchanges

https://data.decryptr.ai/v1/market/long-short/exchanges

  • API planStarter and above
  • Scopederivatives:read
  • Cost1 unit per item returned, at least one item's worth. The request first reserves limit x 1 unit (and is refused with 429 if that many are not available), then pays only for what came back. How units are counted
  • CreditIncludes data from Coinalyze.

Rate limits by plan

PlanUnits a monthPer secondPer minuteMost per request
Starter50,00056025
Pro300,0001530050
Business1,500,00040900100
EnterpriseAgreedAgreedAgreedAgreed

A 429 carries the full rate-limit header set and a Retry-After. Rate limits

Errors

  • 400The request was refused before any data was read. Nothing is charged.
  • 401No usable key. Nothing is charged.
  • 402The account cannot use the API until billing is sorted. Nothing is charged.
  • 403The key may not use this endpoint. Nothing is charged.
  • 429A limit was reached (units or streams). Nothing was read and nothing is charged. Wait Retry-After seconds, back off with jitter, or ask for fewer items.
  • 500Something failed on our side. Nothing is charged. Retry with backoff.
  • 503The API is switched off, busy, or a query ran too long. Nothing is charged. Retry after Retry-After seconds.

Errors follow RFC 9457. Every error code

The share of accounts long and short on each exchange for one coin, as Coinalyze last reported it when the Decryptr app asked (cached by Decryptr; fetched_at says when). Ordered by exchange name.

Served during Decryptr's friends-only testing: the exchange, CoinGecko and Coinalyze data behind it is used on Decryptr's own risk acceptance of those sources' terms, so this endpoint may be restricted or withdrawn before general availability. Keep the attribution line and meta.source with the data.

Cost: 1 unit per item returned, at least one item's worth. The request first reserves limit x 1 unit (and is refused with 429 if that many are not available), then pays only for what came back.

Needs scope derivatives:read and the starter plan or above.

Authorization

headerAuthorizationBearer <dcr_live_<8 hex>_<43 base64url> or dcr_test_...>

Your API key as a Bearer token: Authorization: Bearer dcr_live_....

Query Parameters

asset*string

Asset symbol, letters and digits, case-insensitive (required).

Match^[A-Za-z0-9]{1,15}$
limit?integer

Items to return, 1 to 100. Your plan allows max_page units per request (Developer 10, Starter 25, Pro 50, Business 100), so at most max_page divided by this endpoint's units per item. Default 20, or that maximum if lower. The request reserves limit x units per item before it runs: ask only for what you need.

Range1 <= value <= 100

Response Body

OK.

application/json
  1. response
data*array<>
as_of*string

When the response was made.

Formatdate-time
attribution*string

Attribution you must keep with this data.

disclaimer*string

Plain-language notice. Information only, not financial advice.

meta*

Where the figures come from.

curl -X GET 'https://data.decryptr.ai/v1/market/long-short/exchanges?asset=BTC&limit=10'
Example Response
{  "data": [    {      "asset": "BTC",      "exchange": "Binance",      "symbol": "BTCUSDT_PERP.A",      "at": "2026-10-23T12:00:00.000Z",      "fetched_at": "2026-10-23T12:00:00.000Z",      "ratio": 2.4,      "long_pct": 70.6,      "short_pct": 29.4    },    {      "asset": "BTC",      "exchange": "Bybit",      "symbol": "BTCUSDT_PERP.A",      "at": "2026-10-23T12:00:00.000Z",      "fetched_at": "2026-10-23T12:00:00.000Z",      "ratio": 2.1,      "long_pct": 67.7,      "short_pct": 32.3    }  ],  "as_of": "2026-10-23T12:12:30.000Z",  "attribution": "Includes data from Coinalyze.",  "disclaimer": "Information only, not financial advice.",  "meta": {    "source": "Coinalyze, as cached by Decryptr"  }}

Long and short ratios (Binance) GET

Binance USD-M long to short ratios every 5 minutes, newest first: top traders' accounts and positions, all accounts, and taker volume. A ratio above 1 means more long than short. Kept by Decryptr for about 30 major coins. Not found when the archive holds none. Served during Decryptr's friends-only testing: the exchange, CoinGecko and Coinalyze data behind it is used on Decryptr's own risk acceptance of those sources' terms, so this endpoint may be restricted or withdrawn before general availability. Keep the attribution line and meta.source with the data. Cost: 1 unit per item returned, at least one item's worth. The request first reserves limit x 1 unit (and is refused with 429 if that many are not available), then pays only for what came back. Needs scope `derivatives:read` and the starter plan or above.

Liquidation heatmap history GET

Where open Hyperliquid positions on one asset would be liquidated, summed into equal price buckets (bucket i covers price_floor + i x bucket_size up to the next), newest first: every 10 minutes for 7 days, then hourly. Snapshots resting on fewer than 5 accounts are left out and no address is ever shown. Served during Decryptr's friends-only testing: the exchange, CoinGecko and Coinalyze data behind it is used on Decryptr's own risk acceptance of those sources' terms, so this endpoint may be restricted or withdrawn before general availability. Keep the attribution line and meta.source with the data. Cost: 2 units per item returned, at least one item's worth. The request first reserves limit x 2 units (and is refused with 429 if that many are not available), then pays only for what came back. Needs scope `liquidations:read` and the starter plan or above.