/api/p3/gainers-losers
GETAvailable

Gainers & losers (futures or spot)

Gainers & losers (futures or spot)

GET/api/p3/gainers-losers

Request

Query parameters

NameTypeRequiredDefaultAllowed valuesDescription
windowstringOptional24h1h, 24h, 7dWindow (not validated; only 1h/24h/7d are recognised). Example: 24h
marketstringOptionalfuturesfutures, spotMarket type. Example: futures
limitintegerOptional50≤ 100Number of rows to return.

Example request

curl -s "https://www.coinboss.com/api/p3/gainers-losers?window=24h&market=futures"

Response fields

The field table is generated from real responses, so it lists exactly what the endpoint returns. Paths use a[] for array items and {*} for objects keyed by a dynamic name such as a coin or an exchange.

FieldTypeUnitDescription
successboolean—true when the request succeeded. On failure the body is `{ success: false, code, error, request_id }`.
nownumbermsServer time when the response was built.
windowstring—Window.
marketstring—Market.
gainersarray—Largest gains.
gainers[]object—Largest gains.
gainers[].coinstring—Coin symbol, upper case (for example BTC).
gainers[].pricenumber—Last price in the quote currency (USD or USDT unless stated).
gainers[].change_pctnumber%Percentage change.
gainers[].volnumber—Volume.
losersarray—Largest losses.
losers[]object—Largest losses.
losers[].coinstring—Coin symbol, upper case (for example BTC).
losers[].pricenumber—Last price in the quote currency (USD or USDT unless stated).
losers[].change_pctnumber%Percentage change.
losers[].volnumber—Volume.

Generated 2026-11-11 23:00 UTC from 1 real responses.

Example response

/api/p3/gainers-losers?window=24h&market=futures · Real response captured 2026-11-13 01:42:31 UTC. Long arrays and maps are shortened for display: losers had 50 items; gainers had 50 items.

  • {
    • "success": true,
    • "now": 1794534151135,
    • "window": "24h",
    • "market": "futures",
    • "gainers": [
      • { … 4 },
      • { … 4 }
      ],
    • "losers": [
      • { … 4 },
      • { … 4 }
      ]
    }

Details

Authentication
None. Public endpoint.
Rate limit
1200 requests per minute per IP
Server cache
60s
Edge micro-cache
10s
Update frequency
tickers every 60 s; price snapshots every 5 min; klines every 5 min (top coins); third-party market-data aggregator data every 10 min
Window
window param: 5m | 15m | 30m | 1h | 4h | 12h | 24h (default 24h); spot market supports 1h / 24h / 7d
Data sources
Futures price changes computed in-house from exchange tickers and Binance futures klines; the spot market view uses third-party market-data aggregator price-change and volume data.
Exchange coverage
futures list limited to coins present in the coin master table; spot list requires 24 h volume > 100k USD and a market-cap rank
Pagination
limit (default 50, max 100) for each of gainers and losers
Sorting
change desc (gainers) / asc (losers)
Units
change in percent; price in USD; volume in USD
Method
futures 24h: change_pct of the highest-volume ticker (total volume > 500k USD); futures 1h / 4h / 12h: latest 1 h close vs the 1 h close at window start; 5m / 15m / 30m: latest price vs 5-minute price snapshot; spot: third-party market-data aggregator change_1h / 24h / 7d
Timestamps
Unix epoch milliseconds (UTC) unless the field description says otherwise
Response format
json
Stability
Stable

Live status

AvailableChecked 2026-11-13 01:42:31 UTCHTTP 20060 msSchema matches

Availability, last 30 days

100% of 384 checks passed

Errors

Failed calls share one shape on every endpoint. The full list is on the errors page. Errors and rate limits →

CodeHTTPMeaningWhat to do
INVALID_PARAM400A required parameter is missing or a value is not accepted. `param` names the parameter when it is known.Do not retry unchanged; fix the request.
UNAUTHORIZED401The `CB-API-KEY` header was sent but the key is unknown or revoked. Public data needs no key — drop the header or use a valid key.Do not retry unchanged.
FORBIDDEN403The route is not part of the public API (internal or account-only).Do not retry.
NOT_FOUND404Unknown route, or the requested coin / exchange / fund does not exist.Do not retry; check the path and identifiers against the catalog.
RATE_LIMITED429More requests than the per-minute limit. `Retry-After` gives the seconds to wait.Wait for `Retry-After`, then retry with backoff.
INTERNAL500Unexpected server error. The message is generic by design; quote `request_id` when reporting it.Retry once after a few seconds; report it with the request id if it persists.
UPSTREAM_FAILED503The data source behind this endpoint did not answer in time. No stale or substitute numbers are returned in its place.Retry with backoff; check the status page.
UNAVAILABLE501 / 503The dataset is temporarily not ready (cache warming) or the endpoint has no lawful public source yet.Retry later; the catalog marks endpoints that are unavailable by design.
REQUEST_FAILED200Some older endpoints answer HTTP 200 with `success: false`. Always check `success`, not only the HTTP status.Depends on the message; treat as a failed request.

Try it

GET/api/p3/gainers-losersAvailable
Parameters

string · default 24h — Window (not validated; only 1h/24h/7d are recognised).

string · default futures — Market type.

integer · default 50 · max 100 — Number of rows to return.

Request URLhttps://www.coinboss.com/api/p3/gainers-losers?window=24h&market=futures
Choose an endpoint and press “Send request”. The response, headers and timing will appear here.