Get top traders over time
Your organization’s top traders by profit over a recent window, with each trader’s running total for every trading day, so you can show how the ranking developed.
Shape
traders lists the top traders by total profit over the window, highest first, with a display name and profile picture where the trader has set one. frames has one entry per trading day in order; values maps each trader’s userId to their running total up to and including that day. A trader’s profit is the sum over all of their accounts at your organization. Reverted trading days are excluded.
Results are recomputed at most every 15 minutes, so they can be up to 30 minutes old; daily profit is final after each trading day closes.
Filters
| Parameter | Type | Example | Description |
|---|---|---|---|
days | integer 7–90 | 30 | Calendar days to cover. Defaults to 30 |
limit | integer 3–20 | 12 | Number of traders. Defaults to 12 |
Error codes
| HTTP | Code | When |
|---|---|---|
| 400 | VALIDATION_ERROR | days or limit is out of range |
| 401 | UNAUTHORIZED | Missing or invalid API key |
| 403 | FORBIDDEN / INSUFFICIENT_PERMISSIONS | Token does not belong to any organization, or the role has no view access to “Traders & accounts” |
| 500 | TOP_TRADERS_ERROR | Internal error |
Example
curl -X GET "https://api.hyperprop.com/platform/v1/organization/analytics/top-traders?days=30&limit=10" \
-H "X-API-Key: hp_live_your_key_here"
Permissions: requires view access to “Traders & accounts”, because the result names traders.
Authentication: send your organization API key in the X-API-Key header.
Access: read-only and full-access API keys. Dashboard members need view access to Traders & accounts.
curl --request GET \
--url https://api.hyperprop.com/platform/v1/organization/analytics/top-traders \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hyperprop.com/platform/v1/organization/analytics/top-traders"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.hyperprop.com/platform/v1/organization/analytics/top-traders', 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.hyperprop.com/platform/v1/organization/analytics/top-traders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.hyperprop.com/platform/v1/organization/analytics/top-traders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.hyperprop.com/platform/v1/organization/analytics/top-traders")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/organization/analytics/top-traders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"organizationId": "55555555-5555-4555-8555-555555555555",
"organizationName": "Acme Trading",
"generatedAt": "2026-10-11T10:30:00.000Z",
"days": 30,
"traders": [
{
"userId": "22222222-2222-4222-8222-222222222222",
"name": "Ana Ruiz",
"avatarUrl": "https://example.com/avatars/ana.png",
"totalPnl": 18420.5
}
],
"frames": [
{
"tradingDay": "2026-10-09",
"values": {
"22222222-2222-4222-8222-222222222222": 12650
}
}
]
}
}{
"success": false,
"statusCode": 400,
"error": "Bad Request",
"message": "\"days\" must be less than or equal to 90",
"code": "VALIDATION_ERROR"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Invalid or expired token",
"code": "UNAUTHORIZED"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "You do not belong to any organization",
"code": "FORBIDDEN"
}{
"success": false,
"statusCode": 429,
"error": "Too Many Requests",
"message": "Too many requests to this endpoint. Try again in 12 second(s).",
"code": "RATE_LIMITED"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An error occurred fetching top traders",
"code": "TOP_TRADERS_ERROR"
}{
"success": false,
"statusCode": 503,
"error": "Service Unavailable",
"message": "The report took too long right now; try again later",
"code": "REPORT_TIMEOUT"
}{
"statusCode": 504,
"error": "Gateway Timeout",
"message": "The request did not complete within 25 seconds. Try again, or narrow it (for example a shorter date range).",
"code": "REQUEST_TIMEOUT"
}Authorizations
Organization API key (hp_live_...), sent in the X-API-Key header. Create, rotate and restrict keys in the dashboard or with the API keys endpoints; an organization can have two active keys, so you can rotate without downtime. A full-access key can call every endpoint in this reference. A read-only key can call GET endpoints (and create a trading stream token); any other request returns 403 READ_ONLY_KEY. A key with an IP allowlist returns 403 IP_NOT_ALLOWED from any other address. Each endpoint lists which keys can call it under Access.
Headers
Query Parameters
curl --request GET \
--url https://api.hyperprop.com/platform/v1/organization/analytics/top-traders \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hyperprop.com/platform/v1/organization/analytics/top-traders"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.hyperprop.com/platform/v1/organization/analytics/top-traders', 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.hyperprop.com/platform/v1/organization/analytics/top-traders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.hyperprop.com/platform/v1/organization/analytics/top-traders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.hyperprop.com/platform/v1/organization/analytics/top-traders")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/organization/analytics/top-traders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"organizationId": "55555555-5555-4555-8555-555555555555",
"organizationName": "Acme Trading",
"generatedAt": "2026-10-11T10:30:00.000Z",
"days": 30,
"traders": [
{
"userId": "22222222-2222-4222-8222-222222222222",
"name": "Ana Ruiz",
"avatarUrl": "https://example.com/avatars/ana.png",
"totalPnl": 18420.5
}
],
"frames": [
{
"tradingDay": "2026-10-09",
"values": {
"22222222-2222-4222-8222-222222222222": 12650
}
}
]
}
}{
"success": false,
"statusCode": 400,
"error": "Bad Request",
"message": "\"days\" must be less than or equal to 90",
"code": "VALIDATION_ERROR"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Invalid or expired token",
"code": "UNAUTHORIZED"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "You do not belong to any organization",
"code": "FORBIDDEN"
}{
"success": false,
"statusCode": 429,
"error": "Too Many Requests",
"message": "Too many requests to this endpoint. Try again in 12 second(s).",
"code": "RATE_LIMITED"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An error occurred fetching top traders",
"code": "TOP_TRADERS_ERROR"
}{
"success": false,
"statusCode": 503,
"error": "Service Unavailable",
"message": "The report took too long right now; try again later",
"code": "REPORT_TIMEOUT"
}{
"statusCode": 504,
"error": "Gateway Timeout",
"message": "The request did not complete within 25 seconds. Try again, or narrow it (for example a shorter date range).",
"code": "REQUEST_TIMEOUT"
}