Orders

Get Trading Volume

Roles

The API key you use to access this endpoint must have the Trader or Auditor role assigned. See Roles for more information.

The OAuth scope must have history:read assigned to access this endpoint. See OAuth Scopes for more information.

post/v1/tradevolume

Request

  • Base URL
    https://api.gemini.com
  • URL
    https://api.gemini.com/v1/tradevolume
  • Auth
    API key in header X-GEMINI-APIKEY and API key in header X-GEMINI-SIGNATURE and API key in header X-GEMINI-PAYLOAD

Headers

X-GEMINI-APIKEYstring required

Your API key

X-GEMINI-SIGNATUREstring required

HEX-encoded HMAC-SHA384 of payload signed with API secret

X-GEMINI-PAYLOADstring required

Base64-encoded JSON payload

Content-Typestring
Content-Lengthstring
Cache-Controlstring

Request body

requeststring required

The API endpoint path

accountstring

Required for Master API keys as described in Private API Invocation. The name of the account within the subaccount group. Specifies the account on which you intend to place the order. Only available for exchange accounts.

Example request

{
  "request": "/v1/tradevolume",
  "nonce": "1495127793000",
  "account": "primary"
}

Response

The trade volume

symbolstring
base_currencystring
quote_currencystring
notional_currencystring
data_datestring
total_volume_basestring
maker_buy_sell_ratiostring
buy_maker_basestring
buy_maker_notionalstring
buy_maker_countinteger
sell_maker_basestring
sell_maker_notionalstring
sell_maker_countinteger
buy_taker_basestring
buy_taker_notionalstring
buy_taker_countinteger
sell_taker_basestring
sell_taker_notionalstring
sell_taker_countinteger

Example response

[
  {
    "symbol": "btcusd",
    "base_currency": "BTC",
    "quote_currency": "USD",
    "notional_currency": "USD",
    "data_date": "2020-06-02",
    "buy_maker_count": 10,
    "sell_maker_count": 8,
    "buy_taker_count": 15,
    "sell_taker_count": 12
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.