Get futures coin markets
Get futures markets on different exchanges that trade a specific coin. On Coinranking, we use this endpoint on our futures coin market listings page.
https://api.coinranking.com/v2/futures/coin/:uuid/markets
Preview access
Free, Basic and Startup plans can test this endpoint with five successful requests per account per UTC day. Use the documented endpoint URL with your existing API key. Preview access is applied automatically. The allowance resets at 00:00 UTC.
All API keys, resource IDs, query parameters and pagination requests share this endpoint's allowance for your account. Failed requests do not consume the preview allowance. Successful previews also count toward your normal API usage, and your plan's result, historical-window and rate limits still apply. See endpoint previews for limits, response headers and quota errors.
Path parameters
| Parameter | Description |
|---|---|
uuid String | UUID of the coin whose futures markets you want to retrieve. UUIDs can be found using the coins endpoint or by checking the URL on coinranking.com. |
Query parameters
| Parameter | Description |
|---|---|
referenceCurrencyUuid (optional) String | UUID of coin (either fiat or crypto), in which all prices, volume, and open interest values are calculated. Defaults to US Dollar, but you can use any coin. You can find UUIDs for reference currencies in any coin endpoint, including a convenient dedicated reference currency endpoint. Default value: yhjMzLPhuIDlExample:
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?referenceCurrencyUuid=5k-_VTxqtCEI
|
search (optional) String | Filter markets by exchange name, base currency name or symbol. Example:
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?search=binance
|
orderBy (optional) String | Index to order the list by. Default value: openInterestAllowed values: openInterest 24hVolume price lastTickerCreatedAt Example:
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?orderBy=24hVolume
|
orderDirection (optional) String | Applies direction to the orderBy query. Default value: descAllowed values: desc asc Example:
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?orderDirection=asc
|
limit (optional) Number | Limit. Used for pagination. The maximum amount of results you can fetch in one request is 100 for Free and 5000 for all paid plans, including previews where available. Default value: 50Size range: 0-5000 Example:
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?limit=10
|
offset (optional) Number | Offset. Used for pagination. Default value: 0Example:
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?offset=50
|
cursor (optional) String |
Cursor for pagination. Use the
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?cursor=eyJ0IjoxLC...
|
Code examples
curl 'https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?orderBy=openInterest&limit=50' \
-H 'x-access-token: your-api-key' \
-G const options = {
headers: {
'x-access-token': 'your-api-key',
},
};
fetch('https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?orderBy=openInterest&limit=50', options)
.then((response) => response.json())
.then((result) => console.log(result)); <?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?orderBy=openInterest&limit=50",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"x-access-token: your-api-key"
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response; import requests
headers = {
'x-access-token': 'your-api-key'
}
response = requests.request("GET", "https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/markets?orderBy=openInterest&limit=50", headers=headers)
print(response.text) Response
HTTP/1.1 200 OK
{
"status": "success",
"data": {
"stats": {
"total": 150,
"24hVolume": "32400445942.00",
"openInterest": "28281554854.32"
},
"markets": [
{
"uuid": "9mm7u0M2fkO9R",
"rank": 1,
"base": {
"uuid": "Qwsogvtv82FCd",
"symbol": "BTC",
"name": "Bitcoin"
},
"quote": {
"uuid": "HIVsRcGKkPFtW",
"symbol": "USDT",
"name": "Tether"
},
"exchange": {
"uuid": "Ls9K5HaGJpOI",
"name": "Binance",
"iconUrl": "https://cdn.coinranking.com/binance.svg",
"websiteUrl": "https://www.binance.com"
},
"marketShare": "32.5",
"price": "65261.39",
"markPrice": "65265.00",
"indexPrice": "65258.50",
"btcPrice": "1",
"24hVolume": "12400000000.00",
"minuteVolume": "8611111.11",
"openInterest": "9200000000.00",
"fundingRate": "-0.0025",
"fundingIntervalHours": 8,
"recommended": true,
"filters": []
}
]
},
"pagination": {
"limit": 50,
"hasNextPage": true,
"hasPreviousPage": false,
"nextCursor": "eyJ0IjoxLC...",
"previousCursor": null
}
} Response fields
| Property | Description |
|---|---|
status String | Status of the request. Allowed values:success |
data.stats Object | Aggregate statistics across all markets for this coin (not just the current page). |
data.stats.total Number | Total number of active futures markets for this coin. |
data.stats.24hVolume String | Aggregate 24-hour trading volume across all markets, in the reference currency. |
data.stats.openInterest String | Aggregate open interest across all markets, in the reference currency. |
data.markets Object[] | List of futures markets for this coin. |
data.markets.uuid String | UUID of the futures market. |
data.markets.rank Number | Position in the ranked list. |
data.markets.base Object | Base currency of the trading pair. |
data.markets.base.uuid String | UUID of the base currency. |
data.markets.base.symbol String | Symbol of the base currency. |
data.markets.base.name String | Name of the base currency. |
data.markets.quote Object | Quote currency of the trading pair. |
data.markets.quote.uuid String | UUID of the quote currency. |
data.markets.quote.symbol String | Symbol of the quote currency. |
data.markets.quote.name String | Name of the quote currency. |
data.markets.exchange Object | Exchange this market belongs to. |
data.markets.exchange.uuid String | UUID of the exchange. |
data.markets.exchange.name String | Name of the exchange. |
data.markets.exchange.iconUrl String | Icon URL of the exchange. |
data.markets.exchange.websiteUrl String|null | Website URL of the exchange. |
data.markets.marketShare String|null | This market's share of the total 24h volume across all markets for this coin, as a percentage string. |
data.markets.price String|null | Latest futures price in the reference currency. |
data.markets.markPrice String|null | Mark price in the reference currency. Used by exchanges to calculate unrealized PnL and trigger liquidations. |
data.markets.indexPrice String|null | Index price in the reference currency. Typically a weighted average of spot prices across major exchanges. |
data.markets.btcPrice String|null | Price of the market expressed in Bitcoin. |
data.markets.24hVolume String|null | 24-hour trading volume in the reference currency. |
data.markets.minuteVolume String|null | Trading volume in the last minute, in the reference currency. |
data.markets.openInterest String|null | Open interest in the reference currency. |
data.markets.fundingRate String|null | Funding rate normalized to an 8-hour display convention. Null when not available. |
data.markets.fundingIntervalHours Number|null | Funding interval in hours as reported by the exchange (e.g. 8 for standard perpetuals). |
data.markets.recommended Boolean | Whether this market is recommended by Coinranking as a reliable data source. |
data.markets.filters String[] | Active filters applied to this market (e.g. volume anomaly flags). |
pagination Object | Pagination information. See Pagination for more details. |
pagination.limit Number | The number of results per page. |
pagination.hasNextPage Boolean | Whether there are more results available after the current page. |
pagination.hasPreviousPage Boolean | Whether there are results available before the current page. |
pagination.nextCursor String|null | Cursor to use for the next page, or null if there are no more results. |
pagination.previousCursor String|null | Cursor to use for the previous page, or null if on the first page. |
Error response
HTTP/1.1 404 Not Found
{
"status": "fail",
"type": "COIN_NOT_FOUND",
"message": "Coin not found"
} Error responses
| Error | Description |
|---|---|
VALIDATION_ERROR Object | The request could not be validated. The response should provide more details. |
REFERENCE_UNAVAILABLE Object | The reference currency used in the request is not available. Choose another UUID. |
INVALID_CURSOR Object | The cursor string is malformed or could not be decoded. Start pagination from the beginning without a cursor. |
CURSOR_MISMATCH Object | The cursor was created with different orderBy or orderDirection parameters. Match the original parameters or start over. |
PAGINATION_CONFLICT Object | Both cursor and offset parameters were provided. Use only one pagination method per request. |
| Error | Description |
|---|---|
COIN_NOT_FOUND Object | The coin could not be found. Try another UUID. |