Available Futures Markets List
curl --request GET \
--url https://whitebit.com/api/v4/public/futuresimport requests
url = "https://whitebit.com/api/v4/public/futures"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://whitebit.com/api/v4/public/futures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://whitebit.com/api/v4/public/futures",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://whitebit.com/api/v4/public/futures"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://whitebit.com/api/v4/public/futures")
.asString();require 'uri'
require 'net/http'
url = URI("https://whitebit.com/api/v4/public/futures")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"message": null,
"result": [
{
"ticker_id": "BTC_PERP",
"stock_currency": "BTC",
"money_currency": "USDT",
"last_price": "24005.5",
"stock_volume": "196965.591",
"money_volume": "4737879075.7817",
"bid": "24005.4",
"ask": "24005.6",
"high": "24295.1",
"low": "23765.3",
"product_type": "Perpetual",
"open_interest": "6000",
"index_price": "24019.25",
"index_name": "Bitcoin",
"index_currency": "BTC",
"funding_rate": "0.000044889033693137",
"next_funding_rate_timestamp": "1660665600000",
"brackets": {
"1": 0,
"2": 0,
"3": 0,
"5": 0,
"10": 0,
"20": 0,
"50": 20,
"100": 50
},
"max_leverage": 100,
"funding_interval_minutes": 300
}
]
}Available futures markets list
Get a list of all available futures trading markets on WhiteBIT via the V4 API.
GET
/
api
/
v4
/
public
/
futures
Available Futures Markets List
curl --request GET \
--url https://whitebit.com/api/v4/public/futuresimport requests
url = "https://whitebit.com/api/v4/public/futures"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://whitebit.com/api/v4/public/futures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://whitebit.com/api/v4/public/futures",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://whitebit.com/api/v4/public/futures"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://whitebit.com/api/v4/public/futures")
.asString();require 'uri'
require 'net/http'
url = URI("https://whitebit.com/api/v4/public/futures")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"message": null,
"result": [
{
"ticker_id": "BTC_PERP",
"stock_currency": "BTC",
"money_currency": "USDT",
"last_price": "24005.5",
"stock_volume": "196965.591",
"money_volume": "4737879075.7817",
"bid": "24005.4",
"ask": "24005.6",
"high": "24295.1",
"low": "23765.3",
"product_type": "Perpetual",
"open_interest": "6000",
"index_price": "24019.25",
"index_name": "Bitcoin",
"index_currency": "BTC",
"funding_rate": "0.000044889033693137",
"next_funding_rate_timestamp": "1660665600000",
"brackets": {
"1": 0,
"2": 0,
"3": 0,
"5": 0,
"10": 0,
"20": 0,
"50": 20,
"100": 50
},
"max_leverage": 100,
"funding_interval_minutes": 300
}
]
}Was this page helpful?
⌘I