TheSports · Capability

TheSports Football API — Standings

TheSports Football API — Standings. 1 operations. Lead operation: Get Standings. Self-contained Naftiko capability covering one Thesports business surface.

Run with Naftiko ThesportsStandings

What You Can Do

GET
Getstandings — Get Standings
/v1/football/standings/list

MCP Tools

get-standings

Get Standings

read-only idempotent

Capability Spec

football-standings.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: TheSports Football API — Standings
  description: 'TheSports Football API — Standings. 1 operations. Lead operation: Get Standings. Self-contained Naftiko capability
    covering one Thesports business surface.'
  tags:
  - Thesports
  - Standings
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    THESPORTS_API_KEY: THESPORTS_API_KEY
capability:
  consumes:
  - type: http
    namespace: football-standings
    baseUri: https://api.thesports.com/v1
    description: TheSports Football API — Standings business capability. Self-contained, no shared references.
    resources:
    - name: football-standings-list
      path: /football/standings/list
      operations:
      - name: getstandings
        method: GET
        description: Get Standings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: user_key
          in: query
          type: string
          description: Your API authentication key.
          required: true
        - name: competition_id
          in: query
          type: string
          description: The competition ID.
          required: true
        - name: season_id
          in: query
          type: string
          description: The season ID.
    authentication:
      type: apikey
      key: user_key
      value: '{{env.THESPORTS_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: football-standings-rest
    port: 8080
    description: REST adapter for TheSports Football API — Standings. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/football/standings/list
      name: football-standings-list
      description: REST surface for football-standings-list.
      operations:
      - method: GET
        name: getstandings
        description: Get Standings
        call: football-standings.getstandings
        with:
          user_key: rest.user_key
          competition_id: rest.competition_id
          season_id: rest.season_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: football-standings-mcp
    port: 9090
    transport: http
    description: MCP adapter for TheSports Football API — Standings. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-standings
      description: Get Standings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: football-standings.getstandings
      with:
        user_key: tools.user_key
        competition_id: tools.competition_id
        season_id: tools.season_id
      outputParameters:
      - type: object
        mapping: $.