> ## 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 Event Search



## OpenAPI

````yaml openapi.json GET /gateway/v1/search/kalshi
openapi: 3.1.0
info:
  title: Hermod
  version: 0.0.1
servers:
  - url: https://api.asksurf.ai
security: []
paths:
  /gateway/v1/search/kalshi:
    get:
      tags:
        - Search
      summary: Kalshi Event Search
      description: >-
        Searches Kalshi events by keyword and/or category.


        **Filters:**

        - Keyword matching event title, subtitle, or market title

        - Category


        At least one of `q` or `category` is required. Returns events with
        nested markets.


        **Data refresh:** ~30 minutes
      operationId: search-kalshi
      parameters:
        - description: Search keyword matching event title, subtitle, or market title
          explode: false
          in: query
          name: q
          schema:
            description: Search keyword matching event title, subtitle, or market title
            examples:
              - bitcoin
            maxLength: 200
            type: string
        - description: Filter by category
          explode: false
          in: query
          name: category
          schema:
            description: Filter by category
            enum:
              - crypto
              - culture
              - economics
              - financials
              - politics
              - stem
              - sports
              - unknown
            examples:
              - crypto
            type: string
        - description: >-
            Market status filter: `active`, `closed`, `determined`, `disputed`,
            `finalized`, `inactive`, or `initialized`
          explode: false
          in: query
          name: status
          schema:
            description: >-
              Market status filter: `active`, `closed`, `determined`,
              `disputed`, `finalized`, `inactive`, or `initialized`
            enum:
              - active
              - closed
              - determined
              - disputed
              - finalized
              - inactive
              - initialized
            examples:
              - active
            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/DataResponseKalshiEvent'
          description: OK
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataAPIError'
          description: Error
      security:
        - AccessToken: []
components:
  schemas:
    DataResponseKalshiEvent:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/DataResponseKalshiEvent.json
          format: uri
          readOnly: true
          type: string
        data:
          items:
            $ref: '#/components/schemas/KalshiEvent'
          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
    KalshiEvent:
      additionalProperties: false
      properties:
        event_subtitle:
          description: Event subtitle
          type: string
        event_ticker:
          description: Unique event ticker identifier
          type: string
        event_title:
          description: Event title
          type: string
        market_count:
          description: Number of markets in this event
          format: int64
          type: integer
        markets:
          description: Markets within this event
          items:
            $ref: '#/components/schemas/KalshiMarketItem'
          type:
            - array
            - 'null'
      required:
        - event_ticker
        - event_title
        - market_count
        - markets
      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
    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

````