keepcalculator

06 Numbers and Powers

Polymarket Bot Access: Key Sharing Risks

Card No. 06·12087 · Updated · Standard formula, shown below

Before you share a key for Polymarket bot access, know this: sharing your API key or private key gives the recipient full control of your account and funds, and Polymarket does not provide a way to recover assets lost to a compromised key. This article explains what bot access keys are, how they work, the specific risks of sharing them, and safer alternatives for automating your trading.

What Are Polymarket Bot Access Keys?

Polymarket is a decentralized prediction market platform where users trade on event outcomes. To automate trading, many users run bots that interact with the platform’s API. Access is typically granted through one of two types of keys:

  • API keys – generated within your Polymarket account settings, these allow a bot to place orders, check balances, and manage positions on your behalf.
  • Private keys (wallet keys) – the cryptographic keys for the Ethereum wallet you use to deposit and withdraw funds. These are the ultimate control over your assets.

Both types are sensitive, but private keys are far more dangerous. An API key is limited to the Polymarket platform, while a private key can be used to move your crypto anywhere.

How Bot Access Keys Work

When you create an API key on Polymarket, the platform issues a key and a secret. Your bot uses these to sign requests, proving it has permission to act on your account. The key is tied to your account and can be revoked at any time from your settings page. Private keys, on the other hand, are generated by your wallet (e.g., MetaMask) and are not stored by Polymarket. They are used to sign transactions that authorize deposits, withdrawals, and trades on the blockchain.

Bots typically connect to Polymarket’s API using the py-clob-client library or similar tools. The bot sends your API key and secret with each request, so it can place orders without you being logged in. This is convenient but means anyone with those credentials can do the same.

Risks of Sharing a Key

Sharing a key, even with a trusted friend or a “bot provider,” exposes you to several serious risks:

  • Fund theft – With a private key, the recipient can transfer all your tokens out of the wallet. With an API key, they can place trades that lose money, and in some cases withdraw funds if the API key has withdrawal permissions.
  • No recourse – Polymarket is a non-custodial platform; it does not hold your funds and cannot reverse transactions. Once assets are moved, they are gone.
  • Malicious bots – A third-party bot that asks for your key might be designed to drain your account rather than trade for you.
  • Accidental exposure – Keys shared via email, chat, or screenshots can be intercepted or stored in insecure places.

A common misconception is that an API key is safe to share because it’s “just for trading.” However, if the key has withdrawal rights, it’s as dangerous as a private key. Always check the permissions you grant.

How to Choose a Safe Bot Provider

If you decide to use a third-party bot, minimize risk by following these steps:

  1. Never share your private key. Reputable bots only need an API key with limited permissions.
  2. Use a dedicated API key with only the permissions required (e.g., trade, no withdraw). Create a new key for each bot and revoke it when not in use.
  3. Check the bot’s code if it’s open source. Look for where the key is used and whether it’s sent to any external server.
  4. Use a separate wallet with only the funds you’re willing to risk. Do not connect your main trading wallet to an untrusted bot.
  5. Monitor activity – Regularly check your Polymarket account for unauthorized orders or withdrawals.

Common Problems and Mistakes

Even without sharing, bot users often make mistakes that lead to losses:

  • Storing keys in plain text – Saving keys in a file on your computer or in a chat message makes them easy to steal.
  • Using the same key for multiple services – If one service is compromised, all others are at risk.
  • Ignoring rate limits – Polymarket’s API has rate limits; bots that exceed them can get temporarily banned, causing missed trades.
  • Forgetting to revoke keys – After you stop using a bot, the key remains active unless you delete it.

Alternatives to Sharing a Key

If you want automation without giving anyone else access, consider these options:

  • Run your own bot – Use open-source code and host it on a cloud server or your own machine. You keep full control.
  • Use a read-only key – Some platforms allow keys that can only view data, not trade. Use this for analytics without risk.
  • Manual trading with alerts – Set up price alerts and trade manually; slower but safer.
  • Multisig wallets – For high-value accounts, require multiple signatures for withdrawals, so one compromised key isn’t enough.

Safety Best Practices for Key Management

To protect your keys and funds, follow these guidelines:

  • Store keys in a password manager or hardware wallet – never in plain text.
  • Enable two-factor authentication on your Polymarket account where available.
  • Use a dedicated trading wallet with a small balance, separate from your main savings.
  • Regularly rotate API keys – generate new ones and revoke old ones.
  • Never enter your private key into any website, bot, or form that isn’t your official wallet interface.

Frequently Asked Questions

Can I share my API key with a friend to let them trade for me?

Technically yes, but it’s risky. The friend could make mistakes or act maliciously, and you have no way to undo their trades. If you must, create a key with trade-only permissions and monitor it closely.

What happens if someone steals my private key?

They can transfer all funds from that wallet to their own address. Polymarket cannot help recover the assets because it never holds them. You should immediately move any remaining funds to a new wallet and abandon the old one.

Does Polymarket support API keys for bots?

Yes, Polymarket provides an API and documentation for creating API keys. You can generate them in your account settings under the API section. These keys are meant for bot use and can be revoked.

Is it safe to use a bot from a random website that asks for my key?

No. Any bot that asks for your private key is almost certainly a scam. Even a bot that asks for an API key with withdrawal permissions is dangerous. Only use bots from reputable, open-source projects, and always review what the key can do.

Can I limit an API key to only place orders, not withdraw?

Yes, when creating an API key on Polymarket, you can specify permissions. Choose “trade” only and leave “withdraw” disabled. This limits the damage if the key is compromised.

What should I do if I accidentally shared my key?

Immediately revoke the key in your Polymarket settings and move any funds from the associated wallet to a new one. Change your passwords and enable 2FA. Act quickly – every minute counts.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →