SportsGameOdds · Capability

SportsGameOdds API — Markets

SportsGameOdds API — Markets. 1 operations. Lead operation: List Markets. Self-contained Naftiko capability covering one Sportsgameodds business surface.

Run with Naftiko SportsgameoddsMarkets

What You Can Do

GET
Listmarkets — List Markets
/v1/markets

MCP Tools

list-markets

List Markets

read-only idempotent

Capability Spec

sportsgameodds-markets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SportsGameOdds API — Markets
  description: 'SportsGameOdds API — Markets. 1 operations. Lead operation: List Markets. Self-contained Naftiko capability
    covering one Sportsgameodds business surface.'
  tags:
  - Sportsgameodds
  - Markets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPORTSGAMEODDS_API_KEY: SPORTSGAMEODDS_API_KEY
capability:
  consumes:
  - type: http
    namespace: sportsgameodds-markets
    baseUri: https://api.sportsgameodds.com/v1
    description: SportsGameOdds API — Markets business capability. Self-contained, no shared references.
    resources:
    - name: markets
      path: /markets/
      operations:
      - name: listmarkets
        method: GET
        description: List Markets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sport
          in: query
          type: string
          description: Filter markets by sport
        - name: betType
          in: query
          type: string
          description: Filter by bet type
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.SPORTSGAMEODDS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: sportsgameodds-markets-rest
    port: 8080
    description: REST adapter for SportsGameOdds API — Markets. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/markets
      name: markets
      description: REST surface for markets.
      operations:
      - method: GET
        name: listmarkets
        description: List Markets
        call: sportsgameodds-markets.listmarkets
        with:
          sport: rest.sport
          betType: rest.betType
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sportsgameodds-markets-mcp
    port: 9090
    transport: http
    description: MCP adapter for SportsGameOdds API — Markets. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-markets
      description: List Markets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sportsgameodds-markets.listmarkets
      with:
        sport: tools.sport
        betType: tools.betType
      outputParameters:
      - type: object
        mapping: $.