Account Data

Get Trade Volume

Returns 30 day USD trading volume and resulting fee schedule for any asset pair(s) provided. Fees will not be included if pair is not specified as Kraken fees differ by asset pair. Note: If an asset pair is on a maker/taker fee schedule, the taker side is given in fees and maker side in fees_maker. For pairs not on maker/taker, they will only be given in fees.

pair accepts either a comma-delimited list of pair names or a list of { asset, aclass } objects (the latter is required for non-forex classes such as derivatives or equity_pair). Set fee_schedule to true to additionally receive the full fee schedule per trading pair in the schedules field.

API Key Permissions Required: Funds permissions - Query

post/private/TradeVolume

Request

  • Base URL: https://api.kraken.com/0
  • URL: https://api.kraken.com/0/private/TradeVolume
  • Auth: API key in header API-Key and API key in header API-Sign

Request body

nonceinteger required

Nonce used in construction of API-Sign header

fee_scheduleboolean nullable

Whether to include the full fee schedule per trading pair in the response (returned in schedules).

rebase_multiplier'rebased' | 'base' nullable

Optional parameter for viewing xStocks data.

  • rebased: Display in terms of underlying equity.
  • base: Display in terms of SPV tokens.

Example request

{
  "nonce": 1695828490,
  "pair": [
    {
      "asset": "BTC/USD",
      "aclass": "forex"
    },
    {
      "asset": "PF_XBTUSD",
      "aclass": "derivatives"
    }
  ]
}

Response

Trade Volume retrieved.

errorstring[]

Example response

{
  "error": [
    "EGeneral:Invalid arguments"
  ]
}

Changes

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