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 free

Weekly and all-time Lighter points leaderboard.

Parameters

nameintypedescription
typequerystr
weekly | all | competition
requiredLeaderboard type.
example: weekly
l1_addressquerystroptionalOptional L1 address to highlight.
competition_idquerystroptionalCompetition 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"