Public API
Races, start lists, results and splits as JSON. For a results wall at the venue, an organiser website, club statistics or your own app.
API key
Tell us who you are and what the key is for. We review requests manually, usually within two working days; once approved you receive an e-mail with a link that issues the key once. The key is shown only once. One key per project; if you lose it, request a new one.
Basics
| Base URL | https://irontime.cz/a/api/v1 |
|---|---|
| Format | JSON, UTF-8. Every response has the shape {"data": …, "meta": {…}, "error": null}; on error data is null and error carries code and message. |
| Authorisation | Header X-irontime-Key: irt_… (or Authorization: Bearer irt_…). The race list, search and ping work without a key. |
| Rate limit | 120 requests per minute per key by default. Exceeding it returns 429 with Retry-After. Responses carry ETag and Cache-Control; send If-None-Match. |
| Time | All times are local (Europe/Prague), never shifted to UTC. Dates are YYYY-MM-DD, time of day HH:MM:SS, result times with hundredths according to the track settings. |
| CORS | Allowed from any origin. Never put the key into a public web page though; call the API from your server or use the key-less endpoints. |
First request
curl -H "X-irontime-Key: irt_YOUR_KEY" \
"https://irontime.cz/a/api/v1/races/3323/results?limit=5"Endpoints
GET/races
Race list. Parameters type = upcoming (default) | live | past | all, include_live=1 adds today’s races to upcoming, limit (max 100), offset. No key needed.
GET/races/search?q=
Search by part of the name or by date (28.10.2026, 28.10., 2026). No key needed.
GET/races/{id}
Race detail: name, venue, date, status (upcoming / live / finished), tracks with categories (tracks[].track_id, categories[].category_id), registration status, whether results are published, number of entries and finishers. id is the number from the public address /vysledky{id}/.
GET/races/{id}/startlist
Start list. limit (max 500), offset, trat (track), kategorie (category), search (text = name or club, number = bib), sort = bib | name | start. bib and start_time are null until the organiser publishes them (the response has show_bib and show_start_time).
{
"data": [
{ "result_id": 1250968, "bib": 612, "start_time": "10:00:00",
"first_name": "Hana", "last_name": "Šulcová", "year": 1985, "gender": "F",
"club": "AC Kladno", "country": "CZE",
"track_id": 10377, "track": "6 km doprovodný závod",
"category_id": 41021, "category": "Ž40" }
],
"total": 318, "has_more": true, "offset": 0, "limit": 1,
"show_bib": true, "show_start_time": true, "sort": "bib"
}GET/races/{id}/results
Results of published tracks. limit (max 200), offset, trat, kategorie, gender = M | F, search, result_id (one athlete). Each row carries overall, category and gender rank, official time, status (OK, DNF, DNS, DSQ…) and, for lap races, the distance covered. On race day the list also contains athletes still on the course; do not cache it for more than a few seconds then.
GET/races/{id}/results/{result_id}/splits
Splits of one athlete: gate passings with segment name, time from start, time of day, pace and distance. result_id comes from results or the start list.
GET/races/{id}/relay?trat=
Team results of a hand-over relay (team = bib number, members’ legs).
GET/races/{id}/live
Live state on race day: how many are on the course and finished, latest finishers.
GET/races/{id}/viceboj
Multi-event leaderboard (sum of station rankings) for races that use it.
GET/races/{id}/donations
Only with a key bound to this race. Summary of paid voluntary donations from the registration slider: count, total_paid, currency. If a race has tracks in several currencies, total_paid and currency are null and the amounts are in by_currency. Registrations before 2 Nov 2026 are generally not included.
Errors
| HTTP | error.code | Meaning |
|---|---|---|
| 400 | BAD_REQUEST | Invalid parameter (e.g. gender other than M/F). |
| 403 | API_KEY_INVALID | The key does not exist or is disabled. |
| 403 | API_KEY_SCOPE | The endpoint is not available to a partner key (read-only public data above). |
| 403 | API_KEY_RACE | The key is bound to another race, or donations was requested with a key not bound to this race. |
| 403 | APP_REQUIRED | The endpoint requires a key and none was sent. |
| 403 | STARTLIST_NOT_PUBLIC | Registration has not opened yet, the start list is not public. |
| 404 | NOT_FOUND | The race, athlete or endpoint does not exist. |
| 429 | RATE_LIMIT_EXCEEDED | Rate limit exceeded; wait according to Retry-After. |
Tips for a results wall
- On race day poll
/resultsat most every 5–10 s and for the whole track at once (trat=,limit=200), not per athlete. - After the race, results are cached for 24 h; download them once.
- Keep the key on your server or in a spreadsheet tool (Power Query supports custom headers), not in the JavaScript of a public page.
- API changes are announced by e-mail to the address on the key; existing fields are never removed, only added.
For AI tools
Using Claude Code, Cursor, Copilot or another assistant? Point it to irontime.cz/api/irontime-api.md: a short markdown description of the API (authorisation, endpoints, response shapes, rules) it can build the integration from.
Terms
You may display and process the data in connection with the race and its promotion. You may not combine it with other sources to profile individuals or build a bulk database of athletes across races. We may disable a key at any time; changes to these terms are announced in advance.