List races
upcoming flag and full-text search.
Query parameters
Filter by race type. One of:
run, bike, swim, triathlon, walk, hike.Filter by race subtype, e.g.
marathon, 5k, sprint-triathlon.Filter by location using a partial case-insensitive match.
Return only races on or after this ISO 8601 datetime. Example:
2025-06-01T00:00:00Z.Return only races on or before this ISO 8601 datetime.
Set to
true to return only future races. Defaults to returning 10 results; combine with limit to adjust.Search by race name or location. Returns up to 20 results by default.
Maximum number of races to return. Defaults to
50.Example request
Response
ok on success.List of race objects.
Response metadata.
Total number of races returned.
Echo of the applied query parameters.
Create a race
Request body
Name of the race.
Type of the race. Must be one of:
run, bike, swim, triathlon, walk, hike.Subtype of the race, e.g.
marathon, half-marathon, 5k, sprint-triathlon.Race date in ISO 8601 format. Example:
2025-10-05T08:00:00Z.Location of the race, e.g.
Chicago, IL, USA.Freeform description of the race event.
URL to the official race website.
URL to a cover image for the race.
IANA timezone for the race, e.g.
America/Chicago.Expected or historical participant count. Must be a non-negative integer.
List of distance or format variants offered, e.g.
["5K", "10K", "Half Marathon"].List of participant categories, e.g.
["Open", "Masters", "Junior"].Example request
Response
Returns201 Created.
ok on success.Unique identifier of the created race.
Race created successfully.The created race object.
Get a race
Path parameters
The unique identifier of the race to retrieve.
Example request
Response
ok on success.Full race object.
Name of the race.
Type of the race.
Subtype of the race.
Race date in ISO 8601 format.
Location of the race.
Description of the race.
URL to the official race website.
URL to the race’s cover image.
IANA timezone string.
Expected participant count.
Real-time registered participants count from the leaderboard.
List of distance or format variants.
List of participant categories.
Update a race
Path parameters
The unique identifier of the race to update.
Request body
All fields are optional. Supply only the fields you want to change. The same validation rules apply as for race creation.Updated race name.
Updated race type. Must be one of:
run, bike, swim, triathlon, walk, hike.Updated race subtype.
Updated race date in ISO 8601 format.
Updated race location.
Updated description.
Updated website URL.
Updated cover image URL.
Updated IANA timezone string.
Updated participant count. Must be a non-negative integer.
Updated list of race variants.
Updated list of participant categories.
Example request
Response
ok on success.Race updated successfully.The updated race object.
Delete a race
Path parameters
The unique identifier of the race to delete.
Example request
Response
ok on success.Race deleted successfully.