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 freePoints leaderboard by period (`day`, `week`, `month`, `all-time`).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
period | path | strday | week | month | all-time | required | Leaderboard time period. example: week |
page | query | int | optional | One-based page number. example: 1 |
limit | query | int | optional | Rows per page. default: 20example: 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"