GET /api/v1/savingsLeaderboard
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lighter/api/v1/savingsLeaderboardCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeTop traders ranked by fee savings over the trailing window.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
limit | query | int | optional | Max leaderboard rows. example: 5 |
Response
type: object
data key: entries
count key: total
pagination: offset
sample: {
"code": "int",
"time_window": "str",
"from_day": "str",
"to_day": "str",
"days": "int",
"built_at": "int",
"venue": "str",
"total": "int",
"entries": "array[5]"
}
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/lighter/api/v1/savingsLeaderboard?limit=5"