# Best prediction market APIs (2026): Polymarket, Kalshi

> Polymarket, Polymarket US, Kalshi, Limitless and Manifold APIs compared for AI agents: MCP servers, demo environments.

Canonical: https://tradingagentstack.com/prediction-market-apis/

1. [Home](https://tradingagentstack.com/)

2. Prediction markets

# Prediction market APIs and AI agents (2026)

9 APIs, frameworks and MCP servers for trading Polymarket, Kalshi, Limitless and Manifold with code or AI agents, with region rules up front. Checked against official sources 2026-11-30.

## Key facts

Updated Dec 1, 2026 · every fact links its source · [how we check](https://tradingagentstack.com/methodology/)

- **9 prediction market APIs and agents** listed (7 official vendor products, 2 community projects); each fact links its source, last checked between Nov 23, 2026 and Nov 27, 2026. ([how we check](https://tradingagentstack.com/methodology/) · Nov 27, 2026)

- **115 of 158** registered AI agents on prediction markets with enough activity made money over 90 days; trading ROI across all 288 active agents was +5.8% before AI-tool costs. ([AI prediction-market agents](https://tradingagentstack.com/ai-prediction-market-agents/), [Olas registry](https://marketplace.olas.network/) · Dec 1, 2026)

- **Who places the order:** 4 can trade unattended, 2 make approval optional, 1 needs you to confirm each order, 2 can't place real-money orders. ([Safety score inputs](https://tradingagentstack.com/safety-score/) · Nov 27, 2026)

- **Safety scores** run from 30% (Polymarket API) to 100% (Limitless Exchange, Prediction.Markets API); median 67%. ([how it's scored](https://tradingagentstack.com/safety-score/) · Nov 27, 2026)

- **1 security incident** on our tracker involves these tools; latest: Polymarket said one of its third-party providers was compromised, affecting users of its international platform Polymarket.com… ([status.polymarket.com](https://status.polymarket.com/cmvtuswgi00221bkzps7w21pt), [incident tracker](https://tradingagentstack.com/incidents/) · Oct 29, 2026)

Markets & infrastructure

**Who it's for:** Developers and traders automating event contracts on Polymarket, Kalshi and similar venues, who must check regional rules.

Every fact sourced · last checked 2026-11-30 · [how we verify](https://tradingagentstack.com/methodology/)

**⚠ Risk note.** Prediction markets can go to zero on a single outcome, liquidity can vanish near resolution, and rules on who may trade differ sharply by country. Polymarket's international site is close-only for US persons (US residents use the separate Polymarket US); Kalshi is a US exchange with limited non-US access. Using a VPN to get around a geoblock breaks the venues' terms and can get funds frozen. Not financial advice.

| Tool | Live / paper | Safety and access | Pricing | Regions | Visit |
| --- | --- | --- | --- | --- | --- |
| **50**[Kalshi API](https://tradingagentstack.com/tool/kalshi-api/)Safety 50% | live; separate demo environment with mock funds (demo.kalshi.co) | official REST and WebSocket Trade API with RSA-PSS or Ed25519 signed keys; demo credentials are separate from production; since Oct 15, registered MCP clients can be granted read access to your portfolio (balances, positions, orders, fills) through a read::mcp_portfolio OAuth grant that cannot execute orders or change funding; since Oct 29, direct members can use subaccount-restricted API keys to move funds between exchange indices within that subaccount (not a withdrawal); Kalshi also runs its own hosted MCP connector (https://api.elections.kalshi.com/mcp; public market tools need no account, portfolio and price-alert tools sign in by OAuth with read::mcp_portfolio, read::mcp_alerts and write::mcp_alerts): it does not place or cancel orders, transfer funds or save trade drafts, its links send you to Kalshi to submit an order yourself, and its only write action is creating and deleting price alerts; no official trading MCP (community MCPs exist) | API access free; exchange trading fees apply per contract | US: yes (CFTC-regulated exchange); some contracts may be restricted in some states. Non-US access is limited: check Kalshi's eligibility page for your country. | [Visit Kalshi API](https://tradingagentstack.com/go/kalshi-api/?from=/prediction-market-apis/) |
| **30**[Polymarket API](https://tradingagentstack.com/tool/polymarket-api/)Safety 30% | live only (no testnet); CLOB V2 since Apr 28 2026 | wallet-signed orders on the international CLOB (V2 SDKs: py-clob-client-v2, clob-client-v2); separate Polymarket US API with Ed25519 keys and an order preview endpoint; Polymarket's docs now lead with unified SDKs (@polymarket/client for TypeScript; pip install polymarket-client, imported as polymarket, for Python) and call the V2 CLOB clients the previous SDKs; Polymarket's migration guide now says Data API v1 retires on November 2, 2026, including GET /v1/accounting/snapshot, which has no v2 counterpart for its ZIP archive of CSVs: reads use the /v2 routes (cursor pagination, snake_case fields); Polymarket Protocol V2 started trading on selected markets on Nov 23, 2026 (phase 1; phases 2 and 3 not dated): V2 orders are signed for a new exchange contract (signing domain version 3) with new token-approval targets, and integrations have to handle both V2 and V1 markets | API access free; trading fees vary by market | International polymarket.com: US persons cannot open positions (US is close-only) and other jurisdictions are blocked. US residents: use Polymarket US (separate CFTC-regulated app, ID-verified, separate API). | [Visit Polymarket API](https://tradingagentstack.com/go/polymarket-api/?from=/prediction-market-apis/) Affiliate link where available · [disclosure](https://tradingagentstack.com/disclosure/) |
| **45**[Polymarket Agents](https://tradingagentstack.com/tool/polymarket-agents/)Safety 45% (partial) | live (trades via the Polymarket API) | official open-source framework (MIT) with LangChain/Chroma RAG, news sourcing and a CLI that can execute trades; repository archived on May 11, 2026 (read-only; last code change Nov 2024), predates CLOB V2 | free, open source (archived) | Polymarket's terms bar US persons and other restricted jurisdictions from trading through the international API, including via agents. | [Visit Polymarket Agents](https://tradingagentstack.com/go/polymarket-agents/?from=/prediction-market-apis/) |
| **67**[Polymarket US API](https://tradingagentstack.com/tool/polymarket-us-api/)Safety 67% (partial) | live | official Python and TypeScript SDKs; orders support preview, cancel and cancel-all; safe order retries use the Idempotency-Key header (docs corrected Nov 12, 2026: the idempotencyKey name given on Nov 10 is ignored, so retries sent with it were not protected from duplicate orders); prices with extra decimals are rejected, not rounded; keys need an ID-verified Polymarket US account | API access free; trading fees per Polymarket US schedule; from Oct 19, 2026 (1 PM ET) maker and taker rebates are tiered by prior-month volume, and makers under $10M or takers under $250K a month get no rebate (taker fees unchanged); from Nov 11, 2026 (1 PM ET) the combo taker fee curve's (1 - p)^4 coefficient goes back from 0.085 to 0.06 and its (1 - p) term uses your taker coefficient; combo maker fees start Nov 14, 2026 (0.03 x C x p x (1 - p)); a new account's first 7 days use the 0.0695 taker coefficient | US residents only, via the Polymarket US iOS app with identity verification. | [Visit Polymarket US API](https://tradingagentstack.com/go/polymarket-us-api/?from=/prediction-market-apis/) |
| **100**[Limitless Exchange](https://tradingagentstack.com/tool/limitless-exchange/)Safety 100% | live only; no sandbox or testnet (docs say rehearse with minimum-size live orders) | official trading MCP at api.limitless.exchange/mcp with a human approving each order on limitless.exchange (place_orders returns a link to review and submit; proposals expire after 10 minutes), while cancel_order and cancel_all_orders execute directly; open-source agents-starter repo runs dry-run by default | API access free; trading fees per market | Check Limitless's terms for restricted jurisdictions before trading. | [Visit Limitless Exchange](https://tradingagentstack.com/go/limitless-exchange/?from=/prediction-market-apis/) |
| **90**[Manifold Markets API](https://tradingagentstack.com/tool/manifold-markets-api/)Safety 90% | play money (mana); no real-money risk | bots and automated trading explicitly permitted; API keys per user; good for testing agent logic without real money; perpetual futures (beta, mana only) carry leverage and can be liquidated, and API-key trades pay the market's API taker fee when it is higher | free | Available globally (play money). | [Visit Manifold Markets API](https://tradingagentstack.com/go/manifold-markets-api/?from=/prediction-market-apis/) |
| **85**[Kalshi MCP Server (community)](https://tradingagentstack.com/tool/kalshi-mcp-server-community/)Safety 85% | demo and live; trading off by default | community MIT MCP: two-step prepare/confirm order flow, safety caps that can only be tightened at runtime, demo mode, client-side rate limiting; an Oct 17 fix re-checks the daily and per-order caps and the cash reserve at confirm time (before it, several prepared orders could together exceed the daily cap), and runtime limit changes are tighten-only unless MCP_ALLOW_RUNTIME_LIMIT_LOOSENING=1 is set; the fix is on main, and the latest tagged and PyPI release (v0.3.4, Sep 20) predates it | free, open source | Same eligibility as Kalshi. | [Visit Kalshi MCP Server (community)](https://tradingagentstack.com/go/kalshi-mcp-server-community/?from=/prediction-market-apis/) |
| **100**[Prediction.Markets API](https://tradingagentstack.com/tool/prediction-markets-api/)Safety 100% | data only (no execution) | read-only unified API and MCP across venues with a consensus probability; MIT-licensed MCP | free during beta (1,000 req/day); paid tiers announced | Data viewable globally. | [Visit Prediction.Markets API](https://tradingagentstack.com/go/prediction-markets-api/?from=/prediction-market-apis/) |
| **44**[DeskBot for Kalshi](https://tradingagentstack.com/tool/deskbot-for-kalshi/)Safety 44% (partial) | live on your own Kalshi account (and optionally Polymarket); starts in paper mode with simulated trading until you arm each market | closed-source desktop app for Mac and Windows that runs on your computer with your own Kalshi API key and trades 15-minute contracts automatically once a market is switched to live, with no per-trade approval; controls are a master switch, a live switch per market, stake, daily budget and open-position caps, and a daily loss limit that pauses new live entries ($15 by default); the main lane buys favorites priced around 90-95¢, so one loss can cost as much as a dozen or more wins; a copy mode mirrors a lead account's fills into other accounts; DeskBot never holds your money (funds stay in your Kalshi account); its 'Official coin' page says no DeskBot coin has launched yet and that a copycat 'Desk Bot Kalshi' coin is fake | $19.99/month (first month $1) or $155/year (DeskBot Yearly Membership); card required, renews until canceled, no refunds once access is delivered; needs a funded Kalshi account (Kalshi trading fees apply) | Check vendor terms | [Visit DeskBot for Kalshi](https://tradingagentstack.com/go/deskbot-for-kalshi/?from=/prediction-market-apis/) |

## Where to start

- **US residents**: Kalshi (demo first) or Polymarket US.

- **Outside the US**: the international Polymarket CLOB (V2 SDKs only since Apr 28 2026) or Limitless on Base, if your country is allowed.

- **Testing agent logic**: Manifold's play-money API or Kalshi's demo.

Agent safety basics are on [Risk and safety tools](https://tradingagentstack.com/trading-bot-risk-safety-tools/) and [Broker MCP safety controls](https://tradingagentstack.com/broker-mcp-safety-controls/).

### [Kalshi API](https://tradingagentstack.com/tool/kalshi-api/)
Prediction marketsofficial
**50**
 PricingAPI access free
Best forPrediction markets · prediction markets, perpetual futures (Margin/perps markets)
Money accesslive
Safety 50%✓ Verified 2026-11-27[Details →](https://tradingagentstack.com/tool/kalshi-api/)

### [Polymarket API](https://tradingagentstack.com/tool/polymarket-api/)
Prediction marketsofficial
**30**
 PricingAPI access free
Best forPrediction markets · prediction markets, perpetual futures via the separate Perps API
Money accesslive only (no testnet)
Safety 30%✓ Verified 2026-11-27[Details →](https://tradingagentstack.com/tool/polymarket-api/)

P

### [Polymarket Agents](https://tradingagentstack.com/tool/polymarket-agents/)
Prediction marketsofficial
**45**
 Pricingfree, open source (archived)
Best forPrediction markets · prediction markets
Money accesslive (trades via the Polymarket API)
⚠ Archived by Polymarket on GitHub (read-only). The last code change was Nov 5, 2024, before Polymarket's switch to CLOB V2 on Apr 28, 2026, so treat it as reference code, not a ready-to-trade agent.
Safety 45% (partial)✓ Verified 2026-11-23[Details →](https://tradingagentstack.com/tool/polymarket-agents/)

P

### [Polymarket US API](https://tradingagentstack.com/tool/polymarket-us-api/)
Prediction marketsofficial
**67**
 PricingAPI access free
Best forPrediction markets · prediction markets (US)
Money accesslive
Safety 67% (partial)✓ Verified 2026-11-23[Details →](https://tradingagentstack.com/tool/polymarket-us-api/)

L

### [Limitless Exchange](https://tradingagentstack.com/tool/limitless-exchange/)
Prediction marketsofficial
**100**
 PricingAPI access free
Best forPrediction markets · prediction markets (crypto, on Base)
Money accesslive only
Safety 100%✓ Verified 2026-11-23[Details →](https://tradingagentstack.com/tool/limitless-exchange/)

M

### [Manifold Markets API](https://tradingagentstack.com/tool/manifold-markets-api/)
Prediction marketsofficial
**90**
 Pricingfree
Best forPrediction markets · play-money prediction markets
Money accessplay money (mana)
Safety 90%✓ Verified 2026-11-23[Details →](https://tradingagentstack.com/tool/manifold-markets-api/)

K

### [Kalshi MCP Server (community)](https://tradingagentstack.com/tool/kalshi-mcp-server-community/)
Prediction marketscommunity
**85**
 Pricingfree, open source
Best forPrediction markets · prediction markets
Money accessdemo and live
Safety 85%✓ Verified 2026-11-23[Details →](https://tradingagentstack.com/tool/kalshi-mcp-server-community/)

P

### [Prediction.Markets API](https://tradingagentstack.com/tool/prediction-markets-api/)
Prediction marketscommunity
**100**
 Pricingfree during beta (1,000 req/day)
Best forPrediction markets · prediction markets (Kalshi, Polymarket, Limitless)
Money accessdata only (no execution)
Safety 100%✓ Verified 2026-11-23[Details →](https://tradingagentstack.com/tool/prediction-markets-api/)

D

### [DeskBot for Kalshi](https://tradingagentstack.com/tool/deskbot-for-kalshi/)
Prediction marketsofficial
**44**
 Pricing$19.99/month (first month $1) or $155/year (DeskBot Yearly Membership)
Best forPrediction markets · Kalshi 15-minute up/down markets: 9 crypto (BTC, ETH, XRP, SOL, DOGE, HYPE, ZEC, NEAR, BNB), 5 metals, oil, natural gas and 3 currency pairs, Kalshi multi-leg combos and parlays, Polymarket 15-minute crypto Up/Down markets (on your own Polymarket account)
Money accesslive on your own Kalshi account (and optionally Polymarket)
Safety 44% (partial)✓ Verified 2026-11-23[Details →](https://tradingagentstack.com/tool/deskbot-for-kalshi/)

**Following a Polymarket wallet?** For 11 of the 47 biggest 30-day winners we could check, the wallet's own profit record shows under half of what the leaderboard says: [Polymarket top traders, checked](https://tradingagentstack.com/polymarket-top-traders/).

## FAQ

### Can US residents trade Polymarket with an API or agent?

Not on the international polymarket.com: the US is close-only there, and Polymarket's own Agents repo says US persons may not trade through the API or agents. US residents can use Polymarket US, a separate CFTC-regulated app with its own ID-verified accounts and API.

### Is Kalshi available outside the US?

Kalshi is a CFTC-regulated US exchange. Non-US access is limited and changes; check Kalshi's eligibility page before building on it.

### Which prediction markets have a sandbox?

Kalshi has a full demo environment with mock funds. Manifold uses play money, so it is a safe place to test agent logic. Polymarket and Limitless have no testnet; their docs suggest minimum-size live orders.

### Is there an official prediction market MCP?

Limitless runs an official trading MCP at api.limitless.exchange/mcp. Kalshi and Polymarket have community MCP servers only, as of October 2026.

[I've built and operated my own Polymarket bots. Need one built for your strategy? →](https://tradingagentstack.com/go/build?from=/prediction-market-apis/&cta=prediction-market)

## More in Markets & infrastructure
[Crypto exchanges](https://tradingagentstack.com/crypto-exchanges-for-trading-bots/)[Broker APIs](https://tradingagentstack.com/category/broker-api/)[Market data APIs](https://tradingagentstack.com/category/data-api/)[Backtesting](https://tradingagentstack.com/category/backtest-platform/)[VPS & hosting](https://tradingagentstack.com/vps-for-trading-bots/)[Best crypto exchanges for bots](https://tradingagentstack.com/best-crypto-exchanges-for-trading-bots/)[Best perp DEXs for bots](https://tradingagentstack.com/best-perp-dex-for-trading-bots/)[Best prediction market APIs](https://tradingagentstack.com/best-prediction-market-apis-for-ai-agents/)[Best free market data APIs](https://tradingagentstack.com/best-free-market-data-apis/)[Market data API pricing](https://tradingagentstack.com/market-data-api-pricing/)[Exchange API key safety](https://tradingagentstack.com/exchange-api-key-safety/)

Other paths: [Trade with a bot](https://tradingagentstack.com/trade-with-a-bot/) · [Build an AI agent](https://tradingagentstack.com/build-an-ai-agent/) · [Learn](https://tradingagentstack.com/learn-algorithmic-trading/) · [Search all tools](https://tradingagentstack.com/tools/)

Disclosure: some links on this page are affiliate links; we may earn a commission at no cost to you. It never affects rankings or facts. [Read our disclosure](https://tradingagentstack.com/disclosure/)

Building an agent on this? When it trades a public account on Hyperliquid or Polymarket, [get its track record verified](https://tradingagentstack.com/get-your-ai-agent-verified/): we check it from public data on the spot, then list it with a signed record. See [the verified AI trading leaderboard](https://tradingagentstack.com/ai-trading-leaderboard/), and how the agents already out there are doing in the [AI trading bot statistics](https://tradingagentstack.com/ai-trading-bot-statistics/).

## For agents

- [When to use this site, and the page index](https://tradingagentstack.com/llms.txt)
- [Sitemap](https://tradingagentstack.com/sitemap.xml)
- [Contact](https://tradingagentstack.com/contact/)
- [MCP server](https://tradingagentstack.com/mcp/)
- [MCP discovery](https://tradingagentstack.com/.well-known/mcp)
