The Racing API · Capability

The Racing API — North America

The Racing API — North America. 3 operations. Lead operation: The Racing API Meets. Self-contained Naftiko capability covering one The Racing Api business surface.

Run with Naftiko The Racing ApiNorth America

What You Can Do

GET
Meetsv1northamericameetsget — The Racing API Meets
/v1/v1/north-america/meets
GET
Meetentriesv1northamericameetsmeetidentriesget — The Racing API Meet Entries
/v1/v1/north-america/meets/{meet-id}/entries
GET
Meetresultsv1northamericameetsmeetidresultsget — The Racing API Meet Results
/v1/v1/north-america/meets/{meet-id}/results

MCP Tools

racing-api-meets

The Racing API Meets

read-only idempotent
racing-api-meet-entries

The Racing API Meet Entries

read-only idempotent
racing-api-meet-results

The Racing API Meet Results

read-only idempotent

Capability Spec

the-racing-north-america.yaml Raw ↑
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: <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: 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: $.