curl --request GET \
--url https://whitebit.com/api/v4/public/funding-history/{market}import requests
url = "https://whitebit.com/api/v4/public/funding-history/{market}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://whitebit.com/api/v4/public/funding-history/{market}', 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/funding-history/{market}",
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/funding-history/{market}"
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/funding-history/{market}")
.asString();require 'uri'
require 'net/http'
url = URI("https://whitebit.com/api/v4/public/funding-history/{market}")
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_bodyFunding history
The endpoint returns the funding rate history for a specified futures market. Use the response to analyze historical funding rate trends and settlement prices. Results are sorted by funding time in descending order and support offset-based pagination via limit and offset parameters.
Rate limit 2000 requests/10 sec.
This endpoint supports pagination. Use limit (default: 100, max: 100) and offset (default: 0, max: 1000000) to page through results.
The response is a plain array with no total, has_more, or cursor — a returned count below limit marks the last page (an empty array means no further records).
Funding history is served per request at the API layer, with no application-level cache.
curl --request GET \
--url https://whitebit.com/api/v4/public/funding-history/{market}import requests
url = "https://whitebit.com/api/v4/public/funding-history/{market}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://whitebit.com/api/v4/public/funding-history/{market}', 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/funding-history/{market}",
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/funding-history/{market}"
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/funding-history/{market}")
.asString();require 'uri'
require 'net/http'
url = URI("https://whitebit.com/api/v4/public/funding-history/{market}")
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_bodyPath Parameters
Market name (e.g., BTC_PERP)
^[A-Z0-9]+_[A-Z0-9]+$"BTC_PERP"
Query Parameters
Start timestamp in seconds
x >= 01752480000
End timestamp in seconds
x >= 01752537600
Number of records to return. Default: 100, Maximum: 100
1 <= x <= 100100
Number of records to skip. Maximum: 1000000
0 <= x <= 10000000
Response
Successful response
Unix timestamp in seconds when the funding settlement executed.
"1752537600"
Funding rate applied at the settlement interval. Each record represents a historical settlement event.
"-0.0001229"
Futures market pair name (e.g., BTC_PERP).
"BTC_PERP"
Mark price in the quote currency at the time of funding settlement.
"119816.5"
Unix timestamp in seconds when the funding rate was calculated. The rate is computed before the actual settlement.
"1752508800"
Was this page helpful?