GeminiGemini
SandboxGet API key
  • Crypto Trading
  • Prediction Markets
Changelog
Gemini Crypto Exchange LogoGemini Crypto Exchange Logo

© 2026 Gemini Space Station, Inc.

REST APIs
    Orders
    Market Data
    Derivatives
    Margin Trading
    Staking
    Clearing
    Instant Orders
    Fund Management
WebSocket
    IntroductionAuthenticationMessage Format
    Streams
      Book TickerL2 Partial DepthL2 Differential DepthTrade StreamOrder EventsBalance Updates
    Playground
      conninfopingtimesubscribeunsubscribelist_subscriptionsdepthorder.placeorder.cancelorder.cancel_allorder.cancel_session
Agentic
FIX
    Overview
    Order Entry
      IntroductionErrorsThird Party Support
      Workflow
      Exchange-Bound Messages
      Client-Bound Messages
      Examples
        New Order SingleNew Order Single on Behalf of Third PartyNew Market Buy OrderNew Market Sell OrderMarket Order FillMarket Order Partial FillExecution ReportsOrder Cancel RequestServer-Side Cancellations
      Identifiers
      Price & Quantity
      Gemini Clearing
    Market Data
    Drop Copy
Examples

New Market BUY Order

Request

This is an example of a request for a market BUY order:

Code
RAW 8=FIX.4.4|9=126|35=D|34=2|49=DEV|52=20181023-17:49:51.691|56=GEMINI|11=FLWC3iFi6ygIxFSKVY|40=1|54=1|55=BTCUSD|60=20150218-18:45:02.003|152=500.0|10=235| HEADER 8 BeginString: FIX.4.4 9 BodyLength: 126 34 MsgSeqNum: 2 35 MsgType: NewOrderSingle (D) 49 SenderCompID: DEV 52 SendingTime: 20181023-17:49:51.691 56 TargetCompID: GEMINI BODY 11 ClOrdID: FLWC3iFi6ygIxFSKVY 40 OrdType: MARKET (1) 54 Side: BUY (1) 55 Symbol: BTCUSD 60 TransactTime: 20150218-18:45:02.003 152 CashOrderQty: 500.0 TRAILER 10 CheckSum: 235

Notes:

  • OrdType: MARKET (1) indicates this is a Market order
  • CashOrderQty: 500.0 The amount of USD used to buy BTC. CashOrderQty is always the amount in price currency used to buy the quantity currency

Execution Report

and the associated Execution Report for a market BUY order:

Code
RAW 8=FIX.4.4|9=163|35=8|34=2|49=GEMINI|52=20181023-17:49:51.943|56=DEV|6=0|11=FLWC3iFi6ygIxFSKVY|14=0|17=43|37=42|39=0|54=1|55=BTCUSD|60=20150218-18:45:02.042|150=0|151=500.0|152=500.0|10=069| HEADER 8 BeginString: FIX.4.4 9 BodyLength: 163 34 MsgSeqNum: 2 35 MsgType: ExecutionReport (8) 49 SenderCompID: GEMINI 52 SendingTime: 20181023-17:49:51.943 56 TargetCompID: DEV BODY 6 AvgPx: 0 11 ClOrdID: FLWC3iFi6ygIxFSKVY 14 CumQty: 0 17 ExecID: 43 37 OrderID: 42 39 OrdStatus: NEW (0) 54 Side: BUY (1) 55 Symbol: BTCUSD 60 TransactTime: 20150218-18:45:02.042 150 ExecType: NEW (0) 151 LeavesQty: 500.0 152 CashOrderQty: 500.0 TRAILER 10 CheckSum: 069
Last modified on June 2, 2026
New Order Single on Behalf of Third PartyNew Market Sell Order
On this page
  • Request
  • Execution Report