naftiko: 1.0.0-alpha2
info:
label: The Racing API — North America
description: 'The Racing API — North America. 3 operations. Lead operation: The Racing API Meets. Self-contained Naftiko
capability covering one The Racing Api business surface.'
tags:
- The Racing Api
- North America
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-north-america
baseUri: https://api.theracingapi.com
description: The Racing API — North America business capability. Self-contained, no shared references.
resources:
- name: v1-north-america-meets
path: /v1/north-america/meets
operations:
- name: meetsv1northamericameetsget
method: GET
description: The Racing API Meets
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
- name: end_date
in: query
type: string
description: Query to date with format YYYY-MM-DD, e.g. 2020-01-01
- name: limit
in: query
type: string
- name: skip
in: query
type: string
- name: v1-north-america-meets-meet_id-entries
path: /v1/north-america/meets/{meet_id}/entries
operations:
- name: meetentriesv1northamericameetsmeetidentriesget
method: GET
description: The Racing API Meet Entries
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: meet_id
in: path
type: string
required: true
- name: v1-north-america-meets-meet_id-results
path: /v1/north-america/meets/{meet_id}/results
operations:
- name: meetresultsv1northamericameetsmeetidresultsget
method: GET
description: The Racing API Meet Results
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: meet_id
in: path
type: string
required: true
authentication:
type: basic
username: '{{env.THE_RACING_API_USER}}'
password: '{{env.THE_RACING_API_PASS}}'
exposes:
- type: rest
namespace: the-racing-north-america-rest
port: 8080
description: REST adapter for The Racing API — North America. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/v1/north-america/meets
name: v1-north-america-meets
description: REST surface for v1-north-america-meets.
operations:
- method: GET
name: meetsv1northamericameetsget
description: The Racing API Meets
call: the-racing-north-america.meetsv1northamericameetsget
with:
start_date: rest.start_date
end_date: rest.end_date
limit: rest.limit
skip: rest.skip
outputParameters:
- type: object
mapping: $.
- path: /v1/v1/north-america/meets/{meet-id}/entries
name: v1-north-america-meets-meet-id-entries
description: REST surface for v1-north-america-meets-meet_id-entries.
operations:
- method: GET
name: meetentriesv1northamericameetsmeetidentriesget
description: The Racing API Meet Entries
call: the-racing-north-america.meetentriesv1northamericameetsmeetidentriesget
with:
meet_id: rest.meet_id
outputParameters:
- type: object
mapping: $.
- path: /v1/v1/north-america/meets/{meet-id}/results
name: v1-north-america-meets-meet-id-results
description: REST surface for v1-north-america-meets-meet_id-results.
operations:
- method: GET
name: meetresultsv1northamericameetsmeetidresultsget
description: The Racing API Meet Results
call: the-racing-north-america.meetresultsv1northamericameetsmeetidresultsget
with:
meet_id: rest.meet_id
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: the-racing-north-america-mcp
port: 9090
transport: http
description: MCP adapter for The Racing API — North America. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: racing-api-meets
description: The Racing API Meets
hints:
readOnly: true
destructive: false
idempotent: true
call: the-racing-north-america.meetsv1northamericameetsget
with:
start_date: tools.start_date
end_date: tools.end_date
limit: tools.limit
skip: tools.skip
outputParameters:
- type: object
mapping: $.
- name: racing-api-meet-entries
description: The Racing API Meet Entries
hints:
readOnly: true
destructive: false
idempotent: true
call: the-racing-north-america.meetentriesv1northamericameetsmeetidentriesget
with:
meet_id: tools.meet_id
outputParameters:
- type: object
mapping: $.
- name: racing-api-meet-results
description: The Racing API Meet Results
hints:
readOnly: true
destructive: false
idempotent: true
call: the-racing-north-america.meetresultsv1northamericameetsmeetidresultsget
with:
meet_id: tools.meet_id
outputParameters:
- type: object
mapping: $.