Liquidation Events
curl --request GET \
--url https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/liquidation-eventsimport requests
url = "https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/liquidation-events"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/liquidation-events', 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}/liquidation-events",
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}/liquidation-events"
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}/liquidation-events")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/liquidation-events")
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",
"events": [
{
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": 1736742000123,
"tradingPairId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"wallet": "0x1234567890abcdef1234567890abcdef12345678",
"side": "LONG",
"positionSize": "0.25",
"markPrice": "95410.25",
"markNotional": "23852.5625",
"quoteAssetSymbol": "USDC"
}
],
"pageSize": 50,
"nextPageToken": "<string>"
}Market
Liquidation Events
Stored liquidation events for one market. Wallet-addressed events are newest-first and keyset-paged; event and side-summary reads remain separate so clients can fetch either surface independently.
GET
/
api
/
v1
/
market
/
pairs
/
{tradingPairId}
/
liquidation-events
Liquidation Events
curl --request GET \
--url https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/liquidation-eventsimport requests
url = "https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/liquidation-events"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/liquidation-events', 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}/liquidation-events",
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}/liquidation-events"
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}/liquidation-events")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging.apimonaco.xyz/api/v1/market/pairs/{tradingPairId}/liquidation-events")
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",
"events": [
{
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": 1736742000123,
"tradingPairId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"wallet": "0x1234567890abcdef1234567890abcdef12345678",
"side": "LONG",
"positionSize": "0.25",
"markPrice": "95410.25",
"markNotional": "23852.5625",
"quoteAssetSymbol": "USDC"
}
],
"pageSize": 50,
"nextPageToken": "<string>"
}Path Parameters
Query Parameters
Start time as Unix timestamp (milliseconds)
Required range:
0 <= x <= 4102444800000End time as Unix timestamp (milliseconds)
Required range:
0 <= x <= 4102444800000Events per page (max 1000)
Required range:
1 <= x <= 1000Opaque keyset cursor from the previous response. The token is bound to this pair and the requested time filters.
Response
OK
Trading pair UUID
Events in reverse chronological order (newest first). Each row contains only public event fields.
Show child attributes
Show child attributes
Number of events requested for this page
Example:
50
Opaque cursor for the next page; empty when the page is the end of the ordered result
Was this page helpful?

