naftiko: 1.0.0-alpha2 info: label: The Racing API — Results description: 'The Racing API — Results. 4 operations. Lead operation: The Racing API Results. Self-contained Naftiko capability covering one The Racing Api business surface.' tags: - The Racing Api - Results 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-results baseUri: https://api.theracingapi.com description: The Racing API — Results business capability. Self-contained, no shared references. resources: - name: v1-results path: /v1/results operations: - name: resultsv1resultsget method: GET description: The Racing API Results outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: start_date in: query type: string 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 user - name: end_date in: query type: string 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 type: string description:
Query by region codes. Get the full list here< - name: course in: query type: string description: Query by course ids. Get the full list here. - name: type in: query type: string description: '
Query by race type
Options: chase, flat, hurdle, nh_flat
Query by going
Options: Query by class Options: Query by maximum race distance (yards) Query by age band Options: Query by sex restriction Options: fast, firm, good, good_to_firm,
good_to_soft, good_to_yi'
- name: race_class
in: query
type: string
description: 'class_1, class_2, class_3,
class_4, class_5, class_6Query by minimum race distance (yards)10yo+, 2-3yo, 2yo, 2yo+,
3-4yo, 3-5yo, 3'
- name: sex_restriction
in: query
type: string
description: 'c&f, c&g, f, f&m,
m, m&g