• Paris Saint-Germain FC vs. FC B… · FC Barcelona41¢
  • US-Iran ceasefire continues thr… · October 2294¢▲ 15.2
  • Counter-Strike: TheMongolz vs B… · Match Winner1¢
  • US-Iran ceasefire continues thr… · October 3181¢▲ 16.0
  • UEFA Champions League: 2027 Cha… · Shakhtar Donetsk0¢
  • Balance of Power: 2026 Midterms · R Senate, D House28¢▲ 1.0
  • Brazil Presidential Election · Luiz Inácio Lula da Silva23¢▼ 1.0
  • Prime Minister of Israel after … · Benjamin Netanyahu30¢▲ 2.0
  • Brazil Presidential Election · Flávio Bolsonaro77¢▲ 1.2
  • Fed Decision in October · No change87¢▲ 2.0
  • SSC Napoli vs. FK Bodø/Glimt · SSC Napoli56¢▼ 4.0
  • Fed Decision in October · 25 bps increase14¢▼ 1.0
  • Ballon d'Or Winner 2026 · Kylian Mbappé5¢▲ 1.6
  • Dota 2: Team Lynx vs Power Rang… · Game 2 Winner100¢
  • Paris Saint-Germain FC vs. FC B… · O/U 4.545¢▼ 4.0
  • Manchester City FC vs. AEK · Draw (Manchester City FC vs. AEK)9¢
  • Fed Decision in October · 25 bps decrease0¢
  • Ballon d'Or Winner 2026 · Erling Haaland0¢

Polymarket and Kalshi trading bots: how they work, what they cost, and how to avoid bot scams

Bots quote prices, chase arbitrage and copy whales on Polymarket and Kalshi. How a trading bot is built on each API, what fees did to bot strategies in 2026, how copy trading really works, and the malware wave aimed at Polymarket bot users.

RDResearch desk18 Oct 2026 · 5 min read

A large share of trading on Polymarket and Kalshi is done by bots: programs that place and cancel orders through the platforms' APIs. Some are run by professional market makers, many by individuals. They can be useful tools, but the bot world is also where some of the worst scams in prediction markets live.

What trading bots do

Bot type What it does Main risk
Market making Keeps a bid and an ask in the book, earns the spread and rewards Being run over by news (adverse selection)
Arbitrage Trades price gaps between platforms or between linked outcomes Fees, slow fills, different rules on each platform
Copy trading Mirrors the trades of chosen wallets Lag, slippage, copying luck rather than skill
News and data Trades the moment a result or data release appears A speed race against professionals
Short-term crypto Trades 15-minute and hourly crypto price markets Polymarket's highest fee rate since 2026

How a bot is built

Every bot has the same parts:

  1. Market data: prices and the order book, streamed over a WebSocket rather than polled.
  2. A strategy: the rule that decides what to buy or sell, at what price and size.
  3. Order management: placing, amending and cancelling orders, and tracking what filled.
  4. Risk limits: a maximum position per market and in total, a loss limit per day, and a kill switch that cancels everything.
  5. Logging: every decision and fill, so you can tell skill from luck afterwards.

On Polymarket

Polymarket's order book (the CLOB) has official open-source clients for TypeScript and Python. After the exchange upgrade in April 2026 these are the V2 packages, and orders settle in pUSD, Polymarket's dollar token backed one-to-one by USDC. API credentials are derived from your wallet's signature, which is why a Polymarket bot needs access to a private key: that key controls your money.

On Kalshi

Kalshi offers REST and WebSocket APIs (and FIX for institutions). You create an API key in your account and sign requests with its private key; the key can be revoked at any time, and Kalshi runs a demo environment for testing with fake money. Endpoints, limits and code examples for both platforms: Kalshi API and Polymarket API.

What fees did to bots

Until 2026 most Polymarket markets had no trading fees, which made tiny, high-frequency edges profitable. Polymarket's fee rollout started with exactly those markets, short-term crypto, and now charges takers a category rate × price × (1 − price) on most categories, while makers still pay nothing and earn rebates (Polymarket fees vs Kalshi fees). The result: strategies that take liquidity need bigger edges than before, and strategies that provide liquidity became relatively more attractive.

Copy trading: what it really gets you

Every Polymarket trade is public on the blockchain, so you can follow any wallet, and copy-trading tools automate that. Before you copy anyone:

  • You always trade after them, at a worse price, often after their order has moved the market.
  • Big wallets are not always skilled: some are lucky, some are hedging positions elsewhere, some trade on information they should not have.
  • Their sizing is not yours: a whale's 1% position might be your whole bankroll.

Watching big traders is useful for spotting where money is moving (Polymarket whale tracker, Polymarket leaderboard). Copying them blindly rarely is.

Bot scams and malware

In 2026 security researchers found waves of fake "Polymarket trading bots" built to steal money:

  • Fake GitHub repositories with polished READMEs and inflated stars, including more than 20 published from a hijacked, verified organisation.
  • Typosquatted npm packages that wrapped the real Polymarket client so the bot appeared to work, while sending wallet private keys and .env files to the attackers (reported in May 2026).
  • A fake "Polymarket arbitrage bot" flagged in July 2026, which stole wallet keys and browser passwords from developers who ran it.

How to protect yourself:

  1. Never paste a private key into code you did not write or fully read, and never into a website or chat.
  2. Use a separate wallet with limited funds for any bot; keep your main funds elsewhere.
  3. Install only the official clients, and check every dependency name letter by letter.
  4. Ignore "guaranteed profit" bots, paid Telegram bots and anyone offering to run a bot with your keys.
  5. If you ran something suspicious, treat the computer as compromised: move funds from a clean device first, then rotate every key and password.

Are bots allowed?

Both platforms provide APIs for automated trading and publish rate limits. Manipulative behaviour, such as trading with yourself to fake volume or spoofing orders you never intend to fill, is against their rules (and, on Kalshi, against CFTC rules). Check each platform's terms before you run anything.

Trading bots: frequently asked questions

Do Polymarket bots make money?
Some do, mostly professional market makers with low costs and good risk control. Most retail bots lose to fees, slippage and faster competitors.

Is there an official Kalshi bot?
No. Kalshi provides an API and a demo environment; bots are built by traders and firms.

Is Polymarket copy trading safe?
The idea is legal, but you trade later and at worse prices than the wallet you copy, and many copy-trading tools ask for your private key. Never give it to them.

Are GitHub Polymarket bots safe?
Many are not. Several 2026 campaigns used fake bot repositories to steal private keys.

Keep reading

#bots#api#developers#polymarket#kalshi#safety
RD
Written by
Research desk
Markets research

Turn this into your edge.

Put what you just read to work: live Polymarket and Kalshi odds, the news behind every move and the better price across both, free.

Keep reading

More guides