GET /api/v1/leaderboard
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lighter/api/v1/leaderboardCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeWeekly and all-time Lighter points leaderboard.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
type | query | strweekly | all | competition | required | Leaderboard type. example: weekly |
l1_address | query | str | optional | Optional L1 address to highlight. |
competition_id | query | str | optional | Competition ID when type=competition. |
Response
type: object
data key: entries
pagination: none
sample: {
"entries": "array[10]"
}
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/leaderboard?type=weekly"