Clearing

List Clearing Trades

Roles

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

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

post/v1/clearing/trades

Request

  • Base URL
    https://api.gemini.com
  • URL
    https://api.gemini.com/v1/clearing/trades
  • 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 literal string "/v1/clearing/trades"

timestamp_nanosinteger

Only return transfers on or after this timestamp in nanos

limit_per_accountinteger

The maximum number of clearing trades to return. The default is 100 and the maximum is 300.

accountstring

Only required when using a master api-key. The name of the account within the subaccount group.

symbolstring

The trading pair

limit_tradesinteger

The maximum number of trades to return

Example request

{
  "nonce": "1495127793000",
  "timestamp": "1495127793000"
}

Response

Successful operation

Example response

{
  "results": [
    {
      "expirationTimeMs": "1495127793000",
      "createdMs": "1495127793000",
      "lastUpdatedMs": "1495127793000"
    }
  ]
}

Changes

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