Skip to Content
MinexonMinexon

leaderboards.list

Returns published leaderboards and player standings from the selected board.

GET/api/v1/{locale}/leaderboards

API scope leaderboards.list

Request

Send Authorization: Bearer <key> with each request.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.

Query parameters

FieldTypeRequirementDescription
boardintegerOptionalPublished leaderboard ID.
categoryintegerOptionalLeaderboard category ID.
qstringOptionalPlayer search, up to 64 characters.
pageintegerOptionalPositive page number.

This endpoint takes no request body.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request GET \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  "${MINEXON_BASE_URL}/api/v1/en/leaderboards?q=example&page=1"

Response

HTTP 200 · application/json

The fields below are inside the response’s data object.

FieldTypeRequirementDescription
localestringRequiredResponse locale.
errorstring or nullConditionalAction error. Can be empty on success.
errorsarray or objectConditionalField or form validation errors.
noticestring or nullConditionalAction notice.
boardobject | nullRequiredPublic information about the selected board.
categoryobject or nullConditionalSelected category.
categoriesarray or objectConditionalAvailable categories or a map keyed by category.
categoryBranchesJSON valueConditionalValue determined by screen and configuration.
boardsByCategoryobject | arrayRequiredPublished boards grouped by category.
columnsobject | arrayRequiredConfigured columns for the selected board.
querystringConditionalApplied search text.
unavailablebooleanRequiredtrue when the source is unavailable.
rewardsJSON valueConditionalValue determined by screen and configuration.
productsJSON valueConditionalValue determined by screen and configuration.
currencyJSON valueConditionalValue determined by screen and configuration.
rowsobject | arrayRequiredStandings on the current page.
podiumobject | arrayRequiredTop placements.
personalobject | nullRequiredStanding for the signed-in player.
totalintegerRequiredTotal matching results.
pageintegerRequiredCurrent page.
pageCountintegerRequiredTotal number of pages.
Nested fields
FieldTypeRequirementDescription
products[].idintegerConditionalField from this record, when available.
products[].slugstring or nullConditionalField from this record, when available.
products[].namestring or nullConditionalField from this record, when available.
products[].descriptionJSON valueConditionalField from this record, when available.
products[].description_htmlstring or nullConditionalField from this record, when available.
products[].categoryJSON valueConditionalField from this record, when available.
products[].serverJSON valueConditionalField from this record, when available.
products[].stockinteger or nullConditionalField from this record, when available.
products[].durationDaysinteger or nullConditionalNumber of days for a timed product.
products[].currencystring or nullConditionalField from this record, when available.
products[].pricesobjectConditionalSelling prices keyed by currency code.
products[].originalPricesobjectConditionalPrices before discount, keyed by currency code.
products[].requiredRankJSON valueConditionalField from this record, when available.
products[].rankLockedbooleanConditionalWhether the required rank blocks purchase.
products[].purchaseLimitinteger or nullConditionalField from this record, when available.
products[].kindJSON valueConditionalField from this record, when available.
products[].imageJSON valueConditionalField from this record, when available.
products[].imageSlugJSON valueConditionalField from this record, when available.
products[].toneJSON valueConditionalField from this record, when available.
products[].upgradeFromJSON valueConditionalField from this record, when available.
products[].upgradeToJSON valueConditionalField from this record, when available.
products[].discountPercentnumberConditionalField from this record, when available.
board.idintegerConditionalField from this record, when available.
board.slugstring or nullConditionalField from this record, when available.
board.namestring or nullConditionalField from this record, when available.
board.category_idinteger or nullConditionalField from this record, when available.
board.schedule_frequencystring or nullConditionalField from this record, when available.
board.schedule_dayinteger or nullConditionalField from this record, when available.
board.schedule_timestring or nullConditionalField from this record, when available.
board.schedule_timezonestring or nullConditionalField from this record, when available.
board.sort_columnstring or nullConditionalField from this record, when available.
board.sort_directionstring or nullConditionalField from this record, when available.
rows[].rankintegerConditionalPlayer’s position on the complete board.
rows[].namestringConditionalPlayer name from the ranking source.
rows[].valuesobjectConditionalMetrics keyed by column ID.
personal.rankintegerConditionalSigned-in player’s rank when present on the board.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "board": {
      "id": 2,
      "name": "Survival"
    },
    "rows": [
      {
        "rank": 1,
        "name": "ExamplePlayer",
        "values": {
          "playtime_seconds": 3600
        }
      }
    ],
    "page": 1,
    "pageCount": 1,
    "total": 1
  }
}

Flow and error cases

Row fields depend on columns and the board’s data source.

Shared error and authentication contract