openapi: 3.1.0 info: title: The Racing Australia Standard Plan API version: 1.4.3 x-logo: url: https://www.theracingapi.com/static/images/logo_padded.png description: High performance API for horse racing statistical modelling, application development and web content. Complete coverage of UK, Irish and Hong Kong horse racing. contact: url: https://www.theracingapi.com/ x-generated-from: official-openapi-spec servers: - url: https://api.theracingapi.com description: Production server tags: - name: Standard Plan paths: /v1/courses/regions: get: tags: - Standard Plan summary: The Racing API Regions description:
| Min. Required Plan | Free |
| Rate Limit | 1 requests per second |
| Min. Required Plan | Free |
| Rate Limit | 1 requests per second |
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
| Min. Required Plan | Basic |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
ℹ️ You may also get profiles for a sire/dam/damsire using this endpoint by replacing their id prefix with 'hrs_'
operationId: horse_standard_v1_horses__horse_id__standard_get security: - HTTPBasic: [] parameters: - name: horse_id in: path required: true schema: type: string title: Horse Id responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/Horse' '404': description: Not found '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' x-codeSamples: - lang: Shell source: 'curl -u USERNAME:PASSWORD https://api.theracingapi.com/v1/horses/{horse_id}/standard ' label: cURL - lang: Python source: 'import requests from requests.auth import HTTPBasicAuth url = "https://api.theracingapi.com/v1/horses/{horse_id}/standard" params = {} response = requests.request("GET", url, auth=HTTPBasicAuth(''USERNAME'',''PASSWORD''), params=params) print(response.json())' label: Python3 - lang: PHP source: "" label: PHP - lang: JavaScript source: "const username = 'USERNAME';\nconst password = 'PASSWORD';\nconst credentials = btoa(`${username}:${password}`);\n\nconst params = new URLSearchParams({});\nconst url = `https://api.theracingapi.com/v1/horses/{horse_id}/standard?${params}`;\n\nfetch(url, {\n method: 'GET',\n headers: {\n 'Authorization': `Basic ${credentials}`\n }\n})\n.then(response => response.json())\n.then(data => console.log(data))\n.catch(error => console.error('Error:', error));" label: Node.js - lang: Ruby source: 'require ''net/http'' require ''uri'' require ''json'' params = {} uri = URI(''https://api.theracingapi.com/v1/horses/{horse_id}/standard'') uri.query = URI.encode_www_form(params) http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request.basic_auth(''USERNAME'', ''PASSWORD'') response = http.request(request) puts JSON.parse(response.body)' label: Ruby - lang: Java source: "import java.net.http.*;\nimport java.util.Base64;\nimport java.util.Map;\n\nMap| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 2 requests per second |
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course_ids in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' title: Courses description: Query by course ids. Get the full list here. description: Query by course ids. Get the full list here. - name: limit in: query required: false schema: anyOf: - type: integer maximum: 500 minimum: 1 - type: 'null' title: Limit default: 500 - name: skip in: query required: false schema: anyOf: - type: integer maximum: 500 - type: 'null' title: Skip default: 0 responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/RacecardsOddsPage' '404': description: Not found '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' x-codeSamples: - lang: Shell source: 'curl -u USERNAME:PASSWORD https://api.theracingapi.com/v1/racecards/standard ' label: cURL - lang: Python source: 'import requests from requests.auth import HTTPBasicAuth url = "https://api.theracingapi.com/v1/racecards/standard" params = {} response = requests.request("GET", url, auth=HTTPBasicAuth(''USERNAME'',''PASSWORD''), params=params) print(response.json())' label: Python3 - lang: PHP source: "" label: PHP - lang: JavaScript source: "const username = 'USERNAME';\nconst password = 'PASSWORD';\nconst credentials = btoa(`${username}:${password}`);\n\nconst params = new URLSearchParams({});\nconst url = `https://api.theracingapi.com/v1/racecards/standard?${params}`;\n\nfetch(url, {\n method: 'GET',\n headers: {\n 'Authorization': `Basic ${credentials}`\n }\n})\n.then(response => response.json())\n.then(data => console.log(data))\n.catch(error => console.error('Error:', error));" label: Node.js - lang: Ruby source: 'require ''net/http'' require ''uri'' require ''json'' params = {} uri = URI(''https://api.theracingapi.com/v1/racecards/standard'') uri.query = URI.encode_www_form(params) http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request.basic_auth(''USERNAME'', ''PASSWORD'') response = http.request(request) puts JSON.parse(response.body)' label: Ruby - lang: Java source: "import java.net.http.*;\nimport java.util.Base64;\nimport java.util.Map;\n\nMap| Min. Required Plan | Standard |
| Rate Limit | 2 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Date must be today or greater, defaults to today.
title: Start Date description:Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Date must be today or greater, defaults to today.
- name: end_date in: query required: false schema: anyOf: - type: string - type: 'null' description:Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course_ids in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' title: Courses description: Query by course ids. Get the full list here. description: Query by course ids. Get the full list here. - name: limit in: query required: false schema: anyOf: - type: integer maximum: 500 minimum: 1 - type: 'null' title: Limit default: 500 - name: skip in: query required: false schema: anyOf: - type: integer maximum: 500 - type: 'null' title: Skip default: 0 responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/RacecardsOddsPage' '404': description: Not found '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' x-codeSamples: - lang: Shell source: 'curl -u USERNAME:PASSWORD https://api.theracingapi.com/v1/racecards/big-races ' label: cURL - lang: Python source: 'import requests from requests.auth import HTTPBasicAuth url = "https://api.theracingapi.com/v1/racecards/big-races" params = {} response = requests.request("GET", url, auth=HTTPBasicAuth(''USERNAME'',''PASSWORD''), params=params) print(response.json())' label: Python3 - lang: PHP source: "" label: PHP - lang: JavaScript source: "const username = 'USERNAME';\nconst password = 'PASSWORD';\nconst credentials = btoa(`${username}:${password}`);\n\nconst params = new URLSearchParams({});\nconst url = `https://api.theracingapi.com/v1/racecards/big-races?${params}`;\n\nfetch(url, {\n method: 'GET',\n headers: {\n 'Authorization': `Basic ${credentials}`\n }\n})\n.then(response => response.json())\n.then(data => console.log(data))\n.catch(error => console.error('Error:', error));" label: Node.js - lang: Ruby source: 'require ''net/http'' require ''uri'' require ''json'' params = {} uri = URI(''https://api.theracingapi.com/v1/racecards/big-races'') uri.query = URI.encode_www_form(params) http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request.basic_auth(''USERNAME'', ''PASSWORD'') response = http.request(request) puts JSON.parse(response.body)' label: Ruby - lang: Java source: "import java.net.http.*;\nimport java.util.Base64;\nimport java.util.Map;\n\nMap| Min. Required Plan | Basic |
| Rate Limit | 5 requests per second |
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course_ids in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' title: Courses description: Query by course ids. Get the full list here. description: Query by course ids. Get the full list here. responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/RacecardsSummary' '404': description: Not found '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' x-codeSamples: - lang: Shell source: 'curl -u USERNAME:PASSWORD https://api.theracingapi.com/v1/racecards/summaries ' label: cURL - lang: Python source: 'import requests from requests.auth import HTTPBasicAuth url = "https://api.theracingapi.com/v1/racecards/summaries" params = {} response = requests.request("GET", url, auth=HTTPBasicAuth(''USERNAME'',''PASSWORD''), params=params) print(response.json())' label: Python3 - lang: PHP source: "" label: PHP - lang: JavaScript source: "const username = 'USERNAME';\nconst password = 'PASSWORD';\nconst credentials = btoa(`${username}:${password}`);\n\nconst params = new URLSearchParams({});\nconst url = `https://api.theracingapi.com/v1/racecards/summaries?${params}`;\n\nfetch(url, {\n method: 'GET',\n headers: {\n 'Authorization': `Basic ${credentials}`\n }\n})\n.then(response => response.json())\n.then(data => console.log(data))\n.catch(error => console.error('Error:', error));" label: Node.js - lang: Ruby source: 'require ''net/http'' require ''uri'' require ''json'' params = {} uri = URI(''https://api.theracingapi.com/v1/racecards/summaries'') uri.query = URI.encode_www_form(params) http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request.basic_auth(''USERNAME'', ''PASSWORD'') response = http.request(request) puts JSON.parse(response.body)' label: Ruby - lang: Java source: "import java.net.http.*;\nimport java.util.Base64;\nimport java.util.Map;\n\nMap| Min. Required Plan | Basic |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
| Add-ons | [Optional] Core database historical results add-on: users on the Pro Plan can pay a one-time fee of £499 to remove the 12 month restriction and access over 30 years of results from this endpoint. Contact support@theracingapi.com for information. |
While the parameters for this endpoint allow for a wide date range to be set (utilising ''start_date'' and ''end_date''), the necessary use of ''skip'' to access all results for a wide date range query will reduce perfomance the larger that range is.
ℹ️ The most efficient way to query results data over time is to build a list of dates within your date range, then make queries for each date in that list. A sample python script outlining this method can be viewed here: https://gist.github.com/theracingapi/4d492dbdba58c2072fe4f98ee090126f
' operationId: results_v1_results_get security: - HTTPBasic: [] parameters: - name: start_date in: query required: false schema: anyOf: - type: string - type: 'null' description:Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Default: 365 days ago. Limited to up to 365 days in the past; pro plan users can purchase the historical results add-on to remove this limitation and query back to 1988-01-01.
title: Start Date description:Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Default: 365 days ago. Limited to up to 365 days in the past; pro plan users can purchase the historical results add-on to remove this limitation and query back to 1988-01-01.
- name: end_date in: query required: false schema: anyOf: - type: string - type: 'null' description:Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Default: Today's date. Maximum range between start and end date is 365 days.
title: End Date description:Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Default: Today's date. Maximum range between start and end date is 365 days.
- name: region in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Basic |
| Rate Limit | 5 requests per second |
Query results by region codes. Get the full list here.
title: Region description:Query results by region codes. Get the full list here.
- name: limit in: query required: false schema: anyOf: - type: integer maximum: 100 minimum: 1 - type: 'null' title: Limit default: 50 - name: skip in: query required: false schema: anyOf: - type: integer - type: 'null' title: Skip default: 0 responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/ResultsBasicPage' '404': description: Not found '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' x-codeSamples: - lang: Shell source: 'curl -u USERNAME:PASSWORD https://api.theracingapi.com/v1/results/today ' label: cURL - lang: Python source: 'import requests from requests.auth import HTTPBasicAuth url = "https://api.theracingapi.com/v1/results/today" params = {} response = requests.request("GET", url, auth=HTTPBasicAuth(''USERNAME'',''PASSWORD''), params=params) print(response.json())' label: Python3 - lang: PHP source: "" label: PHP - lang: JavaScript source: "const username = 'USERNAME';\nconst password = 'PASSWORD';\nconst credentials = btoa(`${username}:${password}`);\n\nconst params = new URLSearchParams({});\nconst url = `https://api.theracingapi.com/v1/results/today?${params}`;\n\nfetch(url, {\n method: 'GET',\n headers: {\n 'Authorization': `Basic ${credentials}`\n }\n})\n.then(response => response.json())\n.then(data => console.log(data))\n.catch(error => console.error('Error:', error));" label: Node.js - lang: Ruby source: 'require ''net/http'' require ''uri'' require ''json'' params = {} uri = URI(''https://api.theracingapi.com/v1/results/today'') uri.query = URI.encode_www_form(params) http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true request = Net::HTTP::Get.new(uri) request.basic_auth(''USERNAME'', ''PASSWORD'') response = http.request(request) puts JSON.parse(response.body)' label: Ruby - lang: Java source: "import java.net.http.*;\nimport java.util.Base64;\nimport java.util.Map;\n\nMap| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
| Min. Required Plan | Standard |
| Rate Limit | 5 requests per second |
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query from date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query to date with format YYYY-MM-DD, e.g. 2020-01-01
Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' title: Region description: 'Query by region codes. Get the full list here.
Note: If the course query parameter is specified, this will be ignored.
' - name: course in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: Query by course ids. Get the full list here. title: Course description: Query by course ids. Get the full list here. - name: type in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by race type
Options: chase, flat, hurdle, nh_flat
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by going
Options: fast, firm, good, good_to_firm, good_to_soft, good_to_yielding, hard, heavy, holding, muddy, sloppy, slow, soft, soft_to_heavy, standard, standard_to_fast, standard_to_slow, very_soft, yielding, yielding_to_soft
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by class
Options: class_1, class_2, class_3, class_4, class_5, class_6, class_7
Query by minimum race distance (yards)
title: Min Distance Y description:Query by minimum race distance (yards)
- name: max_distance_y in: query required: false schema: anyOf: - type: integer - type: 'null' description:Query by maximum race distance (yards)
title: Max Distance Y description:Query by maximum race distance (yards)
- name: age_band in: query required: false schema: anyOf: - type: array items: type: string - type: 'null' description: 'Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by age band
Options: 10yo+, 2-3yo, 2yo, 2yo+, 3-4yo, 3-5yo, 3-6yo, 3yo, 3yo+, 4-5yo, 4-6yo, 4-7yo, 4-8yo, 4yo, 4yo+, 5-6yo, 5-7yo, 5-8yo, 5yo, 5yo+, 6-7yo, 6yo, 6yo+, 7yo+, 8yo+, 9yo+
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g
Query by sex restriction
Options: c&f, c&g, f, f&m, m, m&g