Creating a key
Go to My Account → API Keys, give the key a name (e.g. price-scraper-prod) and click Create key. The full key is shown once — copy it immediately. We only store enough to verify and display it later.
Create one key per project. If a key leaks, revoke just that key without downtime for everything else.
Sending a key
Preferred — HTTP header:
curl -H "Authorization: Bearer rp_live_..." https://rotaproxy.io/api/v1/usage
Alternative — query parameter (handy for webhooks and no-code tools):
curl "https://rotaproxy.io/api/v1/usage?api_key=rp_live_..."
Key states
| State | Meaning |
|---|---|
| Active | Normal; requests succeed. |
| Revoked | Requests fail with 401. Revocation is immediate and permanent. |
Revoking a key
Open API Keys and click Revoke next to the key. The dashboard asks for confirmation; API clients start receiving 401 invalid_key right away.
Never put a live key in client-side code, public repos or screenshots. Treat it like a password.