Gemini Crypto Exchange Logo

Client Order ID

Client order ID is a client-supplied order identifier that Gemini will echo back to you in all subsequent messages about that order.

Although this identifier is optional, Gemini strongly recommends supplying client_order_id when placing orders using the Create New Order endpoint.

This makes it easy to track the Order Events: Accepted and Order Events: Booked responses in your Order Events WebSocket subscription.

Visibility

Your client order ids are only visible to the Gemini exchange and you. They are never visible on any public API endpoints.

Uniqueness

Gemini recommends that your client order IDs should be unique per trading session.

Allowed characters

Your client order ids should match against this PCRE regular expression: [:\-_\.#a-zA-Z0-9]{1,36}.

CharactersDescriptionASCII Codes (Dec)
A-ZUppercase A-Z65 - 90
a-zLowercase a-z97 - 122
0-9Digits48 - 57
#Hash, octothorpe, number sign35
-Hyphen45
.Period46
:Colon58
_Underscore95