Can you run a Polymarket trading bot or AI agent?

As of 25 Nov 2026, yes. In the United States, a trading bot or AI agent trades through the Polymarket US retail API, using an identity-verified account and an API key from polymarket.us/developer. polymarket.com's international API is close-only for US users: a US account there can close positions but cannot open new ones.

Last checked .

How do you set up a Polymarket US trading bot?

Polymarket US's authentication docs give the steps. Download the Polymarket US iOS app, create an account and complete identity verification. The docs say you are asked to verify your identity before you can trade or access the API. Then sign in at polymarket.us/developer with the same method you used in the app (Apple, Google or email) and create a key. You get a Key ID and a Secret Key, and the secret is shown only once.

Every trading, portfolio and WebSocket request is signed with that key. Raw requests carry the headers X-PM-Access-Key, X-PM-Timestamp and X-PM-Signature, and the timestamp must be within 30 seconds of the server's clock. The official SDKs do the signing for you: the polymarket-us package for Python 3.10 or later and for TypeScript on Node.js 18 or later.

Market data needs no key. The public gateway at gateway.polymarket.us serves events, markets, best bid and offer, order books and price history, and each market in that feed carries its own fee coefficient. Trading, positions and balances go through api.polymarket.us, with WebSocket streams for markets and for your own orders.

Can an AI agent trade on Polymarket?

Yes, the same way a bot does. An AI agent is a program whose trading decisions come from a language model, and Polymarket US treats it like any other API client: it uses your key, your account and your limits. As of 25 Nov 2026, the Polymarket US docs do not describe an AI-agent kit or an MCP server, so an agent places orders by calling the API or the SDK.

The agent can read prices and order books from gateway.polymarket.us without a key. It needs the key only to trade, so keep the secret out of anything the model reads or logs, and treat every order it places as your own. A bot or agent trades under its owner's account, so your state's rules and Polymarket US's trading restrictions apply to it.

What are the Polymarket US API rate limits?

The retail API allows 25 requests a second in total, shared across endpoints and enforced per IP address. A new order that is not processed within 5 seconds is rejected. The rate-limits page has a section for automated trading systems: to get higher limits, email support@polymarket.us with your use case, the volume you expect and the endpoints you need.

What does a bot pay in fees?

From 12:01 a.m. Eastern on 21 Nov 2026 through 31 Dec 2026, every API taker trade on Polymarket US is charged 0.0695 times contracts times price times one minus price, whatever your volume, and 70 percent of that fee is rebated. The rebate covers straight trades. The fee page says combos follow in about a week, and that Polymarket intends to extend the program based on how it performs. Maker rebates still apply and are calculated on the fee before the taker rebate. The page does not say when the 70 percent is paid back. Its separate volume-based taker rebates are paid weekly.

For 100 contracts at 50 cents, a taker pays: Kalshi $1.75; the Polymarket US app at the entry tier, $2.38; the Polymarket US API, $1.74 charged with $1.22 back, so $0.52 net. At 25 or 75 cents it's $1.32, $1.78 and $0.39 net. At 10 or 90 cents it's $0.63, $0.86 and $0.19 net. These are our calculations from the posted formulas. Polymarket US rounds to the cent using banker's rounding, and Kalshi rounds up. The same numbers are in a machine-readable file at canibetin.com/fees.json.

Can a US trader use the polymarket.com API instead?

No, not to open trades. Polymarket's international docs list the United States under regulatory-restricted jurisdictions, which are close-only on the website and the API: users can close existing positions but cannot open new ones, and orders from blocked regions are rejected. polymarket.com publishes a geoblock check at polymarket.com/api/geoblock. The Polymarket US terms also bar bypassing geolocation controls, so a VPN is not a way around it.

Most open-source Polymarket bots are written for the international API and its clients (polymarket-client for Python, @polymarket/client for TypeScript). A US bot has to use the Polymarket US API and SDK instead. The prices on this site come from the international book, so they are not Polymarket US prices.

How does Kalshi's API compare for bots and AI agents?

Kalshi, a CFTC-regulated exchange, also has a retail trading API. You create API keys in your Kalshi account settings, as Ed25519 (the default) or RSA 2048-bit keys, and sign each request with KALSHI-ACCESS-KEY, KALSHI-ACCESS-TIMESTAMP and KALSHI-ACCESS-SIGNATURE headers. Official SDKs are kalshi_python_sync and kalshi_python_async for Python and kalshi-typescript. Public market data needs no key, and a demo exchange with mock funds runs at demo.kalshi.co.

Kalshi's limits come in tiers. Basic gets 200 read and 100 write tokens a second, and most requests cost 10 tokens, which works out to about 20 reads and 10 writes a second (our calculation). Advanced, 300 and 300, is an API request away once one of your last 100 orders went through the API. Expert and above are assigned automatically from your share of 30-day volume.

For AI agents, Kalshi runs a hosted MCP connector at api.elections.kalshi.com/mcp. Without an account it can search markets and read odds and order books; with OAuth it can read your portfolio and manage price alerts. Kalshi's docs say it does not place or cancel orders or move funds. To trade, an agent uses the API, the same as on Polymarket US.

Which states and rules apply to a bot?

The account's state decides. Polymarket US's state list is on our Polymarket legal page, and on 23 Nov 2026 it omitted Louisiana and Nevada. Kalshi's list is on our Kalshi legal page. Polymarket US's trading-restrictions page bars trading on confidential information and trading by anyone with authority or influence over an outcome. Those rules cover orders a bot or agent places for you.

On this site

State mapBest prices

Questions

Can I run a Polymarket trading bot in the US?

Yes, on Polymarket US through its retail API. You need the iOS app, an identity-verified account and an API key from polymarket.us/developer. Your state has to be on Polymarket US's list.

Can an AI agent trade Polymarket for me?

Yes. An agent uses the same API and key as any bot, and its orders are yours. Polymarket US does not publish an agent kit or MCP server as of 25 Nov 2026, so the agent calls the API or the official SDK.

Can I use a polymarket.com bot from the US?

Not to open trades. Polymarket's docs list the US as close-only on the international site and API, so a US user can only close existing positions there.

What is the Polymarket US API rate limit?

25 requests a second in total, per IP address. Automated trading systems can email support@polymarket.us to ask for higher limits.

Is the Polymarket US API cheaper than Kalshi for a bot?

For taker trades during the promotion (21 Nov to 31 Dec 2026), on the posted formulas, yes: about $0.52 net for 100 contracts at 50 cents against Kalshi's $1.75.

Does Kalshi have an MCP server for AI agents?

Yes, a hosted MCP connector at api.elections.kalshi.com/mcp that reads markets, odds and order books, and with OAuth your portfolio and alerts. Kalshi says it does not place or cancel orders.

Can a bot read Polymarket US prices without an account?

Yes. gateway.polymarket.us serves events, markets, best bid and offer and order books with no key. You only need an account and a key to trade.

Sources

Other guides

Every state

By Felix Trevelyan, editor.