naftiko: 1.0.0-alpha2
info:
label: The Racing API — Pro Plan
description: 'The Racing API — Pro Plan. 46 operations. Lead operation: The Racing API Courses. Self-contained Naftiko capability
covering one The Racing Api business surface.'
tags:
- The Racing Api
- Pro Plan
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
THE_RACING_API_API_KEY: THE_RACING_API_API_KEY
capability:
consumes:
- type: http
namespace: the-racing-pro-plan
baseUri: https://api.theracingapi.com
description: The Racing API — Pro Plan business capability. Self-contained, no shared references.
resources:
- name: v1-courses
path: /v1/courses
operations:
- name: coursesv1coursesget
method: GET
description: The Racing API Courses
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: region_codes
in: query
type: string
description: Filter courses by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'
- name: v1-courses-regions
path: /v1/courses/regions
operations:
- name: regionsv1coursesregionsget
method: GET
description: The Racing API Regions
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: v1-dams-search
path: /v1/dams/search
operations:
- name: damsearchv1damssearchget
method: GET
description: The Racing API Dam Search
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: name
in: query
type: string
required: true
- name: v1-dams-dam_id-analysis-classes
path: /v1/dams/{dam_id}/analysis/classes
operations:
- name: damprogenyclassanalysisv1damsdamidanalysisclassesget
method: GET
description: The Racing API Dam Progeny Class Analysis
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: dam_id
in: path
type: string
required: true
- name: start_date
in: query
type: string
description: <p>Query from date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: end_date
in: query
type: string
description: <p>Query to date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: region
in: query
type: string
description: <p>Query by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'>here<
- name: course
in: query
type: string
description: Query by course ids. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_courses_v1_courses_get'>here</a>.
- name: type
in: query
type: string
description: '<p>Query by race type</p><p>Options: <code>chase</code>, <code>flat</code>, <code>hurdle</code>, <code>nh_flat</code></p>'
- name: going
in: query
type: string
description: '<p>Query by going</p><p>Options: <code>fast</code>, <code>firm</code>, <code>good</code>, <code>good_to_firm</code>,
<code>good_to_soft</code>, <code>good_to_yi'
- name: race_class
in: query
type: string
description: '<p>Query by class</p><p>Options: <code>class_1</code>, <code>class_2</code>, <code>class_3</code>,
<code>class_4</code>, <code>class_5</code>, <code>class_6</co'
- name: min_distance_y
in: query
type: string
description: <p>Query by minimum race distance (yards)</p>
- name: max_distance_y
in: query
type: string
description: <p>Query by maximum race distance (yards)</p>
- name: age_band
in: query
type: string
description: '<p>Query by age band</p><p>Options: <code>10yo+</code>, <code>2-3yo</code>, <code>2yo</code>, <code>2yo+</code>,
<code>3-4yo</code>, <code>3-5yo</code>, <code>3'
- name: sex_restriction
in: query
type: string
description: '<p>Query by sex restriction</p><p>Options: <code>c&f</code>, <code>c&g</code>, <code>f</code>, <code>f&m</code>,
<code>m</code>, <code>m&g</code></p>'
- name: v1-dams-dam_id-analysis-distances
path: /v1/dams/{dam_id}/analysis/distances
operations:
- name: damprogenydistanceanalysisv1damsdamidanalysisdistancesget
method: GET
description: The Racing API Dam Progeny Distance Analysis
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: dam_id
in: path
type: string
required: true
- name: start_date
in: query
type: string
description: <p>Query from date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: end_date
in: query
type: string
description: <p>Query to date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: region
in: query
type: string
description: <p>Query by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'>here<
- name: course
in: query
type: string
description: Query by course ids. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_courses_v1_courses_get'>here</a>.
- name: type
in: query
type: string
description: '<p>Query by race type</p><p>Options: <code>chase</code>, <code>flat</code>, <code>hurdle</code>, <code>nh_flat</code></p>'
- name: going
in: query
type: string
description: '<p>Query by going</p><p>Options: <code>fast</code>, <code>firm</code>, <code>good</code>, <code>good_to_firm</code>,
<code>good_to_soft</code>, <code>good_to_yi'
- name: race_class
in: query
type: string
description: '<p>Query by class</p><p>Options: <code>class_1</code>, <code>class_2</code>, <code>class_3</code>,
<code>class_4</code>, <code>class_5</code>, <code>class_6</co'
- name: min_distance_y
in: query
type: string
description: <p>Query by minimum race distance (yards)</p>
- name: max_distance_y
in: query
type: string
description: <p>Query by maximum race distance (yards)</p>
- name: age_band
in: query
type: string
description: '<p>Query by age band</p><p>Options: <code>10yo+</code>, <code>2-3yo</code>, <code>2yo</code>, <code>2yo+</code>,
<code>3-4yo</code>, <code>3-5yo</code>, <code>3'
- name: sex_restriction
in: query
type: string
description: '<p>Query by sex restriction</p><p>Options: <code>c&f</code>, <code>c&g</code>, <code>f</code>, <code>f&m</code>,
<code>m</code>, <code>m&g</code></p>'
- name: v1-dams-dam_id-results
path: /v1/dams/{dam_id}/results
operations:
- name: damprogenyresultsv1damsdamidresultsget
method: GET
description: The Racing API Dam Progeny Results
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: dam_id
in: path
type: string
required: true
- name: start_date
in: query
type: string
description: <p>Query from date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p><p><b>Default:</b> 365 days
ago. Can query back to 1988-01-01.</p>
- name: end_date
in: query
type: string
description: <p>Query to date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p><p><b>Default:</b> Today's
date. Maximum range between start and end date is 365 days.<
- name: region
in: query
type: string
description: <p>Query by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'>here<
- name: course
in: query
type: string
description: Query by course ids. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_courses_v1_courses_get'>here</a>.
- name: type
in: query
type: string
description: '<p>Query by race type</p><p>Options: <code>chase</code>, <code>flat</code>, <code>hurdle</code>, <code>nh_flat</code></p>'
- name: going
in: query
type: string
description: '<p>Query by going</p><p>Options: <code>fast</code>, <code>firm</code>, <code>good</code>, <code>good_to_firm</code>,
<code>good_to_soft</code>, <code>good_to_yi'
- name: race_class
in: query
type: string
description: '<p>Query by class</p><p>Options: <code>class_1</code>, <code>class_2</code>, <code>class_3</code>,
<code>class_4</code>, <code>class_5</code>, <code>class_6</co'
- name: min_distance_y
in: query
type: string
description: <p>Query by minimum race distance (yards)</p>
- name: max_distance_y
in: query
type: string
description: <p>Query by maximum race distance (yards)</p>
- name: age_band
in: query
type: string
description: '<p>Query by age band</p><p>Options: <code>10yo+</code>, <code>2-3yo</code>, <code>2yo</code>, <code>2yo+</code>,
<code>3-4yo</code>, <code>3-5yo</code>, <code>3'
- name: sex_restriction
in: query
type: string
description: '<p>Query by sex restriction</p><p>Options: <code>c&f</code>, <code>c&g</code>, <code>f</code>, <code>f&m</code>,
<code>m</code>, <code>m&g</code></p>'
- name: limit
in: query
type: string
- name: skip
in: query
type: string
- name: v1-damsires-search
path: /v1/damsires/search
operations:
- name: damsiresearchv1damsiressearchget
method: GET
description: The Racing API Damsire Search
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: name
in: query
type: string
required: true
- name: v1-damsires-damsire_id-analysis-classes
path: /v1/damsires/{damsire_id}/analysis/classes
operations:
- name: damsiregrandoffspringclassanalysisv1damsiresdamsireidanalysisclassesget
method: GET
description: The Racing API Damsire Grandoffspring Class Analysis
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: damsire_id
in: path
type: string
required: true
- name: start_date
in: query
type: string
description: <p>Query from date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: end_date
in: query
type: string
description: <p>Query to date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: region
in: query
type: string
description: <p>Query by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'>here<
- name: course
in: query
type: string
description: Query by course ids. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_courses_v1_courses_get'>here</a>.
- name: type
in: query
type: string
description: '<p>Query by race type</p><p>Options: <code>chase</code>, <code>flat</code>, <code>hurdle</code>, <code>nh_flat</code></p>'
- name: going
in: query
type: string
description: '<p>Query by going</p><p>Options: <code>fast</code>, <code>firm</code>, <code>good</code>, <code>good_to_firm</code>,
<code>good_to_soft</code>, <code>good_to_yi'
- name: race_class
in: query
type: string
description: '<p>Query by class</p><p>Options: <code>class_1</code>, <code>class_2</code>, <code>class_3</code>,
<code>class_4</code>, <code>class_5</code>, <code>class_6</co'
- name: min_distance_y
in: query
type: string
description: <p>Query by minimum race distance (yards)</p>
- name: max_distance_y
in: query
type: string
description: <p>Query by maximum race distance (yards)</p>
- name: age_band
in: query
type: string
description: '<p>Query by age band</p><p>Options: <code>10yo+</code>, <code>2-3yo</code>, <code>2yo</code>, <code>2yo+</code>,
<code>3-4yo</code>, <code>3-5yo</code>, <code>3'
- name: sex_restriction
in: query
type: string
description: '<p>Query by sex restriction</p><p>Options: <code>c&f</code>, <code>c&g</code>, <code>f</code>, <code>f&m</code>,
<code>m</code>, <code>m&g</code></p>'
- name: v1-damsires-damsire_id-analysis-distances
path: /v1/damsires/{damsire_id}/analysis/distances
operations:
- name: damsiregrandoffspringdistanceanalysisv1damsiresdamsireidanalysisdistancesget
method: GET
description: The Racing API Damsire Grandoffspring Distance Analysis
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: damsire_id
in: path
type: string
required: true
- name: start_date
in: query
type: string
description: <p>Query from date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: end_date
in: query
type: string
description: <p>Query to date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: region
in: query
type: string
description: <p>Query by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'>here<
- name: course
in: query
type: string
description: Query by course ids. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_courses_v1_courses_get'>here</a>.
- name: type
in: query
type: string
description: '<p>Query by race type</p><p>Options: <code>chase</code>, <code>flat</code>, <code>hurdle</code>, <code>nh_flat</code></p>'
- name: going
in: query
type: string
description: '<p>Query by going</p><p>Options: <code>fast</code>, <code>firm</code>, <code>good</code>, <code>good_to_firm</code>,
<code>good_to_soft</code>, <code>good_to_yi'
- name: race_class
in: query
type: string
description: '<p>Query by class</p><p>Options: <code>class_1</code>, <code>class_2</code>, <code>class_3</code>,
<code>class_4</code>, <code>class_5</code>, <code>class_6</co'
- name: min_distance_y
in: query
type: string
description: <p>Query by minimum race distance (yards)</p>
- name: max_distance_y
in: query
type: string
description: <p>Query by maximum race distance (yards)</p>
- name: age_band
in: query
type: string
description: '<p>Query by age band</p><p>Options: <code>10yo+</code>, <code>2-3yo</code>, <code>2yo</code>, <code>2yo+</code>,
<code>3-4yo</code>, <code>3-5yo</code>, <code>3'
- name: sex_restriction
in: query
type: string
description: '<p>Query by sex restriction</p><p>Options: <code>c&f</code>, <code>c&g</code>, <code>f</code>, <code>f&m</code>,
<code>m</code>, <code>m&g</code></p>'
- name: v1-damsires-damsire_id-results
path: /v1/damsires/{damsire_id}/results
operations:
- name: damsiregrandoffspringresultsv1damsiresdamsireidresultsget
method: GET
description: The Racing API Damsire Grandoffspring Results
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: damsire_id
in: path
type: string
required: true
- name: start_date
in: query
type: string
description: <p>Query from date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p><p><b>Default:</b> 365 days
ago. Can query back to 1988-01-01.</p>
- name: end_date
in: query
type: string
description: <p>Query to date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p><p><b>Default:</b> Today's
date. Maximum range between start and end date is 365 days.<
- name: region
in: query
type: string
description: <p>Query by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'>here<
- name: course
in: query
type: string
description: Query by course ids. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_courses_v1_courses_get'>here</a>.
- name: type
in: query
type: string
description: '<p>Query by race type</p><p>Options: <code>chase</code>, <code>flat</code>, <code>hurdle</code>, <code>nh_flat</code></p>'
- name: going
in: query
type: string
description: '<p>Query by going</p><p>Options: <code>fast</code>, <code>firm</code>, <code>good</code>, <code>good_to_firm</code>,
<code>good_to_soft</code>, <code>good_to_yi'
- name: race_class
in: query
type: string
description: '<p>Query by class</p><p>Options: <code>class_1</code>, <code>class_2</code>, <code>class_3</code>,
<code>class_4</code>, <code>class_5</code>, <code>class_6</co'
- name: min_distance_y
in: query
type: string
description: <p>Query by minimum race distance (yards)</p>
- name: max_distance_y
in: query
type: string
description: <p>Query by maximum race distance (yards)</p>
- name: age_band
in: query
type: string
description: '<p>Query by age band</p><p>Options: <code>10yo+</code>, <code>2-3yo</code>, <code>2yo</code>, <code>2yo+</code>,
<code>3-4yo</code>, <code>3-5yo</code>, <code>3'
- name: sex_restriction
in: query
type: string
description: '<p>Query by sex restriction</p><p>Options: <code>c&f</code>, <code>c&g</code>, <code>f</code>, <code>f&m</code>,
<code>m</code>, <code>m&g</code></p>'
- name: limit
in: query
type: string
- name: skip
in: query
type: string
- name: v1-horses-search
path: /v1/horses/search
operations:
- name: horsesearchv1horsessearchget
method: GET
description: The Racing API Horse Search
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: name
in: query
type: string
required: true
- name: v1-horses-horse_id-analysis-distance-times
path: /v1/horses/{horse_id}/analysis/distance-times
operations:
- name: horsedistancetimeanalysisv1horseshorseidanalysisdistancetimesget
method: GET
description: The Racing API Horse Distance Time Analysis
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: horse_id
in: path
type: string
required: true
- name: start_date
in: query
type: string
description: <p>Query from date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: end_date
in: query
type: string
description: <p>Query to date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: region
in: query
type: string
description: <p>Query by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'>here<
- name: course
in: query
type: string
description: Query by course ids. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_courses_v1_courses_get'>here</a>.
- name: type
in: query
type: string
description: '<p>Query by race type</p><p>Options: <code>chase</code>, <code>flat</code>, <code>hurdle</code>, <code>nh_flat</code></p>'
- name: going
in: query
type: string
description: '<p>Query by going</p><p>Options: <code>fast</code>, <code>firm</code>, <code>good</code>, <code>good_to_firm</code>,
<code>good_to_soft</code>, <code>good_to_yi'
- name: race_class
in: query
type: string
description: '<p>Query by class</p><p>Options: <code>class_1</code>, <code>class_2</code>, <code>class_3</code>,
<code>class_4</code>, <code>class_5</code>, <code>class_6</co'
- name: min_distance_y
in: query
type: string
description: <p>Query by minimum race distance (yards)</p>
- name: max_distance_y
in: query
type: string
description: <p>Query by maximum race distance (yards)</p>
- name: age_band
in: query
type: string
description: '<p>Query by age band</p><p>Options: <code>10yo+</code>, <code>2-3yo</code>, <code>2yo</code>, <code>2yo+</code>,
<code>3-4yo</code>, <code>3-5yo</code>, <code>3'
- name: sex_restriction
in: query
type: string
description: '<p>Query by sex restriction</p><p>Options: <code>c&f</code>, <code>c&g</code>, <code>f</code>, <code>f&m</code>,
<code>m</code>, <code>m&g</code></p>'
- name: v1-horses-horse_id-pro
path: /v1/horses/{horse_id}/pro
operations:
- name: horseprov1horseshorseidproget
method: GET
description: The Racing API Horse Pro
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: horse_id
in: path
type: string
required: true
- name: v1-horses-horse_id-results
path: /v1/horses/{horse_id}/results
operations:
- name: horseresultsv1horseshorseidresultsget
method: GET
description: The Racing API Horse Results
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: horse_id
in: path
type: string
required: true
- name: start_date
in: query
type: string
description: <p>Query from date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: end_date
in: query
type: string
description: <p>Query to date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: region
in: query
type: string
description: <p>Query by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'>here<
- name: course
in: query
type: string
description: Query by course ids. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_courses_v1_courses_get'>here</a>.
- name: type
in: query
type: string
description: '<p>Query by race type</p><p>Options: <code>chase</code>, <code>flat</code>, <code>hurdle</code>, <code>nh_flat</code></p>'
- name: going
in: query
type: string
description: '<p>Query by going</p><p>Options: <code>fast</code>, <code>firm</code>, <code>good</code>, <code>good_to_firm</code>,
<code>good_to_soft</code>, <code>good_to_yi'
- name: race_class
in: query
type: string
description: '<p>Query by class</p><p>Options: <code>class_1</code>, <code>class_2</code>, <code>class_3</code>,
<code>class_4</code>, <code>class_5</code>, <code>class_6</co'
- name: min_distance_y
in: query
type: string
description: <p>Query by minimum race distance (yards)</p>
- name: max_distance_y
in: query
type: string
description: <p>Query by maximum race distance (yards)</p>
- name: age_band
in: query
type: string
description: '<p>Query by age band</p><p>Options: <code>10yo+</code>, <code>2-3yo</code>, <code>2yo</code>, <code>2yo+</code>,
<code>3-4yo</code>, <code>3-5yo</code>, <code>3'
- name: sex_restriction
in: query
type: string
description: '<p>Query by sex restriction</p><p>Options: <code>c&f</code>, <code>c&g</code>, <code>f</code>, <code>f&m</code>,
<code>m</code>, <code>m&g</code></p>'
- name: limit
in: query
type: string
- name: skip
in: query
type: string
- name: v1-horses-horse_id-standard
path: /v1/horses/{horse_id}/standard
operations:
- name: horsestandardv1horseshorseidstandardget
method: GET
description: The Racing API Horse Standard
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: horse_id
in: path
type: string
required: true
- name: v1-jockeys-search
path: /v1/jockeys/search
operations:
- name: jockeysearchv1jockeyssearchget
method: GET
description: The Racing API Jockey Search
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: name
in: query
type: string
required: true
- name: v1-jockeys-jockey_id-analysis-courses
path: /v1/jockeys/{jockey_id}/analysis/courses
operations:
- name: jockeycourseanalysisv1jockeysjockeyidanalysiscoursesget
method: GET
description: The Racing API Jockey Course Analysis
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: jockey_id
in: path
type: string
required: true
- name: start_date
in: query
type: string
description: <p>Query from date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: end_date
in: query
type: string
description: <p>Query to date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: region
in: query
type: string
description: <p>Query by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'>here<
- name: course
in: query
type: string
description: Query by course ids. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_courses_v1_courses_get'>here</a>.
- name: type
in: query
type: string
description: '<p>Query by race type</p><p>Options: <code>chase</code>, <code>flat</code>, <code>hurdle</code>, <code>nh_flat</code></p>'
- name: going
in: query
type: string
description: '<p>Query by going</p><p>Options: <code>fast</code>, <code>firm</code>, <code>good</code>, <code>good_to_firm</code>,
<code>good_to_soft</code>, <code>good_to_yi'
- name: race_class
in: query
type: string
description: '<p>Query by class</p><p>Options: <code>class_1</code>, <code>class_2</code>, <code>class_3</code>,
<code>class_4</code>, <code>class_5</code>, <code>class_6</co'
- name: min_distance_y
in: query
type: string
description: <p>Query by minimum race distance (yards)</p>
- name: max_distance_y
in: query
type: string
description: <p>Query by maximum race distance (yards)</p>
- name: age_band
in: query
type: string
description: '<p>Query by age band</p><p>Options: <code>10yo+</code>, <code>2-3yo</code>, <code>2yo</code>, <code>2yo+</code>,
<code>3-4yo</code>, <code>3-5yo</code>, <code>3'
- name: sex_restriction
in: query
type: string
description: '<p>Query by sex restriction</p><p>Options: <code>c&f</code>, <code>c&g</code>, <code>f</code>, <code>f&m</code>,
<code>m</code>, <code>m&g</code></p>'
- name: v1-jockeys-jockey_id-analysis-distances
path: /v1/jockeys/{jockey_id}/analysis/distances
operations:
- name: jockeydistanceanalysisv1jockeysjockeyidanalysisdistancesget
method: GET
description: The Racing API Jockey Distance Analysis
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: jockey_id
in: path
type: string
required: true
- name: start_date
in: query
type: string
description: <p>Query from date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: end_date
in: query
type: string
description: <p>Query to date with format YYYY-MM-DD, e.g. <code>2020-01-01</code></p>
- name: region
in: query
type: string
description: <p>Query by region codes. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_regions_v1_courses_regions_get'>here<
- name: course
in: query
type: string
description: Query by course ids. Get the full list <a href='https://api.theracingapi.com/documentation#tag/Courses/operation/list_courses_v1_courses_get'>here</a>.
- name: type
in: query
type: string
description: '<p>Query by race type</p><p>Options: <code>chase</code>, <code>flat</code>, <code>hurdle</code>, <code>nh_flat</code></p>'
- name: going
in: query
type: string
description: '<p>Query by going</p><p>Options: <code>fast</code>, <code>firm</code>, <code>good</code>, <code>good_to_firm</code>,
<code>good_to_soft</code>, <code>good_to_yi'
- name: race_class
in: query
type:
# --- truncated at 32 KB (154 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/the-racing-api/refs/heads/main/capabilities/the-racing-pro-plan.yaml