Skip to main content
已暴露为 MCP 工具polymarket_price_history - 在 Claude / Cursor / 任意 MCP 客户端中直接调用。详见 MCP Server 60 秒配置。
已上线   免费

它为 Agent 做什么

polymarket_price_history 返回某个 outcome 的隐含概率如何随时间变化。Agent 选好 market outcome 后,如果要画时间线、复盘事件、或解释概率变化,就调用它。 传入 outcome_token_id,选择 1h1d,也可以指定 UTC 时间范围。返回值会按时间给出 timeprobabilityprice

返回值

data
PolymarketPriceHistory
required
单个 outcome token 的概率历史。
meta.count
number
返回的数据点数量。
meta.creditsUsed
number
本次调用固定为 0
meta.remainingCredits
number
账户剩余 credit。
200 OK · polymarket_price_history
{
  "data": {
    "outcome_token_id": "98787006152320761811798607481686168525551752574583108841982899511109091268658",
    "interval": "1d",
    "points": [
      { "time": "2024-01-01T00:00:00Z", "probability": 0.39, "price": 0.39 },
      { "time": "2024-01-02T00:00:00Z", "probability": 0.42, "price": 0.42 }
    ],
    "coverage_status": "partial",
    "coverage_notice": "Partial probability history is available for the requested window."
  },
  "meta": { "count": 2, "creditsUsed": 0, "remainingCredits": 99 }
}

说明

先从 预测市场事件 开始,读取选中的 market,再把返回的某个 outcome_token_id 传到这里。
看长期变化时用 1d。如果 agent 需要解释某一天或某条消息附近的变化,再用 1h
interval 只接受 1h1dinterval=15m 这类请求会在扣 credit 前返回 400
这里返回的是单个 outcome 的隐含概率点。它不是 OHLCV 数据、订单簿、成交历史或投资建议。

直接调用

{
  "method": "tools/call",
  "params": {
    "name": "polymarket_price_history",
    "arguments": {
      "outcome_token_id": "98787006152320761811798607481686168525551752574583108841982899511109091268658",
      "interval": "1d",
      "start_time": "2024-01-01T00:00:00Z",
      "end_time": "2024-01-15T00:00:00Z"
    }
  }
}

完整参数参考

outcome_token_id
string
required
polymarket_market_read 返回的 outcome token id。
interval
string
required
1h1d
start_time
string
ISO 8601 UTC 起始时间。必须和 end_time 一起使用。
end_time
string
ISO 8601 UTC 结束时间。必须和 start_time 一起使用。
limit
number
可选的返回数据点上限。范围 1-20000

相关接口

预测市场事件

先浏览、搜索并读取 event card,再选择 market。

预测市场 Market 详情

读取 market outcomes,并复制需要的 outcome_token_id