GET /pnl-leaderboard
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/pumpfun/pnl-leaderboardCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeTop traders ranked by realized PnL over a daily, weekly, or monthly window.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
period | query | str | required | Window: daily, weekly, monthly. default: dailyexample: daily |
limit | query | int | optional | Maximum rows. default: 20example: 5 |
sort | query | str | optional | Optional sort mode. |
Response
type: object
data key: entries
pagination: none
sample: {
"entries": "array[5]",
"periodType": "int",
"periodLabel": "str",
"windowStartSec": "int"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/pumpfun/pnl-leaderboard?period=daily&limit=5"