Top traders (tier <= 2)
curl --request GET \
--url https://api.coinstats.app/v1/prediction/traders/top \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.coinstats.app/v1/prediction/traders/top"
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.coinstats.app/v1/prediction/traders/top', 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.coinstats.app/v1/prediction/traders/top",
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.coinstats.app/v1/prediction/traders/top"
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.coinstats.app/v1/prediction/traders/top")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coinstats.app/v1/prediction/traders/top")
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,
"timestamp": "2025-06-19T12:00:00.000Z",
"data": [
{
"walletAddress": "0xabc...",
"username": "<string>",
"displayName": "<string>",
"profileImageUrl": "<string>",
"bio": "<string>",
"xUsername": "<string>",
"volume": 123,
"volume24hr": 123,
"volume7d": 123,
"volume30d": 123,
"pnl": 123,
"pnl24hr": 123,
"pnl7d": 123,
"pnl30d": 123,
"pnl1d": 123,
"pnl14d": 123,
"pnl90d": 123,
"unrealizedPnl": 123,
"winCount": 123,
"lossCount": 123,
"winAmount": 123,
"lossAmount": 123,
"totalPositions": 123,
"roi": 123,
"score": 123,
"tags": [
"<string>"
],
"rank": 123,
"rankByVolume": 123,
"rankByPnl": 123,
"winRate": 123,
"totalTrades": 123,
"marketsTraded": 123,
"avgPositionSize": 123,
"tier": 1,
"isHotTop": true,
"isWhale": true,
"isSmartMoney": true,
"positions": [
{
"conditionId": "<string>",
"clobTokenId": "<string>",
"marketSlug": "<string>",
"marketTitle": "<string>",
"outcome": "<string>",
"size": 123,
"avgPrice": 123,
"currentPrice": 123,
"initialValue": 123,
"currentValue": 123,
"cashPnl": 123,
"percentPnl": 123
}
],
"positionsCount": 123,
"positionsValue": 123,
"dataTruncated": true,
"cashBalance": 123,
"cashBalanceAt": "2023-11-07T05:31:56Z"
}
]
}{
"statusCode": 400,
"message": "Bad Request",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 401,
"message": "Unauthorized",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 403,
"message": "Forbidden",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 404,
"message": "Not Found",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 409,
"message": "Transactions not synced",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 429,
"message": "Rate limit exceeded",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 503,
"message": "Service Unavailable. Please Contact Support"
}Prediction · Traders
Top Traders
Top traders (tier <= 2)
GET
/
v1
/
prediction
/
traders
/
top
Top traders (tier <= 2)
curl --request GET \
--url https://api.coinstats.app/v1/prediction/traders/top \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.coinstats.app/v1/prediction/traders/top"
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.coinstats.app/v1/prediction/traders/top', 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.coinstats.app/v1/prediction/traders/top",
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.coinstats.app/v1/prediction/traders/top"
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.coinstats.app/v1/prediction/traders/top")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coinstats.app/v1/prediction/traders/top")
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,
"timestamp": "2025-06-19T12:00:00.000Z",
"data": [
{
"walletAddress": "0xabc...",
"username": "<string>",
"displayName": "<string>",
"profileImageUrl": "<string>",
"bio": "<string>",
"xUsername": "<string>",
"volume": 123,
"volume24hr": 123,
"volume7d": 123,
"volume30d": 123,
"pnl": 123,
"pnl24hr": 123,
"pnl7d": 123,
"pnl30d": 123,
"pnl1d": 123,
"pnl14d": 123,
"pnl90d": 123,
"unrealizedPnl": 123,
"winCount": 123,
"lossCount": 123,
"winAmount": 123,
"lossAmount": 123,
"totalPositions": 123,
"roi": 123,
"score": 123,
"tags": [
"<string>"
],
"rank": 123,
"rankByVolume": 123,
"rankByPnl": 123,
"winRate": 123,
"totalTrades": 123,
"marketsTraded": 123,
"avgPositionSize": 123,
"tier": 1,
"isHotTop": true,
"isWhale": true,
"isSmartMoney": true,
"positions": [
{
"conditionId": "<string>",
"clobTokenId": "<string>",
"marketSlug": "<string>",
"marketTitle": "<string>",
"outcome": "<string>",
"size": 123,
"avgPrice": 123,
"currentPrice": 123,
"initialValue": 123,
"currentValue": 123,
"cashPnl": 123,
"percentPnl": 123
}
],
"positionsCount": 123,
"positionsValue": 123,
"dataTruncated": true,
"cashBalance": 123,
"cashBalanceAt": "2023-11-07T05:31:56Z"
}
]
}{
"statusCode": 400,
"message": "Bad Request",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 401,
"message": "Unauthorized",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 403,
"message": "Forbidden",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 404,
"message": "Not Found",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 409,
"message": "Transactions not synced",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 429,
"message": "Rate limit exceeded",
"requestId": "11111111-2222-3333-4444-555555555555",
"path": "<requested-endpoint>"
}{
"statusCode": 503,
"message": "Service Unavailable. Please Contact Support"
}2 credits per request
You will get
You will get
- The top tier-1/tier-2 traders, ranked by PnL or volume (
by). - A lighter alternative to the full leaderboard for a “top traders” widget.
Authorizations
API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.
Query Parameters
Required range:
x <= 100Example:
20
Available options:
pnl, volume Was this page helpful?
⌘I