How to create a read-only Gemini API key
A key that can read your Gemini balances and nothing else: no trading, no transfers, no withdrawals. These are the steps Sovereign shows when you connect Gemini.
We checked these steps against Gemini's own documentation on 25 September 2026. Gemini can rename a button at any time. If a label differs, look for the same permission.
Before you start
- Your Gemini account must be fully verified, or Gemini will not let you create API keys.
- You need the Administrator user role on the Gemini account to create a key.
- Have your passkey, hardware key or authenticator app ready in case Gemini asks for 2FA.
Permissions
Turn on only:
- Auditor
Keep these off:
- Trading
- Fund management
Steps
Sovereign connects to Gemini from one fixed IP address. The connection form in Sovereign shows it next to these steps, with a copy button.
- Sign in to Gemini on the web and open Settings, then “API”. The link above goes straight there.
- Click “Create API key”.
- Under “Scope”, choose “Primary” or another named account, not “Master”, then click the button below it to continue.
- Untick “Trading”, which Gemini ticks by default, then tick “Auditor” so it is the only role ticked.
- Leave “Uses a time-based nonce” and “Requires Heartbeat” unticked. A time-based key accepts a nonce in whole seconds only, and Sovereign signs a finer-grained one.
- Under “IP Allow List”, choose “Trusted IPs Only”.
- Paste Sovereign's IP address and add it, so it appears in the list of trusted IPs.
- Copy the “API Key” and “API Secret” as soon as Gemini shows them. The secret is shown only once.
- Click “Create API key” to finish. If the key and secret appear only now, copy them before closing the window.
- Paste them into the API KEY and API SECRET fields in Sovereign and press “Connect & Sync”.
Where each value goes in Sovereign:
- API Key (starts with “account-”) → API KEY
- API Secret → API SECRET
Does a Gemini API key expire?
- With an IP restriction: Expires after 180 days without use.
- Without an IP restriction: Expires after 180 days without use.
Sovereign uses the key every six hours while the connection is on, which normally keeps it from counting as unused.
One key covers one Gemini account, so funds in another account need their own key and a separate Sovereign connection. Sovereign reads spot and staking balances only, not derivatives positions and not prediction-market positions — Gemini keeps both outside the balances endpoint this connector reads, so they will not appear in your net worth.
If something goes wrong
- If your API key starts with “master-”: it was made with the “Master” scope, so create a new key with “Scope” set to “Primary”.
- If the first sync fails: check Sovereign's IP was added to the key's trusted list, not just typed; edit the key or create a new one.
- If syncs keep failing with an “InvalidNonce” error: the key was made with “Uses a time-based nonce” ticked. Gemini fixes the nonce mode when the key is created, so create a new key with the option unticked.
- If a working connection stops after Gemini updates its terms: sign in to Gemini on the web and accept the new User Agreement.
Which permissions does a read-only Gemini API key need?
Turn on: Auditor. Keep off: Trading; Fund management.
Can Sovereign trade or withdraw with my Gemini key?
No. Sovereign's code does not trade or move funds: it reads balances and positions. A key made with this guide also has no trading, transfer or withdrawal permission, so Gemini itself refuses such a request.
Sources
- support.gemini.com/hc/en-us/articles/360031080191-How-do-I-create-an-API-key
- support.gemini.com/hc/en-us/articles/37826759865115-How-to-secure-your-API-Keys-with-Trusted-IPs
- support.gemini.com/hc/en-us/articles/34233843501595-TurboTax
- developer.gemini.com/authentication/api-key