Get paged replays for specified tracks using query parameters.
Note: It is necessary to provide the fields=
parameter in the query string, comma-seperated and then url-encoded.
Note 2: The results are ordered as follows: 1. Track version (newest), 2. Replay time / score (lowest) and 3. Replay upload date (newest).
Note 3: This API includes beaten replays by the same driver as well. Those can be sorted out by filtering for Position != null
or Score != null
.
Note 4: This API includes replays from older track versions as well. Consider the TrackAt
parameter for filtering.
Example: to query for ReplayId
, User
and ReplayTime
, use fields=ReplayId%2CUser.UserId&2CUser.Name%2CReplayTime
.
The complete list of available fields is stated in the example output.
https://tmuf.exchange/api/replays?{params} // TMUF-X
https://tmnf.exchange/api/replays?{params} // TMNF-X
https://original.tm-exchange.com/api/replays?{params} // TMO-X
https://sunrise.tm-exchange.com/api/replays?{params} // TMS-X
https://nations.tm-exchange.com/api/replays?{params} // TMN-X
{
"More":true,
"Results":[
{
"ReplayId":7088213,
"User":{
"UserId":5602,
"Name":"KarjeN"
},
"ReplayTime":42250,
"ReplayScore":22,
"ReplayRespawns":0,
"Validated": true,
"Score":0,
"Position":0,
"IsBest":1,
"IsLeaderboard":0,
"TrackAt":"2008-11-19T19:54:21",
"ReplayAt":"2018-01-11T09:11:21"
},
...
]
}