Gainers & losers (futures or spot)
Gainers & losers (futures or spot)
/api/p3/gainers-losersRequest
Query parameters
| Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| window | string | Optional | 24h | 1h, 24h, 7d | Window (not validated; only 1h/24h/7d are recognised). Example: 24h |
| market | string | Optional | futures | futures, spot | Market type. Example: futures |
| limit | integer | Optional | 50 | ≤ 100 | Number 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.
| Field | Type | Unit | Description |
|---|---|---|---|
| success | boolean | — | true when the request succeeded. On failure the body is `{ success: false, code, error, request_id }`. |
| now | number | ms | Server time when the response was built. |
| window | string | — | Window. |
| market | string | — | Market. |
| gainers | array | — | Largest gains. |
| gainers[] | object | — | Largest gains. |
| gainers[].coin | string | — | Coin symbol, upper case (for example BTC). |
| gainers[].price | number | — | Last price in the quote currency (USD or USDT unless stated). |
| gainers[].change_pct | number | % | Percentage change. |
| gainers[].vol | number | — | Volume. |
| losers | array | — | Largest losses. |
| losers[] | object | — | Largest losses. |
| losers[].coin | string | — | Coin symbol, upper case (for example BTC). |
| losers[].price | number | — | Last price in the quote currency (USD or USDT unless stated). |
| losers[].change_pct | number | % | Percentage change. |
| losers[].vol | number | — | 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"
- "losers"
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
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 →
| Code | HTTP | Meaning | What to do |
|---|---|---|---|
| INVALID_PARAM | 400 | A 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. |
| UNAUTHORIZED | 401 | The `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. |
| FORBIDDEN | 403 | The route is not part of the public API (internal or account-only). | Do not retry. |
| NOT_FOUND | 404 | Unknown route, or the requested coin / exchange / fund does not exist. | Do not retry; check the path and identifiers against the catalog. |
| RATE_LIMITED | 429 | More requests than the per-minute limit. `Retry-After` gives the seconds to wait. | Wait for `Retry-After`, then retry with backoff. |
| INTERNAL | 500 | Unexpected 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_FAILED | 503 | The 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. |
| UNAVAILABLE | 501 / 503 | The 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_FAILED | 200 | Some 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
/api/p3/gainers-losersAvailablestring · 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.
https://www.coinboss.com/api/p3/gainers-losers?window=24h&market=futuresMore in this category
- Coin heatmap data /api/coin-heatmap
- Full coin list /api/coins/all
- Coin search /api/coins/search
- Coin-page exchange table /api/currency/ex-table
- Coin money flow /api/currency/flows
- Coin list for navigation /api/currency/list
- Per-exchange markets for one coin /api/currency/markets
- Coin detail overview /api/currency/overview
- Coin price performance across periods /api/currency/performance
- Spot taker net inflow for one coin /api/currency/spot-netflow
- Margin borrow-rate matrix /api/margin-fee/matrix
- Margin borrow rates /api/margin/rates
- Gainers & losers (with volume floor) /api/market/gainers-losers
- Quick movers snapshot for top market-cap coins /api/market/top-movers
- Monthly / quarterly / yearly return matrix /api/p3/btc-returns
- Daily return matrix /api/p3/btc-returns-daily
- Weekly return matrix /api/p3/btc-returns-weekly
- Gainers & losers (futures or spot) /api/p3/gainers-losers
- Hourly candles /api/p3/klines
- Volatility overview /api/p3/volatility
- Volatility history for one coin /api/p3/volatility/series
- Spot coin market list /api/spot/coins
- Coin volume page data /api/volume/coin