Mining Pool Overview
curl --request GET \
--url https://whitebit.com/api/v4/public/mining-poolimport requests
url = "https://whitebit.com/api/v4/public/mining-pool"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://whitebit.com/api/v4/public/mining-pool', 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/mining-pool",
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/mining-pool"
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/mining-pool")
.asString();require 'uri'
require 'net/http'
url = URI("https://whitebit.com/api/v4/public/mining-pool")
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{
"data": {
"connection_links": [
"stratum+tcp://1.1.1.1:80",
"stratum+tcp://1.1.1.2:80"
],
"location": "global",
"assets": [
"BTC"
],
"reward_schemes": [
"FPPS"
],
"workers": 1846,
"current_hash_rate": "39353570.8006319183174839",
"last7days_hash_rate": [
{
"timestamp": 1732579200,
"hashrate": "184425100325925.9259259259259259"
}
],
"blocks": [
{
"block_found_at": 1715339355,
"block_height": 18329
}
]
}
}Pool Overview
GET
/
api
/
v4
/
public
/
mining-pool
Mining Pool Overview
curl --request GET \
--url https://whitebit.com/api/v4/public/mining-poolimport requests
url = "https://whitebit.com/api/v4/public/mining-pool"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://whitebit.com/api/v4/public/mining-pool', 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/mining-pool",
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/mining-pool"
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/mining-pool")
.asString();require 'uri'
require 'net/http'
url = URI("https://whitebit.com/api/v4/public/mining-pool")
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{
"data": {
"connection_links": [
"stratum+tcp://1.1.1.1:80",
"stratum+tcp://1.1.1.2:80"
],
"location": "global",
"assets": [
"BTC"
],
"reward_schemes": [
"FPPS"
],
"workers": 1846,
"current_hash_rate": "39353570.8006319183174839",
"last7days_hash_rate": [
{
"timestamp": 1732579200,
"hashrate": "184425100325925.9259259259259259"
}
],
"blocks": [
{
"block_found_at": 1715339355,
"block_height": 18329
}
]
}
}Response
200 - application/json
Successful response
Show child attributes
Show child attributes
Was this page helpful?
⌘I