Skip to content

Game Leaderboards

A call to this endpoint will retrieve a given games's list of leaderboards, targeted by the game's ID.

On-site Representation

A games's list of leaderboards can be found on on the game's page:

Game Leaderboards

HTTP Request

GET

https://retroachievements.org/API/API_GetGameLeaderboards.php?i=1

Query Parameters

NameRequired?Description
zYesYour username.
yYesYour web API key.
iYesThe target game ID.
cCount, number of records to return (default: 100, max: 500).
oOffset, number of entries to skip (default: 0).

Client Library

Not yet supported.

Response

json
{
  "Count": 29,
  "Total": 29,
  "Results": [
    {
      "ID": 104370,
      "RankAsc": false,
      "Title": " South Island Conqueror",
      "Description": "Complete the game with the highest score possible",
      "Format": "VALUE",
      "TopEntry": {
        "User": "vani11a",
        "Score": "390490",
        "FormattedScore": "390,490"
      }
    }
    // ...
  ]
}

Source

RepoURL
RAWebhttps://github.com/RetroAchievements/RAWeb/blob/master/public/API/API_GetGameLeaderboards.php

Released under the MIT license.