Skip to content
TrackDayR LogoTrackDayR LogoTrackDayR Docs
DiscordGitHub

GetLeaderboardInfo API

Description

Retrieve track and bike of a leaderboard.

Endpoint

GET https://api.trackdayr.com/v1/GetLeaderboardInfo

Query Params

NameTypeRequiredDescription
keystringTrackDayR WebAPI authentication key.
leaderboardidint32ID of the leaderboard
bikenameboolSpecify if the bike is provided as name or category

Response example

bikename=false or param not provided

{
  "track": "cremonatrack",
  "bike_cat": 3
}

bikename=true

{
  "track": "cremonatrack",
  "bike_name": "ss300"
}