copy open copy.top
copy.top / research / polymarket bots

polymarket bots: what they do, and how to build a simple one

a Polymarket bot is a program that reads markets or traders through Polymarket's APIs and acts on what it sees. here are the main kinds, what each one really needs, and a small alert bot you can run today with no key.

the four kinds of Polymarket bots

market makingquotes both sides of a market and earns the spreadneeds capital, fast order management and risk limits. this is what the largest accounts by volume do
arbitragebuys mispriced outcomes inside one market or across related marketsneeds speed. the easy gaps close in seconds
copy tradingmirrors the trades of chosen accountsneeds a good choice of traders and exits copied as well as entries
alertstells you when a trader trades or a market moves, and places no orderneeds only the public API. the safest place to start

what a bot can read without a key

placing orders is different: it goes through the order book API and needs a key signed by your own wallet. a bot that trades holds real money, so start with one that only reads.

an alert bot in 20 lines

this script prints every new trade of one account, checking once a minute. it uses only Python's standard library and Polymarket's public data API.

import json, time, urllib.request

WALLET = "0xADDRESS"   # a trader from the leaderboard
URL = f"https://data-api.polymarket.com/v2/trades?user={WALLET}&limit=20"
seen = set()

while True:
    req = urllib.request.Request(URL, headers={"user-agent": "Mozilla/5.0"})
    rows = json.load(urllib.request.urlopen(req, timeout=30))["data"]
    for t in reversed(rows):
        key = (t["timestamp"], t["token_id"], t["side"], t["size"])
        if key in seen:
            continue
        seen.add(key)
        print(t["side"], t["size"], "at", t["price"], "-", t["title"])
    time.sleep(60)

to send the alert to Telegram or Discord, replace the print line with a call to their webhook. keep the pause: the public API is shared, and once a minute is enough for a position that lasts days.

what the data says before you automate anything

a bot runs a rule faster. it does not make a losing rule win.

before you run someone else's bot

copy.top and Polymarket

copy trading Polymarket traders is not open on copy.top yet. today copy.top copies traders from the fomo app and from pumpfun, and publishes these Polymarket numbers every monday.

faq

are bots allowed on Polymarket?

Polymarket publishes APIs for reading data and for placing orders, and they are made to be used by programs. read Polymarket's own terms for the rules that apply to you.

how do I build a Polymarket bot?

start with a read-only bot on the public data API: poll a trader's trades or a market's price and send yourself an alert. the script on this page does it in 20 lines. add order placement only once the logic has run for a while without money.

do Polymarket bots make money?

some do, mostly market makers with capital and speed. among the 5,000 most active accounts, 52.4% made money last month and the median trader kept 0.07% of each dollar traded.

is there a free Polymarket bot?

the alert bot on this page is free and uses only public data. be careful with free bots that ask for your private key.

does copy.top have a Polymarket bot?

copy trading Polymarket traders is not open on copy.top yet. today copy.top copies traders from the fomo app and from pumpfun, and publishes these Polymarket numbers every monday.

source: Polymarket's public leaderboard only. nothing comes from copy.top's own records. copy.top is independent and not affiliated with Polymarket. prediction markets are risky: you can lose everything you put in. past results do not predict future results. figures are data, not advice.