GET /leaderboard/{period}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/limitless/leaderboard/{period}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Points leaderboard by period (`day`, `week`, `month`, `all-time`).

Parameters

nameintypedescription
periodpathstr
day | week | month | all-time
requiredLeaderboard time period.
example: week
pagequeryintoptionalOne-based page number.
example: 1
limitqueryintoptionalRows per page.
default: 20
example: 5

Response

type: object
pagination: none
sample: {
  "data": "array[5]",
  "page": "int",
  "limit": "int",
  "totalRows": "str",
  "totalPages": "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/limitless/leaderboard/week?page=1&limit=5"