Skip to main content

Record Endpoints



Get Global Record Leaderboards

GET/records/leaderboard

Fetches the current records leaderboard for a specific metric and period. Returns an array of RecordLeaderboardEntry objects.


Query Params

FieldTypeRequiredDescription
periodPeriodtrueThe record's time period.
metricMetrictrueThe record's metric.
playerTypePlayerType?falseThe player's account type to filter by.
playerBuildPlayerBuild?falseThe player's account build to filter by.
countryCountry?falseThe player's country of origin to filter by.

Example Request

curl -X GET https://api.wiseoldman.net/v2/records/leaderboard?metric=agility&period=week&playerType=hardcore \
-H "Content-Type: application/json"

Example Response

[
{
"id": 544337,
"playerId": 6125,
"period": "week",
"metric": "agility",
"value": 12260231,
"updatedAt": "2020-05-12T18:12:16.057Z",
"player": {
"id": 6125,
"username": "maiet",
"displayName": "Maiet",
"type": "hardcore",
"build": "main",
"country": null,
"status": "active",
"patron": false,
"exp": 84931683,
"ehp": 556.42089,
"ehb": 4.42807,
"ttm": 1252.71697,
"tt200m": 22202.34046,
"registeredAt": "2020-05-07T15:12:57.549Z",
"updatedAt": "2020-12-17T17:24:41.831Z",
"lastChangedAt": "2020-12-17T17:24:40.549Z",
"lastImportedAt": "2020-12-17T17:24:41.830Z"
}
},
{
"id": 36895589,
"playerId": 672185,
"period": "week",
"metric": "agility",
"value": 7518730,
"updatedAt": "2022-07-27T23:59:50.075Z",
"player": {
"id": 672185,
"username": "99th hcim",
"displayName": "99th hcim",
"type": "hardcore",
"build": "def1",
"country": null,
"status": "active",
"patron": false,
"exp": 42931077,
"ehp": 293.81497,
"ehb": 0,
"ttm": 1468.43043,
"tt200m": 22158.99634,
"registeredAt": "2022-07-05T05:22:41.911Z",
"updatedAt": "2022-08-20T03:56:12.107Z",
"lastChangedAt": "2022-08-20T03:56:12.009Z",
"lastImportedAt": null
}
}
]