Get orderbook depth
curl --request GET \
--url https://exchange.kuru.io/api/v3/depthimport requests
url = "https://exchange.kuru.io/api/v3/depth"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://exchange.kuru.io/api/v3/depth', 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://exchange.kuru.io/api/v3/depth",
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://exchange.kuru.io/api/v3/depth"
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://exchange.kuru.io/api/v3/depth")
.asString();require 'uri'
require 'net/http'
url = URI("https://exchange.kuru.io/api/v3/depth")
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{
"lastUpdateId": 54467392,
"E": 1711000000000,
"T": 1711000000,
"bids": [
[
"100.50",
"10.5"
],
[
"100.49",
"5.0"
],
[
"100.48",
"8.3"
]
],
"asks": [
[
"100.51",
"8.2"
],
[
"100.52",
"12.0"
],
[
"100.53",
"6.5"
]
]
}{
"code": -1102,
"msg": "Mandatory parameter 'symbol' was not sent."
}{
"code": -1121,
"msg": "Invalid symbol."
}Market Data
Get orderbook depth
Get orderbook snapshot for a trading pair. Supports querying different consensus states.
Weight: 1 (limit ≤ 100) / 5 (limit 101–500) / 10 (limit 501–1000) / 20 (limit > 1000)
GET
/
api
/
v3
/
depth
Get orderbook depth
curl --request GET \
--url https://exchange.kuru.io/api/v3/depthimport requests
url = "https://exchange.kuru.io/api/v3/depth"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://exchange.kuru.io/api/v3/depth', 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://exchange.kuru.io/api/v3/depth",
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://exchange.kuru.io/api/v3/depth"
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://exchange.kuru.io/api/v3/depth")
.asString();require 'uri'
require 'net/http'
url = URI("https://exchange.kuru.io/api/v3/depth")
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{
"lastUpdateId": 54467392,
"E": 1711000000000,
"T": 1711000000,
"bids": [
[
"100.50",
"10.5"
],
[
"100.49",
"5.0"
],
[
"100.48",
"8.3"
]
],
"asks": [
[
"100.51",
"8.2"
],
[
"100.52",
"12.0"
],
[
"100.53",
"6.5"
]
]
}{
"code": -1102,
"msg": "Mandatory parameter 'symbol' was not sent."
}{
"code": -1121,
"msg": "Invalid symbol."
}Query Parameters
Trading pair symbol (e.g., MON_USDC, ETHUSDC)
Example:
"MON_USDC"
Number of levels to return (default 100, max 5000)
Required range:
1 <= x <= 5000Example:
100
Orderbook state to query (Monad-specific). Options:
proposed: Block startedvoted: QC receivedfinalized: Reorg-proofcommitted: State verified (default)
Available options:
proposed, voted, finalized, committed Example:
"committed"
Response
Successful response
Orderbook depth response
Block number of the snapshot
Example:
54467392
Block timestamp in milliseconds (T × 1000), sourced from the Monad block header
Example:
1711000000000
Block timestamp in Unix seconds, sourced from the Monad block header
Example:
1711000000
List of bid levels [price, quantity]
Required array length:
2 elementsExample:
[["100.50", "10.5"], ["100.49", "5.0"]]
List of ask levels [price, quantity]
Required array length:
2 elementsExample:
[["100.51", "8.2"], ["100.52", "12.0"]]