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

# Kalshi Markets



## OpenAPI

````yaml openapi.json GET /gateway/v1/prediction-market/kalshi/markets
openapi: 3.1.0
info:
  title: Hermod
  version: 0.0.1
servers:
  - url: https://api.asksurf.ai
security: []
paths:
  /gateway/v1/prediction-market/kalshi/markets:
    get:
      tags:
        - Prediction Market
      summary: Kalshi Markets
      description: |-
        Returns Kalshi markets, optionally filtered by `market_ticker`.

        Each market includes price, volume, and status.

        **Data refresh:** ~30 minutes
      operationId: kalshi-markets
      parameters:
        - description: Market ticker identifier
          explode: false
          in: query
          name: market_ticker
          required: true
          schema:
            description: Market ticker identifier
            examples:
              - KXBTCD-26MAR31-B99999
            type: string
        - description: Results per page
          explode: false
          in: query
          name: limit
          schema:
            default: 20
            description: Results per page
            examples:
              - 20
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - description: Pagination offset
          explode: false
          in: query
          name: offset
          schema:
            default: 0
            description: Pagination offset
            examples:
              - 0
            format: int64
            minimum: 0
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataResponseKalshiMarketItem'
          description: OK
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataAPIError'
          description: Error
      security:
        - AccessToken: []
components:
  schemas:
    DataResponseKalshiMarketItem:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/DataResponseKalshiMarketItem.json
          format: uri
          readOnly: true
          type: string
        data:
          items:
            $ref: '#/components/schemas/KalshiMarketItem'
          type:
            - array
            - 'null'
        meta:
          $ref: '#/components/schemas/OffsetMeta'
      required:
        - data
        - meta
      type: object
    DataAPIError:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/DataAPIError.json
          format: uri
          readOnly: true
          type: string
        error:
          $ref: '#/components/schemas/DataAPIErrorDetail'
      required:
        - error
      type: object
    KalshiMarketItem:
      additionalProperties: false
      properties:
        category:
          description: Surf curated market category
          type: string
        close_time:
          description: Market close time (Unix seconds)
          format: int64
          type: integer
        end_time:
          description: Market end time (Unix seconds)
          format: int64
          type: integer
        event_ticker:
          description: Parent event ticker
          type: string
        event_title:
          description: Event title
          type: string
        last_day_open_interest:
          description: Previous day open interest from daily report
          format: double
          type: number
        market_ticker:
          description: Unique market ticker identifier
          type: string
        notional_volume_usd:
          description: Last day notional trading volume in USD (each contract = $1)
          format: double
          type: number
        open_interest:
          description: Open interest (contracts)
          format: double
          type: number
        payout_type:
          description: Payout type
          type: string
        result:
          description: Market result if resolved
          type: string
        start_time:
          description: Market start time (Unix seconds)
          format: int64
          type: integer
        status:
          description: Market status
          type: string
        subcategory:
          description: Surf curated market subcategory
          type: string
        title:
          description: Market title
          type: string
        total_volume:
          description: Total trading volume (contracts)
          format: int64
          type: integer
      required:
        - market_ticker
        - event_ticker
        - title
        - status
        - payout_type
        - total_volume
        - notional_volume_usd
        - open_interest
        - last_day_open_interest
      type: object
    OffsetMeta:
      additionalProperties: false
      properties:
        cached:
          description: Whether this response was served from cache
          type: boolean
        credits_used:
          description: Credits deducted for this request
          format: int64
          type: integer
        limit:
          description: Maximum number of items returned in this response
          format: int64
          type: integer
        offset:
          description: Number of items skipped (pagination offset)
          format: int64
          type: integer
        total:
          description: >-
            Total number of matching items (before pagination). Omitted when
            total is unknown.
          format: int64
          type: integer
      required:
        - limit
        - offset
        - credits_used
        - cached
      type: object
    DataAPIErrorDetail:
      additionalProperties: false
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object

````