API keys and security¶
One key, one proxy user¶
Each API key belongs to a single proxy user.
| A key can | A key can't |
|---|---|
| See that proxy user's balance, usage and sessions | See your other proxy users |
| See prices and available countries | See or change your account, email or password |
| Build proxies that use that proxy user's balance | Buy data, see payments or invoices, or change billing |
A key works like a proxy password
build_proxies returns proxy strings that include the proxy user's password.
Anyone with the key can use that proxy user's data balance. Keep the key as
private as a password.
To keep apps or projects apart, give each one its own proxy user and key. You can create proxy users on the dashboard's Proxy users page.
Creating and replacing keys¶
- A proxy user has no key until you create one with Reset API key.
- The key is shown once. ProxyBase stores only a fingerprint of it (a SHA-256 hash), so we can't show it to you again.
- Each proxy user has one key at a time. Resetting it creates a new key and the old one stops working straight away.
If a key leaks¶
Reset it on the dashboard right away. Any app using the old key loses access within seconds. If you think your proxy password leaked too, also use Reset password on the same page.
Keeping keys safe¶
- Don't paste keys into chats, issues or screenshots.
- Don't commit keys to Git. In shared config files such as
.mcp.json, use an environment variable instead, for example"Bearer ${PROXYBASE_API_KEY}". - Use a separate proxy user and key for each app, so you can cut one off without breaking the others.
Limits¶
- 120 requests per minute per key. More than that returns
429 Too many requests; wait a moment and try again. - The MCP server only accepts HTTPS, and reads the key only from the
Authorizationheader (orX-API-Key). Never put a key in a URL.