Talo aims to work across many different game genres and as such our leaderboards are highly-customisable. Leaderboards can be sorted by descending or ascending order. You can also customise whether players can only have one or multiple entries in a single leaderboard.
Learn more about leaderboards here .
Endpoints
Get a leaderboard's entries read:leaderboards
GET https://api.trytalo.com/v1/leaderboards/:internalName/entries50 results are returned per page, in the sort order defined by the leaderboard
Key Required Description x-talo-alias❌ NoThe ID of the player's alias
Route params Key Required Description internalName✅ YesThe internal name of the leaderboard
Query keys Key Required Description aliasId❌ NoOnly return entries for this alias ID endDate❌ NoA UTC Date (YYYY-MM-DD), DateTime (ISO 8601) or millisecond timestamp page❌ NoThe current pagination index (starting at 0) propKey❌ NoOnly return entries with this prop key propValue❌ NoOnly return entries with a matching prop key and value service❌ NoOnly return entries for this player alias service (e.g. steam, epic, username) startDate❌ NoA UTC Date (YYYY-MM-DD), DateTime (ISO 8601) or millisecond timestamp withDeleted❌ NoInclude entries that were deleted by a refresh interval
Sample response Show
Sample request with prop key filtering Show
Sample request with prop key and value filtering Show
Sample request with deleted entries Show
Sample request with date filtering Show
Sample request with service filtering Show Create or update a leaderboard's entry write:leaderboards
POST https://api.trytalo.com/v1/leaderboards/:internalName/entriesIf an entry exists for the player and the leaderboard mode is set to unique, that entry will be updated with the new score (and the updated key will return true)
Key Required Description x-talo-alias✅ Yes
Route params Key Required Description internalName✅ YesThe internal name of the leaderboard
Body keys Key Required Description props❌ Noscore✅ YesA numeric score for the entry
Sample response Show