Get futures coin exchanges
Get a list of futures exchanges where a specific coin can be traded. On Coinranking, we use this endpoint on our futures coin exchange listings page.
https://api.coinranking.com/v2/futures/coin/:uuid/exchanges
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 exchanges 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/exchanges?referenceCurrencyUuid=5k-_VTxqtCEI
|
uuids (optional) Array | UUIDs to filter the list on. If you know the UUIDs of the exchanges you want to fetch, you can use this filter to get specific exchanges. Example:
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/exchanges?uuids[]=Ls9K5HaGJpOI
|
search (optional) String | Filter exchanges by name prefix. Example:
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/exchanges?search=binance
|
orderBy (optional) String | Index to order the list by. Default value: openInterestAllowed values: openInterest 24hVolume numberOfMarkets numberOfCoins lastTickerCreatedAt Example:
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/exchanges?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/exchanges?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/exchanges?limit=10
|
offset (optional) Number | Offset. Used for pagination. Default value: 0Example:
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/exchanges?offset=50
|
cursor (optional) String |
Cursor for pagination. Use the
https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/exchanges?cursor=eyJ0IjoxLC...
|
Code examples
curl 'https://api.coinranking.com/v2/futures/coin/Qwsogvtv82FCd/exchanges?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/exchanges?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/exchanges?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/exchanges?orderBy=openInterest&limit=50", headers=headers)
print(response.text) Response
HTTP/1.1 200 OK
{
"status": "success",
"data": {
"stats": {
"total": 10,
"24hVolume": "33710029708.55014",
"openInterest": "17321368464.034107"
},
"exchanges": [
{
"uuid": "-zdvbieRdZ",
"rank": 1,
"name": "Binance",
"iconUrl": "https://cdn.coinranking.com/mDTK5qrmq/binance.svg",
"coinrankingUrl": "https://coinranking.com/exchange/-zdvbieRdZ+binance",
"btcPrice": "0.0272752330749697387",
"numberOfMarkets": 3,
"exchangeType": "Centralized",
"price": "1773.8848625903568",
"24hVolume": "10523187054.205961",
"openInterest": "5434995835.769092"
}
]
},
"pagination": {
"limit": 50,
"hasNextPage": false,
"hasPreviousPage": false,
"nextCursor": null,
"previousCursor": null
}
} Response fields
| Property | Description |
|---|---|
status String | Status of the request. Allowed values:success |
data.stats Object | Aggregate statistics across all exchanges for this coin (not just the current page). |
data.stats.total Number | Total number of exchanges with futures markets for this coin. |
data.stats.24hVolume String | Aggregate 24-hour trading volume across all exchanges, in the reference currency. |
data.stats.openInterest String | Aggregate open interest across all exchanges, in the reference currency. |
data.exchanges[] Object[] | List of exchanges with futures markets for this coin. |
data.exchanges[].uuid String | UUID of the exchange. |
data.exchanges[].rank Number | Position in the ranked list. |
data.exchanges[].name String | Name of the exchange. |
data.exchanges[].iconUrl String | Icon URL of the exchange. |
data.exchanges[].exchangeType String|null | Type of the exchange (e.g. |
data.exchanges[].coinrankingUrl String | Where to find the exchange on coinranking.com. |
data.exchanges[].price String|null | Volume-weighted average futures price on this exchange, in the reference currency. |
data.exchanges[].btcPrice String|null | Price of the coin on this exchange expressed in Bitcoin. |
data.exchanges[].24hVolume String|null | 24-hour trading volume on this exchange, in the reference currency. |
data.exchanges[].openInterest String|null | Open interest on this exchange, in the reference currency. |
data.exchanges[].numberOfMarkets Number | Number of futures markets for this coin on the exchange. |
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. |