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
      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
Overview

Standard Header

The Standard Header is required on every message.

Note: PossResend <97> is not supported. Gemini will report the last sequence number that the exchange received in the header of the Logon <A> message. The client should assume that any events the server requests to be replayed have not been acted upon. (See Beginning a Session for details.)


FIELDS

TagNameReqDescription
8BeginStringYIdentifies the beginning of a new message and protocol version. Always the first tag in the message.

Valid value: FIX.4.4
9BodyLengthYMessage length, in bytes, from right after this field up to (but not including) the CheckSum <10> field. Always the second tag in the message.
35MsgTypeYDefines the message type. Always the third tag in the message.
34MsgSeqNumYSequence number of the message.
49SenderCompIDYAssigned value used to identify the firm sending the message.
43PossDupFlagN*Indicates possible retransmission of a message with this sequence number.

Valid values:
Y = Possible duplicate
N = Original transmission

*Required for a re-transmitted message.
52SendingTimeYTime of message transmission (always in UTC).
56TargetCompIDYAssigned value used to identify the firm receiving the message.
115OnBehalfOfCompIDN*Assigned value used to identify the originating firm if the message was delivered by a third party (e.g., an OMS or OEMS). Required if an OMS/OEMS is submitting/canceling orders on behalf of another Gemini account.

Not used or supported in Market Data or single-party Order Entry or Drop Copy.

Third-party order entry usage:
  • The customer's Gemini account identifier is used in OnBehalfOfCompID <115>.
  • The third-party firm identifier is used in SenderCompID <49>.
See Order Entry: Third Party Support for details.

Third-party support for Drop Copy does not use OnBehalfOfCompID <115> in the header. (See Drop Copy: Third Party Support for details.)
128DeliverToCompIDN*Used in Execution Reports only. Not used or supported in Market Data, single-party Order Entry, or Drop Copy.

The customer's Gemini account identifier is returned in DeliverToCompID <128> on Execution Reports.

Third-party support for Drop Copy does not use DeliverToCompID <128> in the header. (See Drop Copy: Third Party Support for details.)
122OrigSendingTimeN*Original time of message transmission (in UTC) when transmitting orders as the result of a resend request.

* Required for a re-transmitted message.

Precision on the ExchangeStandard Trailer
On this page
  • FIELDS