Skip to main content

User top times

Description

Use this endpoint to retrieve a list of top times for an user.

Endpoint

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

Request URL Parameters

ParameterDescription
useridUser unique identifier. Alpha-numerical ASCII characters only.
countHow many times to retrieve.

Example

GET https://api.gamerank.io/timeboard/282915/top/2

Response JSON body

FieldTypeDescription
useridstringUser id used to store this time
usernamestringDisplayable user name
creation_timemillisecond timestampUTC timestamp (in millisecond) when this top time has been submitted
entryintSubmitted time (in millisecond)
[
{
"userid": "282915",
"username": "Alice",
"creation_time": 1728823956928,
"entry": 33729
},
{
"userid": "282915",
"username": "Alice",
"creation_time": 1728823721237,
"entry": 2159
}
]

HTTP status code

HTTP statusReason(s)
200• OK
400• Invalid user ID format
• Invalid count value
404• Unknown API key / timeboard
• Unknown user
500• Server Error, please contact support@gamerank.io