> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kairos.trade/llms.txt
> Use this file to discover all available pages before exploring further.

# Live game pairings between Polymarket and Kalshi

> Cross-references currently-live Polymarket games against currently-live Kalshi games, grouped by a Kalshi-league -> Polymarket-sport crosswalk and matched via a multi-step heuristic (ticker-code match, team-name/alias substring match, derived-code prefix match, letter-subset fallback). **Price scale note:** Kalshi market prices in the `kalshiMarkets` array are rescaled to a 0-100 range (not the 0-1 scale used elsewhere in this API) to match a legacy response shape. Falls back to a recent last-known-good snapshot if the live Kalshi data is unavailable. Responses are cacheable.



## OpenAPI

````yaml /openapi/data-api.yaml get /sports/poly-kalshi-pairings
openapi: 3.1.0
info:
  title: Kairos Data API
  version: 1.0.0
  summary: >-
    The full Kairos data plane — markets, candles, trades, search, discover,
    sports, trader analytics, and PnL.
  description: |
    The Kairos Data API at `data.kairos.trade` is the platform's primary data
    plane: market metadata and prices, OHLCV candles, live venue trade proxies,
    normalized trade history, full-text search, discovery feeds, the sports
    catalog, public trader analytics, and account PnL.

    ## Authentication

    Most endpoints accept a Kairos **API key** (`X-Client-Id` + `X-Api-Key` +
    `X-Api-Secret`, all three) or a first-party session JWT. Endpoints tagged
    `public` (trader analytics, provider configs, several sports feeds) need
    no credentials at all. Some endpoints additionally require an API-key
    **scope** (`trade:read`, `position:read`) — stated per operation.

    For high-volume market-data consumption (candles/trades/metadata at
    scale), prefer the dedicated **Market Data API** at `md.kairos.trade` —
    it has higher budgets, ETag caching, and a binary candle format.

    ## Rate limits

    Rate limits use a sliding window keyed on the authenticated user (JWT
    `sub`) or, for anonymous callers, the trusted client IP. Routes belong to
    a named **bucket** (`x-kairos-bucket`) whose per-minute budget is shared
    by every route in it; routes with no bucket run under the service default
    of 100/minute. `x-kairos-rate-limit` states the bucket's compile-time
    default — operators can raise or lower a bucket at runtime, so treat the
    documented number as the baseline, not a contract. 429 responses carry
    `Retry-After` and `X-RateLimit-*`.

    ## Conventions

    - Prices are on the **0–100 cents scale** unless a field says otherwise
      (trader-analytics position/trade prices use the 0–1 scale; each field's
      description states its scale).
    - Errors: `{"detail": "<message>"}` for handler errors; FastAPI's
      standard validation envelope for 422s. Errors surfaced from a venue
      adapter instead use `{"error", "provider", "operation", "message"}` —
      see `DataProviderError`. Unhandled failures always return the generic
      500 body; internal details are logged, never returned.
    - Every request body is capped at 8 MiB service-wide (413).
  contact:
    name: Kairos
    url: https://app.kairos.trade/docs/api-reference
  termsOfService: https://kairos.trade/terms
servers:
  - url: https://data.kairos.trade
    description: Production
  - url: https://staging-data.kairos.trade
    description: Staging
security:
  - apiKeyClientId: []
    apiKeyKey: []
    apiKeySecret: []
paths:
  /sports/poly-kalshi-pairings:
    get:
      tags:
        - Sports
      summary: Live game pairings between Polymarket and Kalshi
      description: >-
        Cross-references currently-live Polymarket games against currently-live
        Kalshi games, grouped by a Kalshi-league -> Polymarket-sport crosswalk
        and matched via a multi-step heuristic (ticker-code match,
        team-name/alias substring match, derived-code prefix match,
        letter-subset fallback). **Price scale note:** Kalshi market prices in
        the `kalshiMarkets` array are rescaled to a 0-100 range (not the 0-1
        scale used elsewhere in this API) to match a legacy response shape.
        Falls back to a recent last-known-good snapshot if the live Kalshi data
        is unavailable. Responses are cacheable.
      operationId: getSportsPolyKalshiPairings
      responses:
        '200':
          description: Matched Polymarket <-> Kalshi live game pairs.
          headers:
            Cache-Control:
              schema:
                type: string
                example: public, max-age=10
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SportsPolyKalshiPairingsResponse'
        '429':
          $ref: '#/components/responses/DataRateLimited'
      security: []
components:
  schemas:
    SportsPolyKalshiPairingsResponse:
      type: object
      required:
        - pairings
      properties:
        pairings:
          type: array
          items:
            $ref: '#/components/schemas/SportsPolyKalshiPairing'
    SportsPolyKalshiPairing:
      type: object
      required:
        - polyGameId
        - polySport
        - kalshiEventTicker
        - kalshiLeague
        - kalshiMilestoneId
        - kalshiMarkets
      properties:
        polyGameId:
          type: string
          example: '10078222'
        polySport:
          type: string
          example: mlb
        kalshiEventTicker:
          type: string
          example: KXMLBGAME-26JUN041410SFMIL
        kalshiLeague:
          type: string
          example: MLB
        kalshiMilestoneId:
          type: string
          example: MILESTONE-4521
        kalshiMarkets:
          type: array
          items:
            $ref: '#/components/schemas/SportsKalshiFlattenedMarket'
    SportsKalshiFlattenedMarket:
      type: object
      required:
        - ticker
        - title
        - yes_sub_title
        - price
        - volume
        - image
        - eventTicker
      properties:
        ticker:
          type: string
          example: KXMLBGAME-26JUN041410SFMIL-SF
        title:
          type: string
          example: Giants at Brewers
        yes_sub_title:
          type: string
          example: Giants win
        price:
          type: number
          format: double
          description: >-
            Rescaled to a 0-100 range (not the 0-1 scale used elsewhere in this
            API), matching a legacy response shape.
          example: 46.5
        volume:
          type: number
          format: double
          example: 12045
        image:
          type:
            - string
            - 'null'
        eventTicker:
          type: string
          example: KXMLBGAME-26JUN041410SFMIL
  responses:
    DataRateLimited:
      description: >
        Rate limit exceeded for this route's sliding window, keyed on the
        session `sub` when

        authenticated and on the trusted client IP otherwise. Honor
        `Retry-After`. A per-API-key

        data ceiling (set per credential) rejects with `{"detail": "API key data
        rate limit

        exceeded"}` instead of the `error` envelope below.
      headers:
        Retry-After:
          schema:
            type: integer
        X-RateLimit-Limit:
          schema:
            type: integer
        X-RateLimit-Remaining:
          schema:
            type: integer
        X-RateLimit-Reset:
          schema:
            type: integer
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: 'Rate limit exceeded: 100 per 1 minute'
  securitySchemes:
    apiKeyClientId:
      type: apiKey
      in: header
      name: X-Client-Id
      description: >-
        Credential client id (`kairos_ck_...`). Must be sent together with
        X-Api-Key and X-Api-Secret.
    apiKeyKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: 64-char hex API key.
    apiKeySecret:
      type: apiKey
      in: header
      name: X-Api-Secret
      description: 64-char hex API secret.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.