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

# 获取 Kalshi 市场

> 列出 Kalshi（受 CFTC 监管的美国预测交易所）上的市场，并带以美元计价的实时买卖报价。

列出 Kalshi（受 CFTC 监管的美国预测交易所）上的市场，并带以美元计价的实时买卖报价。当你需要来自受监管场所的赔率，或想用第二个市场交叉验证 Polymarket 价格时使用；可用 `tickers`（逗号分隔）获取指定市场，用 `event_ticker` / `series_ticker` 限定分组，或用 `status`、`search` 以及创建 / 收盘 / 结算时间区间收窄范围。

返回 `markets[]`，包含 `title`、`status`、`yes_bid_dollars` / `yes_ask_dollars`、`last_price_dollars`、`volume_fp`、`open_interest_fp` 和 `rules_primary`（结算标准），并附带用于分页的 `cursor`。

如需已成交记录而不是报价，请使用 [`get_kalshi_trades`](/docs/zh/api-reference/prediction-market/get_kalshi-trades)。如需在承载类似问题的加密原生场所查询，请使用 [`get_polymarket_markets`](/docs/zh/api-reference/prediction-market/get_polymarket-markets)。

<Note>
  **第一次用？** 把任意 MCP 客户端指向 `https://mcp.aisa.one/mcp` —— Claude Code、
  Codex、Cursor、VS Code 都可以。鉴权走 OAuth：客户端打开浏览器，你点一次
  Allow，不需要粘贴任何 key。各客户端的具体命令和每次调用的价格见
  [aisa.one/zh-cn/mcp](https://aisa.one/zh-cn/mcp#connect)。
</Note>

[在你的 agent 里把这个端点跑起来 →](https://aisa.one/mcp?from=/zh/api-reference/prediction-market/get_kalshi-markets)


## OpenAPI

````yaml openapi/zh/kalshi-openapi.json GET /kalshi/markets
openapi: 3.0.3
info:
  title: AIsa API proxy
  description: 预测市场 API。
  version: 0.0.1
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /kalshi/markets:
    get:
      summary: 获取 Kalshi 市场
      description: >-
        列出 Kalshi（受 CFTC
        监管的美国预测交易所）上的市场，并带以美元计价的实时买卖报价。当你需要来自受监管场所的赔率，或想用第二个市场交叉验证 Polymarket
        价格时使用；可用 `tickers`（逗号分隔）获取指定市场，用 `event_ticker` / `series_ticker`
        限定分组，或用 `status`、`search` 以及创建 / 收盘 / 结算时间区间收窄范围。


        返回 `markets[]`，包含 `title`、`status`、`yes_bid_dollars` /
        `yes_ask_dollars`、`last_price_dollars`、`volume_fp`、`open_interest_fp` 和
        `rules_primary`（结算标准），并附带用于分页的 `cursor`。


        如需已成交记录而不是报价，请使用 `get_kalshi_trades`。如需在承载类似问题的加密原生场所查询，请使用
        `get_polymarket_markets`。
      operationId: get_kalshi_markets
      parameters:
        - name: tickers
          in: query
          required: false
          description: 要检索的 Kalshi 市场代码，以逗号分隔。
          schema:
            type: string
            example: KXMVESPORTSMULTIGAMEEXTENDED-S20268A776ACB3C6-43886DEE17A
        - name: event_ticker
          in: query
          required: false
          description: 按单个 Kalshi 事件代码筛选。
          schema:
            type: string
            example: KXMVESPORTSMULTIGAMEEXTENDED-S20268A776ACB3C6
        - name: search
          in: query
          required: false
          description: >-
            按标题和描述中的关键词搜索市场。必须进行 URL 编码（例如，用 'bitcoin%20price' 表示 'bitcoin
            price'）。
          schema:
            type: string
            example: bitcoin
        - name: status
          in: query
          required: false
          description: 按状态筛选市场。
          schema:
            type: string
            enum:
              - unopened
              - open
              - paused
              - closed
              - settled
            example: open
        - name: limit
          in: query
          required: false
          description: 每页结果数。默认为 100，最大值为 1000。
          schema:
            type: integer
            format: int64
            minimum: 0
            maximum: 1000
            default: 100
            example: 100
        - name: cursor
          in: query
          required: false
          description: 上一个响应中的分页游标。
          schema:
            type: string
        - name: series_ticker
          in: query
          required: false
          description: 按系列 ticker 筛选。
          schema:
            type: string
        - name: min_created_ts
          in: query
          required: false
          description: 筛选在此 Unix 时间戳之后创建的市场。
          schema:
            type: integer
            format: int64
        - name: max_created_ts
          in: query
          required: false
          description: 筛选在此 Unix 时间戳之前创建的市场。
          schema:
            type: integer
            format: int64
        - name: min_updated_ts
          in: query
          required: false
          description: 筛选在此 Unix 时间戳之后更新的市场。
          schema:
            type: integer
            format: int64
        - name: max_close_ts
          in: query
          required: false
          description: 筛选在此 Unix 时间戳之前关闭的市场。
          schema:
            type: integer
            format: int64
        - name: min_close_ts
          in: query
          required: false
          description: 筛选在此 Unix 时间戳之后关闭的市场。
          schema:
            type: integer
            format: int64
        - name: min_settled_ts
          in: query
          required: false
          description: 筛选在此 Unix 时间戳之后结算的市场。
          schema:
            type: integer
            format: int64
        - name: max_settled_ts
          in: query
          required: false
          description: 筛选在此 Unix 时间戳之前结算的市场。
          schema:
            type: integer
            format: int64
        - name: mve_filter
          in: query
          required: false
          description: 按多变量事件筛选。
          schema:
            type: string
            enum:
              - only
              - exclude
      responses:
        '200':
          description: 带分页的 Kalshi 市场响应
          content:
            application/json:
              schema:
                type: object
                properties:
                  cursor:
                    type: string
                    description: 下一页的游标。
                  markets:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
                      properties:
                        ticker:
                          type: string
                        event_ticker:
                          type: string
                        title:
                          type: string
                        status:
                          type: string
                        result:
                          type: string
                        market_type:
                          type: string
                        strike_type:
                          type: string
                        response_price_units:
                          type: string
                        yes_bid_dollars:
                          type: string
                        yes_ask_dollars:
                          type: string
                        no_bid_dollars:
                          type: string
                        no_ask_dollars:
                          type: string
                        last_price_dollars:
                          type: string
                        liquidity_dollars:
                          type: string
                        notional_value_dollars:
                          type: string
                        volume_fp:
                          type: string
                        volume_24h_fp:
                          type: string
                        open_interest_fp:
                          type: string
                        created_time:
                          type: string
                        updated_time:
                          type: string
                        open_time:
                          type: string
                        close_time:
                          type: string
                        expiration_time:
                          type: string
                        latest_expiration_time:
                          type: string
                        expected_expiration_time:
                          type: string
                        can_close_early:
                          type: boolean
                        fractional_trading_enabled:
                          type: boolean
                        custom_strike:
                          type: object
                          additionalProperties: true
                        mve_selected_legs:
                          type: array
                          items:
                            type: object
                            additionalProperties: true
                        rules_primary:
                          type: string
                        rules_secondary:
                          type: string
                required:
                  - markets
        '400':
          description: 错误请求 - 参数无效或验证错误
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Invalid limit parameter
                  message:
                    type: string
                    example: limit must be a number between 1 and 100
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: AISA API Key
      description: 您的 AIsa API 密钥，作为 Bearer token 提供。

````

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