Horse Racing Data API Documentation
This API provides access to a comprehensive dataset related to horse racing, including information about horses, jockeys, trainers, races, and race results.
General Endpoints
GET /
- Description: Base endpoint, typically used to check API status.
GET /ping
- Description: Health check endpoint to verify if the API is running.
GET /doc
- Description: Documentation endpoint, possibly providing API documentation.
GET /ip
- Description: Returns the IP address of the requester.
GET /config
- Description: Provides configuration details of the API.
GET /home
- Description: Home page of the API, possibly providing general information.
GET /endpoints
- Description: Lists all available API endpoints.
Horse Data Endpoints
GET /api/horses
- Description: Retrieves a list of all horses in the dataset.
GET /api/horses/horse_id
- Description: Retrieves details of a specific horse based on the horse ID.
Race Data Endpoints
GET /api/races/race_id
- Description: Retrieves details of a specific race based on the race ID.
GET /api/races/race_id/horses
- Description: Retrieves a list of horses participating in a specific race.
GET /api/races/date_range
- Description: Retrieves races within a specified date range.
GET /api/races/date
- Description: Retrieves races on a specific date.
Jockey Data Endpoints
GET /api/jockeys/jockey_id
- Description: Retrieves details of a specific jockey based on the jockey ID.
Trainer Data Endpoints
GET /api/trainers/trainer_id
- Description: Retrieves details of a specific trainer based on the trainer ID.
Race Result Endpoints
GET /api/winnings/race_id
- Description: Retrieves race results based on the race ID.
GET /api/prognoses/race_id
- Description: Retrieves prognoses or predictions for a specific race.
GET /api/horses/horse_id