Here is how to get polymarket api key access on the US platform. You verify your identity, sign in to the developer portal, and create a key there. There is no shortcut in code, so the account steps come first.

This guide follows the official Polymarket US documentation. Before you write any code, read the Polymarket US quickstart and the Polymarket API docs welcome page. The international exchange uses a different API and key process, so check which platform you use before you follow these steps.

How to get polymarket api key: verify your account first

Polymarket US requires identity verification before you can trade or access the API. When your verification is approved, the app shows a confirmation. If you do not yet have access to the app, you need an invite code, and the quickstart points you to the team for help with setup.

Finish this step before you move on. The developer portal is only the next stage of the same process.

How to get polymarket api key in the developer portal

Step 1: Sign in with the same method as the app

Go to the developer portal and sign in with the method you used in the app: Apple, Google or email. Using the same method keeps you on the same account, which avoids confusion when you check your access later.

Step 2: Create the key and copy it at once

Click to create a new key. The dialog gives you the key value, and you should copy it somewhere safe before you close the dialog. Your code will use this value to authenticate, so store it before you continue. If you close the dialog without copying it, do not guess the value. Create a new key instead.

Public data does not need a key

Some endpoints need no authentication. The quickstart shows a market lookup by slug that runs without credentials. Calls to your account data, such as positions, return an error when credentials are missing or invalid. So you only need a key once your program reads private data or places orders.

Set up your client with the right runtime

The official TypeScript library requires Node.js 18 or later. The official Python library requires Python 3.10 or later. Check your version before you install anything, because older runtimes can fail in ways that look like a key problem.

Keep your key safe

Treat the key like a password. Keep it in an environment variable or a secrets manager. Do not place it in front-end code, public repositories or chat messages. If you suspect someone else has the key, stop using it and do not run any script that depends on it until you have checked your setup.

Before you automate anything, read how a Polymarket bot works and what the risks are. It explains why an API key does not make a strategy profitable. Also check where Polymarket is available in the US before you sign up. If you are not sure which app you need, the Polymarket app guide explains the US and international versions.

Key takeaways

  • Verify your identity first. The API is not available before that step.
  • Create the key in the developer portal and copy it before you close the dialog.
  • Public market data needs no key. Account data and orders do.
  • Store the key in a secrets manager, never in public code.

Platform rules and endpoints change. Check the official Polymarket US documentation before you deploy anything.