Skip to main content
Query Market Fee For A Single Market

Authorizations

X-TXC-APIKEY
string
header
required

The public WhiteBIT API key.

X-TXC-PAYLOAD
string
header
required

Base64-encoded JSON request body.

X-TXC-SIGNATURE
string
header
required

HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).

Body

application/json
market
string
required

Market to return the fee for. The market must be a spot, margin, or futures market available for trading in the caller's region. Example: BTC_USDT

Example:

"BTC_USDT"

request
string
required
Example:

"{{request}}"

nonce
integer
required
Example:

1594297865000

Response

Successful response

error
string | null
Example:

null

taker
string

Effective taker fee percentage for the requested market

Example:

"0.1"

maker
string

Effective maker fee percentage for the requested market

Example:

"0.1"

rpi_maker_fee_premium
string | null

Coming soon: this field is not yet returned by the endpoint. Additional maker fee percentage applied on top of maker when a Retail Price Improvement (RPI) order executes on a spot or margin market. The effective RPI maker rate equals maker plus this premium. On futures markets the field repeats futures_rpi_maker_fee_premium for backward compatibility and is deprecated — read futures_rpi_maker_fee_premium instead. The field returns null when the RPI order mode is not enabled for the account or when no premium is configured.

Example:

"0.015"

futures_rpi_maker_fee_premium
string | null

Coming soon: this field is not yet returned by the endpoint. Additional maker fee percentage applied on top of maker when a Retail Price Improvement (RPI) order executes on a futures market. The effective RPI maker rate equals maker plus this premium. The field returns null on spot and margin markets, when the RPI order mode is not enabled for the account, or when no premium is configured.

Example:

"0.01"