leaderboards.list
Returns published leaderboards and player standings from the selected board.
GET
/api/v1/{locale}/leaderboardsAPI scope leaderboards.list
Request
Send Authorization: Bearer <key> with each request.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
Query parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
board | integer | Optional | Published leaderboard ID. |
category | integer | Optional | Leaderboard category ID. |
q | string | Optional | Player search, up to 64 characters. |
page | integer | Optional | Positive 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.
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | string | Required | Response locale. |
error | string or null | Conditional | Action error. Can be empty on success. |
errors | array or object | Conditional | Field or form validation errors. |
notice | string or null | Conditional | Action notice. |
board | object | null | Required | Public information about the selected board. |
category | object or null | Conditional | Selected category. |
categories | array or object | Conditional | Available categories or a map keyed by category. |
categoryBranches | JSON value | Conditional | Value determined by screen and configuration. |
boardsByCategory | object | array | Required | Published boards grouped by category. |
columns | object | array | Required | Configured columns for the selected board. |
query | string | Conditional | Applied search text. |
unavailable | boolean | Required | true when the source is unavailable. |
rewards | JSON value | Conditional | Value determined by screen and configuration. |
products | JSON value | Conditional | Value determined by screen and configuration. |
currency | JSON value | Conditional | Value determined by screen and configuration. |
rows | object | array | Required | Standings on the current page. |
podium | object | array | Required | Top placements. |
personal | object | null | Required | Standing for the signed-in player. |
total | integer | Required | Total matching results. |
page | integer | Required | Current page. |
pageCount | integer | Required | Total number of pages. |
Nested fields
| Field | Type | Requirement | Description |
|---|---|---|---|
products[].id | integer | Conditional | Field from this record, when available. |
products[].slug | string or null | Conditional | Field from this record, when available. |
products[].name | string or null | Conditional | Field from this record, when available. |
products[].description | JSON value | Conditional | Field from this record, when available. |
products[].description_html | string or null | Conditional | Field from this record, when available. |
products[].category | JSON value | Conditional | Field from this record, when available. |
products[].server | JSON value | Conditional | Field from this record, when available. |
products[].stock | integer or null | Conditional | Field from this record, when available. |
products[].durationDays | integer or null | Conditional | Number of days for a timed product. |
products[].currency | string or null | Conditional | Field from this record, when available. |
products[].prices | object | Conditional | Selling prices keyed by currency code. |
products[].originalPrices | object | Conditional | Prices before discount, keyed by currency code. |
products[].requiredRank | JSON value | Conditional | Field from this record, when available. |
products[].rankLocked | boolean | Conditional | Whether the required rank blocks purchase. |
products[].purchaseLimit | integer or null | Conditional | Field from this record, when available. |
products[].kind | JSON value | Conditional | Field from this record, when available. |
products[].image | JSON value | Conditional | Field from this record, when available. |
products[].imageSlug | JSON value | Conditional | Field from this record, when available. |
products[].tone | JSON value | Conditional | Field from this record, when available. |
products[].upgradeFrom | JSON value | Conditional | Field from this record, when available. |
products[].upgradeTo | JSON value | Conditional | Field from this record, when available. |
products[].discountPercent | number | Conditional | Field from this record, when available. |
board.id | integer | Conditional | Field from this record, when available. |
board.slug | string or null | Conditional | Field from this record, when available. |
board.name | string or null | Conditional | Field from this record, when available. |
board.category_id | integer or null | Conditional | Field from this record, when available. |
board.schedule_frequency | string or null | Conditional | Field from this record, when available. |
board.schedule_day | integer or null | Conditional | Field from this record, when available. |
board.schedule_time | string or null | Conditional | Field from this record, when available. |
board.schedule_timezone | string or null | Conditional | Field from this record, when available. |
board.sort_column | string or null | Conditional | Field from this record, when available. |
board.sort_direction | string or null | Conditional | Field from this record, when available. |
rows[].rank | integer | Conditional | Player’s position on the complete board. |
rows[].name | string | Conditional | Player name from the ranking source. |
rows[].values | object | Conditional | Metrics keyed by column ID. |
personal.rank | integer | Conditional | Signed-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.