Skip to main content
GET
/
v1
/
broker
/
leaderboard
/
daily
Get builder's leaderboard
curl --request GET \
  --url https://api.orderly.org/v1/broker/leaderboard/daily
import requests

url = "https://api.orderly.org/v1/broker/leaderboard/daily"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.orderly.org/v1/broker/leaderboard/daily', 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://api.orderly.org/v1/broker/leaderboard/daily",
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://api.orderly.org/v1/broker/leaderboard/daily"

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://api.orderly.org/v1/broker/leaderboard/daily")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.orderly.org/v1/broker/leaderboard/daily")

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
{
  "success": true,
  "data": {
    "rows": [
      {
        "account_id": "0x58220761ade872c94f85e62f1b24a74eec792aaa3677b6201071fd05c1698e89",
        "perp_volume": 451580.9523,
        "perp_maker_volume": 123.456,
        "perp_taker_volum": 123.456,
        "address": "0x0000000000",
        "realized_pnl": 111,
        "broker_id": "demo"
      }
    ],
    "snapshot_time": 1702989203989,
    "meta": {
      "records_per_page": 25,
      "current_page": 1,
      "total": 50
    }
  },
  "timestamp": 1702989203989
}

Query Parameters

start_date
string
required

Format YYYY-MM-DD

end_date
string
required

Format YYYY-MM-DD

page
number

start from 1

size
number
order_tag
string

Filter by a custom tag assigned to the order.

broker_id
string

if the broker_id is empty, return all users

sort
string

Allow sort by

ascending_realized_pnl descending_realized_pnl ascending_perp_volume descending_perp_volume

address
string
aggregateBy
string

address: Sum the value across all builders. address_per_builder: Sum the value separately for each builder.

Response

200 - application/json

OK

success
boolean
required

Indicates whether the request was successful.

Example:

true

data
object
required
timestamp
integer

Server timestamp in milliseconds.

Example:

1702989203989