cURL
curl --request GET \
--url https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summaryimport requests
url = "https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary', 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://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary",
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://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary"
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://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary")
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",
"symbol": "<string>",
"lastPrice": "<string>",
"markPrice": "<string>",
"indexPrice": "<string>",
"high24h": "<string>",
"low24h": "<string>",
"volume24h": "1234.5678",
"priceChange24h": "<string>",
"priceChangePercent24h": "<string>",
"openInterest": "12345.67",
"currentFundingRate": "<string>",
"estimatedNextFundingRate": "<string>",
"nextFundingTime": "<string>",
"marketStatus": "<string>",
"marketRegime": "<string>",
"updatedAt": "<string>",
"openInterestBase": "12345.67",
"openInterestNotional": "1172836500.00",
"quoteVolume24h": "117845632.18"
}Market
Get apiv1marketpairs perpsummary
Perp market summary combining public candles, risk marks, funding, and open interest.
GET
/
api
/
v1
/
market
/
pairs
/
{tradingPairId}
/
perp
/
summary
cURL
curl --request GET \
--url https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summaryimport requests
url = "https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary', 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://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary",
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://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary"
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://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/perp/summary")
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",
"symbol": "<string>",
"lastPrice": "<string>",
"markPrice": "<string>",
"indexPrice": "<string>",
"high24h": "<string>",
"low24h": "<string>",
"volume24h": "1234.5678",
"priceChange24h": "<string>",
"priceChangePercent24h": "<string>",
"openInterest": "12345.67",
"currentFundingRate": "<string>",
"estimatedNextFundingRate": "<string>",
"nextFundingTime": "<string>",
"marketStatus": "<string>",
"marketRegime": "<string>",
"updatedAt": "<string>",
"openInterestBase": "12345.67",
"openInterestNotional": "1172836500.00",
"quoteVolume24h": "117845632.18"
}Path Parameters
Response
200 - application/json
OK
Base-asset volume in the last 24 hours
Example:
"1234.5678"
Open interest in base-asset units (legacy alias of openInterestBase)
Example:
"12345.67"
Open interest in base-asset units (e.g. BTC)
Example:
"12345.67"
Open interest notional in quote units (openInterestBase x mark price, falling back to the last trade price when no mark is available)
Example:
"1172836500.00"
Quote-token (notional) volume summed over the available candles in the rolling 24h window; null when quote volume is unavailable
Example:
"117845632.18"
Was this page helpful?

