
matchwire.win — Mapped Prediction Markets (Kalshi, Polymarket, Predict.fun)
win.matchwirev0.1.0更新于 Sep 30, 2026
One row per game, matched across Kalshi, Polymarket US/Intl and Predict.fun. Mapping only.
概览
让助手查询在 Kalshi、Polymarket 美国/国际站和 Predict.fun 之间已映射的预测市场赛事,每场比赛返回一行并保留各平台自己的市场 id。
- 功能
- 通过远程 MCP 端点提供只读工具:list_sports、find_rows、get_row、get_venue_market、report_issue 和 service_status。结果按比赛返回一行,包含各平台的挂单信息,每条带有该平台自己的 market id、匹配层级(exact、normalized、fuzzy)、置信度,以及从该平台读取该市场的请求。胜者、让分、总分和道具等市场类型也会匹配,盘口线是匹配的一部分。HTTP API 还支持增量更新和 SSE 流式推送。
- 适用场景
- 当助手需要判断某个预测平台上的市场与另一个平台上的同一场比赛如何对应时适用,例如把 Kalshi 的市场与其 Polymarket 对应市场进行比较。它只是映射层,价格和订单簿仍需用你已有的数据源从各平台读取。
- 运行要求
- 远程 streamable HTTP 端点 x-api-key 请求头,值为 matchwire.win API 密钥(mw_...),从服务商定价页获取;套餐起价每月 99 美元,Starter 提供 14 天试用。结果会按密钥所属套餐范围裁剪。
安装
在 SourceWeft 中
- 打开 控制台中的 matchwire.win — Mapped Prediction Markets (Kalshi, Polymarket, Predict.fun),将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"mapping": {
"type": "http",
"url": "https://api.matchwire.win/mcp"
}
}
}README
matchwire.win
Mapped prediction-market data for Node.js and Python. One client, no dependencies: matchwire.win returns one row per game, matched across Kalshi, Polymarket US, Polymarket International and Predict.fun, with each venue's own market id left intact — the pieces you need to compare a Kalshi API market with its Polymarket API twin without owning a reconciliation job.
Market types are matched too: winners, spreads and handicaps, totals and props. The line is part of the match, so over 45.5 is never confused with over 48.5.
Mapping only — no prices, no order books. Prices come from each venue; this library tells you which market on which venue is the same game.
- Zero dependencies. One
src/directory on the globalfetch. Nothing installs alongside it. - Node.js 18+, ESM and CommonJS, hand-written TypeScript declarations.
- Typed errors — a
429is distinguishable from a401 invalid_keyin code, not by string matching. - Deltas and streaming —
since=<seq>for changed rows and tombstones, or the same updates over SSE. - MCP included — the same tools an AI agent gets from
https://api.matchwire.win/mcp. - MIT licensed.
Install
Get a key at matchwire.win — plans start at $99/month with a 14-day trial on Starter.
Quickstart
Save as quickstart.mjs and run node quickstart.mjs (Needs MATCHWIRE_API_KEY in the environment):
The repository ships the same thing with formatting and error handling: node examples/quickstart.mjs.
API
Filters
sport, venue, type, league, status accept a value or a comma list; they combine. since=<seq> switches to a delta (changed rows plus tombstones).
venue=kalshi·poly(Polymarket US) ·polyintl(Polymarket International) ·predictfuntype=winner·total·handicap·map_winner·score·eventstatus=scheduled·live·endedsport=a sport name (baseball, notmlb) or a group id fromsports()
Mapping, not prices
Every listing carries the venue's own marketId, a tier (exact, normalized, fuzzy) and a confidence, plus the exact request that reads that market from the venue. Use the mapped row to decide what to compare, then read the prices from each venue with the source you already have.
Agents and MCP
POST https://api.matchwire.win/mcp speaks JSON-RPC 2.0 with your key in the same x-api-key header. Tools: list_sports, find_rows, get_row, get_venue_market, report_issue, service_status. Read-only; every tool result is narrowed by your key's plan exactly like the HTTP API.
Plain text for coding assistants: matchwire.win/llms.txt · MCP reference: matchwire.win/docs/mcp/
Errors
Documentation
- Docs — https://matchwire.win/docs/
- Event mapping, explained — https://matchwire.win/how-to-map-prediction-markets/
- Kalshi API, mapped — https://matchwire.win/kalshi-api/
- Polymarket API, mapped — https://matchwire.win/polymarket-api/
- Prediction Market API — https://matchwire.win/prediction-market-api/
- Plans — https://matchwire.win/#pricing
Python
See python/README.md. Standard library only, Python 3.9+.
License
MIT. Not affiliated with Kalshi, Polymarket or Predict.fun; venue names are used to say what is mapped.
来源:README.md,提交 f4a56fb
工具
0版本历史
1- v0.1.0最新Sep 30, 2026
