Races
Last updated
Last updated
GET
https://api.derace.com/api/v2/races/results
Retrieves a list of latest finished races. Returns 10 results
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.derace.com/api/v1/races/open
Retrieves a list of all currently open races.
GET
https://api.derace.com/api/v1/races/:raceId
Pass race id and retrieve information about that race
POST
https://api.derace.com/api/v1/races/register
Attempts to register a selected horse into the selected race
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
x-api-key*
String
App's API key
content-type*
String
application/json
tier
Number
Tier ID of requested races. Defaults to 5 (Omega)
start_time_from
Number
Start time to look for races from. Results will not include race if it starts at this exact time. Defaults to time of search
x-api-key*
String
App's API key
content-type*
application/json
raceId*
Number
x-api-key*
String
App's API key
content-type*
application/json
x-api-key*
String
App's API key
content-type*
String
application/json
horse_number*
Number
Number of horse asset
user_key*
String
API Key of the user (horse owner)
main_race_id*
Number
Main race id of the designated race