Links

*/ranks, ranking and results

API with live ranking and results corresponding to splits and to calculations in the leaderboard
Read all about the data processing in the leaderboard:

Request

URL https://racemap.com/api/data/v1/:eventId/ranks Method GET

Response

Event object

Field
Description [unit]
Sample
name
Name of event
"Sample | 100km Duathlon"
location
Location
"🇩🇪 Dresden"
startTime
Start time in UTC
"2020-04-25T06:00:00.000Z"
endTime
End time in UTC
"2020-10-30T18:15:00.000Z"
timekeepings
Array for split objects
starters
Array for participant objects

Split object

Field
Description [unit]
Sample
name
Name of split
"Finish"
offset
Distance [m] along the shadowtrack
100314.54
id
Unique Racemap ID of split
"_muwe600tp"
position
Array with longitude, latitude, altitude [m]
13.704065646, 51.027126995, 164

Participant object

Field
Description [unit]
Sample
id
Unique Racemap ID of participant
"60a3b67914742230d14a5bf4"
importId
User-defined ID with imported participant data, Generic API (importId) or RACE|RESULT API (Id)
"UniqueImportId_18" or "null" if no importId exists
name
Name
"Porstmann"
startNumber
Bib number
"18"
currentDuration
Total duration [ms] to reach finish
14697500 or null if no locations within startTime and endTime
activeDuration
Duration [ms], movement with speed > 1 km/h, within start- and end time of event
10965700 or null if no locations within startTime and endTime
rank
Rank
1
state
DSQ, DNS, DNF or null
progress
Current distance [m] or current duration [ms]
100310 or null if no locations within startTime and endTime
results
Array for objects with the result for each split
null if split without result
online
Indicator: coordinates received within last 60 s
true or false

Result object

Field
Description [unit]
Sample
id
Unique Racemap ID of split
"_muwe600tp"
time
UNIX time of result
1588417161434.7778
relativeProgress
Duration [ms] or distance [m] from first split
19171434.7779
relativeDeltaProgress
Duration [ms] or distance [m] from split before
4342361.8762
{
"name": "Sample | 100km Duathlon",
"location": "🇩🇪 Dresden",
"startTime": "2020-04-25T06:00:00.000Z",
"endTime": "2020-10-30T18:15:00.000Z",
"timekeepings": [
{
"name": "Start",
"offset": 0,
"id": "_t9kp7roge",
"position": [13.704099056608415, 51.02740202001082, 161]
},
{
"name": "Ruppendorf",
"offset": 29537.54225429863,
"id": "_l7z9ygc3f",
"position": [13.599722542890463, 50.90910508578093, 377]
},
{
"name": "🕖",
"offset": 48150.0578207683,
"id": "_xdbst6t0c",
"position": [13.633563734472718, 50.77911506210913, 570]
},
{
"name": "Bergwertung",
"offset": 49975.36450848775,
"id": "_b31s55hd3",
"position": [13.623273503927214, 50.76995405256768, 743]
},
{
"name": "🕖",
"offset": 67682.86955583973,
"id": "_a218n2064",
"position": [13.69125, 50.82612, 471]
},
{
"name": "Bergwertung",
"offset": 68805.80295624779,
"id": "_l542jdzag",
"position": [13.697525647974043, 50.83382486871975, 603]
},
{
"name": "Finish",
"offset": 100314.53696696438,
"id": "_muwe600tp",
"position": [13.704065646340139, 51.0271269953974, 164]
}
],
"starters": [
{
"id": "60a3b67914742230ef4a5be2",
"importId": "UniqueImportId_3",
"name": "Leupold",
"startNumber": "03",
"currentDuration": 25930000,
"activeDuration": 23840000,
"rank": 7,
"state": null,
"progress": 100314.53696696438,
"results": [
{
"id": "start",
"relativeProgress": null
},
{
"id": "_t9kp7roge",
"relativeProgress": 0
},
{
"id": "_l7z9ygc3f",
"relativeProgress": 6540601.6508934125
},
{
"id": "_xdbst6t0c",
"relativeProgress": 10662036.298138456
},
{
"id": "_b31s55hd3",
"relativeProgress": 11066220.364378672
},
{
"id": "_a218n2064",
"relativeProgress": 14987255.356010677
},
{
"id": "_l542jdzag",
"relativeProgress": 15235910.440083671
},
{
"id": "_muwe600tp",
"relativeProgress": 22213000
}
],
"online": false
},
{
"id": "60a3b679147422b72a4a5be0",
"importId": "UniqueImportId_2",
"name": "Jörg",
"startNumber": "02",
"currentDuration": 27850000,
"activeDuration": 24075000,
"rank": 11,
"state": null,
"progress": 100310,
"results": [
{
"id": "start",
"relativeProgress": 94805000,
"time": 1587889205000
},
{
"id": "_t9kp7roge",
"time": 1587889205000,
"relativeProgress": 0
},
{
"id": "_l7z9ygc3f",
"time": 1587896387754.2253,
"relativeProgress": 7182754.225429863,
"relativeDeltaProgress": 7182754.225429863
},
{
"id": "_xdbst6t0c",
"time": 1587900643342.9702,
"relativeProgress": 11438342.97012805,
"relativeDeltaProgress": 4255588.744698187
},
{
"id": "_b31s55hd3",
"time": 1587901268841.1272,
"relativeProgress": 12063841.127121937,
"relativeDeltaProgress": 625498.1569938865
},
{
"id": "_a218n2064",
"time": 1587906033217.389,
"relativeProgress": 16828217.388959933,
"relativeDeltaProgress": 4764376.261837997
},
{
"id": "_l542jdzag",
"time": 1587906528950.739,
"relativeProgress": 17323950.739061948,
"relativeDeltaProgress": 495733.35010201484
},
{
"id": "_muwe600tp",
"time": 1587912621089.567,
"relativeProgress": 23416089.566789005,
"relativeDeltaProgress": 6092138.827727057
}
],
"online": false
},
{
"id": "60a3b679147422101b4a5be3",
"importId": "UniqueImportId_4",
"name": " KRad",
"startNumber": "04",
"currentDuration": 33975000,
"activeDuration": 28840000,
"rank": 16,
"state": null,
"progress": 100314.53696696438,
"results": [
{
"id": "start",
"relativeProgress": null
},
{
"id": "_t9kp7roge",
"relativeProgress": 0
},
{
"id": "_l7z9ygc3f",
"relativeProgress": 7639486.329285986
},
{
"id": "_xdbst6t0c",
"relativeProgress": 12453362.074244913
},
{
"id": "_b31s55hd3",
"relativeProgress": 12925452.993913682
},
{
"id": "_a218n2064",
"relativeProgress": 17505259.99242322
},
{
"id": "_l542jdzag",
"relativeProgress": 17795691.548551336
},
{
"id": "_muwe600tp",
"relativeProgress": 25945000
}
],
"online": false,
"manualFinishDuration": null
},
{
"id": "60a3b6791474227ee54a5bdf",
"name": "Konrad",
"rank": -1,
"state": "DNS",
"results": [null, null, null, null, null, null],
"online": false,
"progress": -1,
"startNumber": "01"
}
]
}