atg.se APIatg.se ↗
Access ATG.se race calendars, horse profiles, startlists, and race results via a structured API. Covers 5 endpoints for Swedish harness and thoroughbred racing data.
curl -X GET 'https://api.parse.bot/scraper/242032cf-856c-464d-acc3-4784ba5bf8da/get_race_calendar?date=2026-04-24' \ -H 'X-API-Key: $PARSE_API_KEY'
Fetch the full race calendar for a specific date. Returns all tracks racing that day with their scheduled races, start times, and statuses.
| Param | Type | Description |
|---|---|---|
| daterequired | string | Date in YYYY-MM-DD format (e.g. 2026-04-24). |
{
"type": "object",
"fields": {
"date": "string, the requested date in YYYY-MM-DD format",
"tracks": "array of track objects, each containing id, name, startTime, races, biggestGameType, sport, and countryCode"
},
"sample": {
"data": {
"date": "2026-04-24",
"tracks": [
{
"id": 6,
"name": "Åby",
"races": [
{
"id": "2026-04-24_6_1",
"number": 1,
"status": "results",
"startTime": "2026-04-24T18:20:15"
}
],
"sport": "trot",
"startTime": "2026-04-24T18:20:00",
"countryCode": "SE",
"trackChanged": false,
"biggestGameType": "V64"
}
]
},
"status": "success"
}
}About the atg.se API
The ATG.se API exposes 5 endpoints covering Swedish horse racing data: daily race calendars, individual race details with full starter lists, horse profiles with pedigree and lifetime statistics, game startlists with pool data, and completed game results. The get_race_details endpoint returns per-starter fields including horse, driver, result, and betting pool data for a given race ID.
Race Calendar and Discovery
The get_race_calendar endpoint accepts a date parameter in YYYY-MM-DD format and returns an array of track objects for that day. Each track includes its id, name, startTime, a list of scheduled races, biggestGameType, sport, and countryCode. Track and race IDs discovered here are the entry point for all other endpoints — race IDs follow the format YYYY-MM-DD_trackId_raceNumber, and game IDs follow GameType_YYYY-MM-DD_trackId_raceNumber.
Race Details and Horse Profiles
get_race_details takes a race_id and returns the full context for one race: track conditions, race distance in meters, race status (e.g. upcoming or results), and a starts array where each entry contains the horse object, driver info, result fields if the race is completed, and pool data. Horse IDs from starts[*].horse.id feed directly into get_horse_profile, which returns a horse's age, sex, owner, breeder, pedigree (father, mother, grandfather), and both yearly and lifetime racing statistics.
Betting Games and Results
get_startlist retrieves pool and starter data for a specific ATG game (e.g. V64, V75) using a game ID sourced from get_race_calendar. It returns aggregate pools with turnover and result data, a races array with per-race starters and pools, and an overall status. The get_game_results endpoint accepts a game_type string — confirmed working values are V64, V75, and V86 — and returns recent completed results with payouts, winner counts, turnover figures, and associated race details. If no recent game of that type has completed, the gameResults array may be empty.
- Build a daily Swedish horse racing schedule dashboard using
get_race_calendartrack and race data - Track horse career performance by querying
get_horse_profilefor lifetime and yearly statistics - Display live and final race results by polling
get_race_detailsfor status and result fields on each starter - Analyze V75 and V64 pool turnover trends using historical data from
get_game_results - Construct driver performance summaries by aggregating driver fields across race starter lists
- Feed pedigree data from
get_horse_profileinto breeding analytics tools using father, mother, and grandfather fields - Monitor game pool sizes before post time using the
poolsobject returned byget_startlist
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does ATG.se have an official public developer API?+
What does get_race_details return for a race that hasn't run yet?+
status field returns upcoming and the result fields within each starter object in the starts array will be absent or null. Full result data — including finishing positions and payouts — populates once the race status changes to results.Which game types work with get_game_results?+
game_type parameter are V64, V75, and V86. Other ATG game types may return empty gameResults arrays either because no recent completed games exist for that type or because that type is not currently supported.Does the API cover international races or only races held in Sweden?+
countryCode field, so non-Swedish tracks may appear when ATG.se carries them, but consistent coverage of international fixtures is not guaranteed. You can fork this API on Parse and revise it to add endpoints targeting specific international race data if ATG.se exposes it.Is odds or live betting data available through these endpoints?+
get_startlist and get_race_details endpoints return pool-level data including turnover figures, but real-time win odds per starter are not currently exposed as discrete fields. You can fork this API on Parse and revise it to add an endpoint surfacing per-horse odds if that data is accessible on ATG.se.