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.
API Key Permissions Required: Funds permissions - Query
curl --request POST \
--url https://api.kraken.com/0/private/TradeVolume \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"nonce": 1695828490,
"pair": "XXBT/ZUSD, XETH/ZEUR"
}
'{
"error": [],
"result": {
"currency": "ZUSD",
"volume": "200709587.4223",
"fees": {
"XXBTZUSD": {
"fee": "0.1000",
"min_fee": "0.1000",
"max_fee": "0.2600",
"next_fee": null,
"next_volume": null,
"tier_volume": "10000000.0000"
}
},
"fees_maker": {
"XXBTZUSD": {
"fee": "0.0000",
"min_fee": "0.0000",
"max_fee": "0.1600",
"next_fee": null,
"next_volume": null,
"tier_volume": "10000000.0000"
}
}
}
}Documentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The "API-Key" header should contain your API key.
Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.
Nonce used in construction of API-Sign header
Comma delimited list of asset pairs to get fee info on (optional, but required if any fee info is desired)
Optional parameter for viewing xstocks data.
rebased: Display in terms of underlying equity.base: Display in terms of SPV tokens.rebased, base curl --request POST \
--url https://api.kraken.com/0/private/TradeVolume \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"nonce": 1695828490,
"pair": "XXBT/ZUSD, XETH/ZEUR"
}
'{
"error": [],
"result": {
"currency": "ZUSD",
"volume": "200709587.4223",
"fees": {
"XXBTZUSD": {
"fee": "0.1000",
"min_fee": "0.1000",
"max_fee": "0.2600",
"next_fee": null,
"next_volume": null,
"tier_volume": "10000000.0000"
}
},
"fees_maker": {
"XXBTZUSD": {
"fee": "0.0000",
"min_fee": "0.0000",
"max_fee": "0.1600",
"next_fee": null,
"next_volume": null,
"tier_volume": "10000000.0000"
}
}
}
}