Skip to main content

Top times / Podium

Description

Use this endpoint to retrieve the top times submitted for a Timeboard.

Endpoint

GET https://api.gamerank.io/timeboard/top/{count}

Request URL Parameters

ParameterDescription
countHow many top times to get

Example

GET https://api.gamerank.io/timeboard/top/10

Response JSON body

FieldTypeDescription
useridstringUser id used to store this time
usernamestringDisplayable user name
creation_timemillisecond timestampUTC timestamp (in millisecond) when this time has been submitted
entryintSubmitted time (in millisecond)

The order is from the #1 position of the timeboard, up to the count you provided. E.g., if you set count to 3, a podium is returned.

[
{
"userid": "382911",
"username": "Ada",
"creation_time": 1730642812412,
"entry": 237050
},
{
"userid": "221281",
"username": "John",
"creation_time": 1730026754899,
"entry": 215111
},
{
"userid": "901281",
"username": "Paul",
"creation_time": 1730026114899,
"entry": 202290
}
]

HTTP status code

HTTP statusReason(s)
200• OK
404• Unknown API key / timeboard
500• Server Error, please contact support@gamerank.io