
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
