Also called API credentials, L2 credentials, CLOB API key.
Creating an API key on Polymarket produces three values, and automated trading needs a fourth that is not part of the key at all.
The three API values are authentication, not authority over funds. They let a client read your open orders and positions and submit order requests to the central limit order book under your address. On their own they cannot move USDC out of your wallet, because a withdrawal is an on-chain transaction that has to be signed by the wallet key.
The private key is the dangerous one. It signs orders, and it also signs everything else, including transfers. Anything holding your private key has full control of that wallet. The sane way to run automated trading is a dedicated Polymarket wallet funded only with the capital you intend to trade, so the worst case is bounded by what is in it.
Sign in at polymarket.com and open Settings from your profile menu. Under API Keys (shown as Developer in some builds), choose to create a new API key and copy the three values it shows you. The secret is displayed once, so save it before closing the dialog.
The wallet private key lives elsewhere in Settings, under Wallet, behind an export step. Polymarket creates that wallet for you when you sign up, so there is no browser extension involved and no separate seed phrase to manage.
All four values are encrypted with AES-256-GCM before they reach the database, using a key that lives only in the server environment. Nothing is written in plaintext and nothing is ever sent back to the browser: the settings screen can tell you that credentials exist, and that is the only thing the API will say about them.
Decryption happens in the copy-trading engine at the moment an order is signed, in a separate process from the web app. If you replace your credentials, the new values overwrite the old row rather than accumulating copies.
Deleting the API key in Polymarket's settings invalidates it immediately, and any client still using it starts getting authentication failures. To rotate, create a new key on Polymarket, paste the new values in, and delete the old one afterwards.
Revoking the private key is a different operation: a private key cannot be cancelled, only emptied. If you need to cut off a client that holds one, move the funds to a different wallet and use fresh credentials from then on.
Not with the three API values alone. They authenticate requests to the order book and cannot sign a withdrawal. The wallet private key is the one that can move funds, which is why it belongs in a dedicated trading wallet holding only what you are willing to put at risk.
Settings, then API Keys (labelled Developer in some builds), then create a new key. Polymarket shows the key, the secret and the passphrase once. The secret is not retrievable afterwards, so copy all three before you close the dialog.
Because Polymarket orders are signed by the wallet that holds the funds. The API credentials authenticate the request; the wallet signature authorises the trade. A client with only the API values can read your account but cannot place an order.
Encrypted with AES-256-GCM, with the encryption key held in the server environment rather than the database. They are decrypted only inside the copy-trading engine when an order is being signed, and never returned to the browser.
Copy trading stops at the next order attempt and the engine reports an authentication failure. Existing positions are unaffected: they sit in your Polymarket wallet and you can manage them on Polymarket directly.
CLOB (Central Limit Order Book)
An order book that matches buyers and sellers based on price and time priority. Polymarket uses a CLOB powered by the CTF Exchange smart contract for all its markets.
Fill or Kill (FOK)
An order type that must be executed in its entirety immediately or not at all. PredCopy uses FOK orders to ensure copy trades either fully execute or are cancelled, avoiding partial fills.
Copy Trading
A strategy where you automatically replicate the trades of another trader. When the copied trader buys or sells, the same action is executed in your account proportionally to your capital.
Risk Management
Strategies and controls to limit potential losses. In copy trading, this includes max position sizes, exposure limits, stale position exits, and bid collapse detection.
A slice of the live PredCopy ranking. Each profile shows the wallet’s open positions, recent trades, and score.
Longer reads on copy trading and real Polymarket markets.
Copy Trading Guide
Learn how to automatically replicate the trades of Polymarket’s best performers. Discover risk management strategies and how PredCopy makes it easy.
Polymarket Guide
A complete walkthrough of the Polymarket platform, from creating your account to placing your first trade. Covers CLOB, USDC deposits, and portfolio management.
Ready to start trading on Polymarket?
Start copying