Skip to content

Get leaderboard

GET /v1/leaderboard

Server: https://data.openfish.fun (port 3003)

Tags: Core

Produces a ranked list of traders ordered by trading volume or profit-and-loss over a configurable time window.


NameInTypeDefaultDescription
categoryquerystringCategory filter (reserved)
timePeriodquerystringALLTime period. One of: ALL, 1D, 7D, 30D, 90D, 365D
orderByquerystringvolOrder field. One of: vol, pnl
limitqueryinteger25Max results (max 50)
offsetqueryinteger0Pagination offset
userquerystringNarrow to a single user address
userNamequerystringSearch by user name or pseudonym (ILIKE)

200 — A JSON array of TraderLeaderboardEntry objects.

[
{
"rank": 1,
"proxyWallet": "0xabc...",
"vol": "250000.00",
"pnl": "12500.50",
"name": "Alice",
"profileImage": "https://...",
"userName": "alice_trades",
"xUsername": "alice_x",
"verifiedBadge": true
}
]

Terminal window
curl "https://data.openfish.fun/v1/leaderboard?timePeriod=7D&orderBy=pnl&limit=10"