Funding history
curl --request GET \
--url https://bendbasis.com/api/v1/public/funding/markets/{marketId}/historyimport requests
url = "https://bendbasis.com/api/v1/public/funding/markets/{marketId}/history"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://bendbasis.com/api/v1/public/funding/markets/{marketId}/history', 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://bendbasis.com/api/v1/public/funding/markets/{marketId}/history",
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://bendbasis.com/api/v1/public/funding/markets/{marketId}/history"
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://bendbasis.com/api/v1/public/funding/markets/{marketId}/history")
.asString();require 'uri'
require 'net/http'
url = URI("https://bendbasis.com/api/v1/public/funding/markets/{marketId}/history")
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[
{
"funding_time": "2026-03-04T12:00:00+00:00",
"apr": 10.95
},
{
"funding_time": "2026-03-04T08:00:00+00:00",
"apr": 3.09
}
]Funding
Funding history
Historical funding values for a specific market
GET
/
api
/
v1
/
public
/
funding
/
markets
/
{marketId}
/
history
Funding history
curl --request GET \
--url https://bendbasis.com/api/v1/public/funding/markets/{marketId}/historyimport requests
url = "https://bendbasis.com/api/v1/public/funding/markets/{marketId}/history"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://bendbasis.com/api/v1/public/funding/markets/{marketId}/history', 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://bendbasis.com/api/v1/public/funding/markets/{marketId}/history",
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://bendbasis.com/api/v1/public/funding/markets/{marketId}/history"
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://bendbasis.com/api/v1/public/funding/markets/{marketId}/history")
.asString();require 'uri'
require 'net/http'
url = URI("https://bendbasis.com/api/v1/public/funding/markets/{marketId}/history")
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[
{
"funding_time": "2026-03-04T12:00:00+00:00",
"apr": 10.95
},
{
"funding_time": "2026-03-04T08:00:00+00:00",
"apr": 3.09
}
]Use this endpoint to fetch funding history for a specific
marketId.
History updates after the actual funding payout is published. Refresh timing depends on the market’s funding period.
Was this page helpful?