跳转到主要内容
GET
获取 Kalshi 交易
获取 Kalshi 市场的成交明细——是实际成交,而不是报价。当你需要某个时间窗口内的成交价格和成交量,例如观察事件推进过程中市场信心如何变化时使用;可用 ticker 和 min_ts / max_ts(Unix 秒)区间收窄范围,并用 is_block_trade 单独筛出大额协商交易。 返回 trades[],包含 trade_id、ticker、count_fp(合约张数)、yes_price_dollars / no_price_dollars、taker_side 和 created_time,并附带用于分页的 cursor。 如需当前报价、结算规则和市场元数据而不是成交明细,请使用 get_kalshi_markets。
第一次用? 把任意 MCP 客户端指向 https://mcp.aisa.one/mcp —— Claude Code、 Codex、Cursor、VS Code 都可以。鉴权走 OAuth:客户端打开浏览器,你点一次 Allow,不需要粘贴任何 key。之后智能体通过几个元工具调用所有端点: search、list_categories、get_details 和 batch_quote 免费,batch_use 按次计费。各客户端的接入步骤见通过 MCP 连接;实时工具列表和 每次调用的价格见 aisa.one/zh-cn/mcp。
在你的 agent 里把这个端点跑起来 →

请求规范

  • 方法与路径: GET /apis/v1/kalshi/trades
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/kalshi/trades
  • cursor: query; 可选
  • is_block_trade: query; 可选
  • limit: query; 可选
  • max_ts: query; 可选
  • min_ts: query; 可选
  • ticker: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.02 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

cursor
string

Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.

is_block_trade
boolean

Filter trades by whether they are block trades. Omit to return all trades. Set to true to return only block trades. Set to false to return only non-block trades.

limit
integer<int64>
默认值:100

每页结果数。默认为 100,最大值为 1000。

必填范围: 0 <= x <= 1000
max_ts
integer<int64>

Filter items before this Unix timestamp

min_ts
integer<int64>

Filter items after this Unix timestamp

ticker
string

Filter by market ticker

响应

Trades retrieved successfully

cursor
string
必填
trades
object[]
必填