Skip to content

Connect Gemini to a trading bot

Crypto · Paper or real money · facts last checked Oct 13, 2026

Create a Gemini API key for one account with the Trader role only. The connection itself is coming soon.

Coming soon: Tallimark can't connect to Gemini yet. This guide gets your keys ready for when it can.

Keep these OFF: they let a key move money out

  • Fund Manager: Never add it, because it is the role that can withdraw crypto.
Before you start(2)
Practise first, with no real money(2)
  • Gemini runs a separate sandbox exchange (exchange.sandbox.gemini.com) with its own account and test funds.

    Source: Gemini docs: sandbox (opens in a new tab) (checked Oct 11, 2026)

  • Create sandbox keys the same way, on the sandbox site.

    Not yet checked against the broker's own screen: names may differ slightly.

    Why it isn't checked

    Because the broker shows this screen only after you sign in, and no public page describes it.

    Source: Gemini docs: sandbox (opens in a new tab) (checked Oct 11, 2026)

Steps to get ready

  1. Sign in to the exchange and open Settings, then API (exchange.gemini.com/settings/api).

    Source: Gemini docs: API keys (opens in a new tab) (checked Oct 11, 2026) · Gemini docs: REST API (opens in a new tab) (checked Oct 11, 2026)

  2. Choose Create a new API Key, and pick your Primary account (an account-level key), not Master.

    Not yet checked against the broker's own screen: names may differ slightly.

    Why it isn't checked

    Because seen only in a search excerpt of the broker's page (the page blocked automated reading); read it by hand.

    Source: Gemini support: how to create an API key (opens in a new tab) (checked Oct 11, 2026)

  3. Keep the Trader role only (Gemini's default). Never add Fund Manager, and never use Administrator, which exists only on Master keys.

    Source: Gemini docs: roles (opens in a new tab) (checked Oct 11, 2026)

  4. Add Trusted IPs if the Connections page shows server addresses; Gemini asks you to choose Trusted IPs or Unrestricted for every new key.

    Not yet checked against the broker's own screen: names may differ slightly.

    Why it isn't checked

    Because seen only in a search excerpt of the broker's page (the page blocked automated reading); read it by hand.

    Source: Gemini support: Trusted IPs (opens in a new tab) (checked Oct 11, 2026)

  5. Copy the API key and API secret; assume the secret is shown only once.

    Not yet checked against the broker's own screen: names may differ slightly.

    Why it isn't checked

    Because the broker shows this screen only after you sign in, and no public page describes it.

    Source: Gemini docs: API keys (opens in a new tab) (checked Oct 11, 2026)

Permissions at Gemini

Turn on

  • Trader

Leave off

  • Fund Manager
  • Administrator (Master keys only)
  • Requires Heartbeat
Why each setting

IP allow-list

Gemini supports Trusted IPs per key. If the Connections page shows Tallimark's server addresses, add every one of them to the key's IP allow-list. If it shows none, leave the allow-list empty: a list without the server's addresses makes every call fail.

Source: Gemini support: Trusted IPs (opens in a new tab) (checked Oct 11, 2026)

Not yet checked against the broker's own screen: names may differ slightly.

Why it isn't checked

Because seen only in a search excerpt of the broker's page (the page blocked automated reading); read it by hand.

Coming soon: no Gemini connection exists yet. Account keys start with account- (Master keys with master-), so the connection will refuse Master keys.

Does the connection expire? Only after a long time unused

A key unused for 180 days expires.

Not yet checked against the broker's own screen: names may differ slightly.

Why it isn't checked

Because seen only in a search excerpt of the broker's page (the page blocked automated reading); read it by hand.

Source: Gemini support: unable to create an API key (opens in a new tab) (checked Oct 11, 2026)

What Tallimark does: When the connection ships: a running bot keeps the key in use; if Gemini refuses it, bots using it pause and you're asked for a new key.

If something goes wrong(5)
InvalidSignature
Why: The API secret was pasted wrongly.
Fix: Paste the secret again, or make a new key.

Source: Gemini docs: error codes (opens in a new tab) (checked Oct 11, 2026)

InvalidApiKey (403)
Why: The key doesn't exist or is disabled.
Fix: Create a new key.

Source: Gemini docs: error codes (opens in a new tab) (checked Oct 11, 2026) · Gemini docs: API keys (opens in a new tab) (checked Oct 11, 2026)

MissingRole
Why: The key lacks the Trader role.
Fix: Create a new key with the Trader role.

Source: Gemini docs: error codes (opens in a new tab) (checked Oct 11, 2026) · Gemini docs: roles (opens in a new tab) (checked Oct 11, 2026)

InsufficientFunds
Why: Not enough balance for the order.
Fix: Lower the trade size or add funds yourself.

Source: Gemini docs: error codes (opens in a new tab) (checked Oct 11, 2026)

RateLimit / 429
Why: More than 600 private requests a minute.
Fix: Run fewer bots on one key or slower intervals.

Source: Gemini docs: rate limits (opens in a new tab) (checked Oct 11, 2026)

All sources (last checked Oct 13, 2026)

Other brokers and exchanges