GeminiGemini
Demo environmentGet API key
  • Overview
  • Crypto Trading
  • Prediction Markets
  • Perpetuals
  • Stocks
  • API Reference
  • SDKs & Tools
Changelog
Gemini logoGemini logo

© 2026 Gemini Space Station, Inc.

Overview
Spot
    OverviewGet started
    Orders API
    Market Data API
    Fund Management API
    Instant Orders API
    WebSocket API
    FIX API
      Overview
        Dictionary
        ConnectingAllowed CharactersPrecision on the ExchangeStandard HeaderStandard Trailer
        Session-Level Messages
          LogonLogoutHeartbeatTest RequestResend RequestSequence ResetRejectBusiness Message RejectEstablishing a ConnectionEnding a ConnectionWhen Can Sequence Numbers Reset
      Order Entry
      Market Data
      Drop Copy
Margin
    Overview
    Margin REST API
      Get Margin Account SummaryGet Margin Interest RatesPreview Margin Order Impact
Staking
    Overview
    Staking REST API
      List Staking BalancesStake Crypto FundsUnstake Crypto FundsList Staking Event HistoryList Staking RatesList Staking Rewards
Clearing
    Clearing REST API
      Clearing Orders
      Broker & Trade Operations
Session-Level Messages

Logon <A>

The Logon <A> message must be the first message sent by the application requesting to initiate a FIX session. The Logon <A> message authenticates an institution establishing a connection to Gemini.

Upon receipt of a Logon <A> message, Gemini will authenticate the institution requesting connection by validating the source IP Address, SenderCompID <49>, and TargetCompID <56> identifying the institution. The server will then issue a Logon <A> message as acknowledgment that the connection request has been accepted. The acknowledgment Logon <A> can also be used by the institution to validate that the connection was established with the correct party. If validation fails, the connection will be dropped without a Reject <3>.


FIELDS

TagNameReqDescription
Standard HeaderYMsgType = A
141ResetSeqNumFlagNShould be set to Y when the client wants to indicate that both sides of the FIX session should reset sequence numbers.
98EncryptMethodYGemini does not support encryption.

Valid value:
0 = None
108HeartBtIntYHeartbeat interval in seconds.

Valid value:
30 = 30 seconds
9001CancelOnDisconnectNOnly used for Order Entry. When present and true, orders will be cancelled on disconnect. When present and false, orders will not be cancelled on disconnect. When absent, orders will not be cancelled on disconnect.

Valid values:
Y = Enable cancel on disconnect for this session
N = Disable cancel on disconnect for this session
Standard TrailerY
Standard TrailerLogout
On this page
  • FIELDS