GET /v1/leaderboard/centered-pagination/{position}/{entries}

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

Leaderboard window centred on one rank, used by the mission UI.

Parameters

nameintypedescription
positionpathintrequiredRank to centre the window on
example: 1
entriespathintrequiredHow many entries the window carries
example: 3

Response

type: object
pagination: none
sample: {
  "status": "int",
  "data": "array[2]",
  "message": "str",
  "meta": "object"
}

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/lifi/v1/leaderboard/centered-pagination/1/3"