curl --request GET \
--url https://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/fundingimport requests
url = "https://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding', 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://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding",
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://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding"
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://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding")
.asString();require 'uri'
require 'net/http'
url = URI("https://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding")
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{
"tradingPairId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"currentFundingRate": "0.0001",
"estimatedNextFundingRate": "0.00012",
"nextFundingTime": "1754006400000",
"fundingIntervalSeconds": 3600,
"lastFundingTime": "1754002800000",
"updatedAt": "<string>"
}Get apiv1marketpairs funding
Funding state for a perp market.
curl --request GET \
--url https://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/fundingimport requests
url = "https://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding', 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://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding",
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://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding"
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://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding")
.asString();require 'uri'
require 'net/http'
url = URI("https://apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/funding")
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{
"tradingPairId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"currentFundingRate": "0.0001",
"estimatedNextFundingRate": "0.00012",
"nextFundingTime": "1754006400000",
"fundingIntervalSeconds": 3600,
"lastFundingTime": "1754002800000",
"updatedAt": "<string>"
}Path Parameters
Response
OK
Most recently SETTLED funding rate as a decimal-string fraction per funding interval; "0" when nothing has settled yet
"0.0001"
Implied rate for the in-progress window. An estimate refreshed on each accepted premium sample (roughly every sample interval plus persistence lag), not a real-time stream; absent when the window has no samples. A window that ends with too few accepted samples settles at zero instead, so the settled rate can differ from this estimate
"0.00012"
Scheduled end of the current funding window (ms epoch string), always after the response time: once a window's end passes, this is the following boundary, even before the new window's first sample is recorded. An estimate, not a guarantee: settlement lands at or shortly after this boundary when the market is alive, and boundaries that pass while the engine is down are skipped, never settled retroactively
"1754006400000"
Length of a funding window in seconds, inferred from settlement history and market configuration
3600
Close of the most recently settled window (ms epoch string); absent before the first settlement
"1754002800000"
Was this page helpful?

