Trading Fee
Get the maker/taker fee schedule applicable to your account on a given exchange, including any active discounts.
HTTP
| Method | GET |
| Endpoint | /trade/api/v2/tradingFee |
Request Parameters
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
exchange | string | Yes | See Exchange Identifiers. |
Example
- Python
- Java
- Go
- Node.js
import requests
headers, path = sign_request("GET", "/trade/api/v2/tradingFee",
params={"exchange": "coinswitchx"})
response = requests.get(BASE_URL + path, headers=headers)
print(response.json())
HttpResponse<String> resp = client.send(
"GET", "/trade/api/v2/tradingFee",
Map.of("exchange", "coinswitchx"), null);
System.out.println(resp.body());
headers, p, err := SignRequest("GET", "/trade/api/v2/tradingFee", map[string]string{"exchange": "coinswitchx"})
if err != nil { panic(err) }
req, _ := http.NewRequest("GET", BaseURL+p, nil)
for k, v := range headers { req.Header.Set(k, v) }
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
out, _ := io.ReadAll(resp.Body)
fmt.Println(string(out))
const {signRequest, BASE_URL} = require('./reference-client');
const {headers, path} = signRequest('GET', '/trade/api/v2/tradingFee', {"exchange": "coinswitchx"});
const r = await fetch(BASE_URL + path, {
method: 'GET',
headers,
});
console.log(await r.json());
Response
{
"data": {
"coinswitchx": {
"BTC": {
"maker_fee": 0.0009,
"taker_fee": 0.0009,
"maker_discount_percentage": 100,
"taker_discount_percentage": 100,
"maker_fee_after_discount": 0,
"taker_fee_after_discount": 0,
"timestamp": 1721909805
}
}
}
}
Response Parameters
data is keyed by exchange, then by base asset. Each asset object:
| Field | Type | Description |
|---|---|---|
maker_fee | number | Base maker fee rate (decimal — 0.0009 = 0.09%). |
taker_fee | number | Base taker fee rate. |
maker_discount_percentage | number | Discount applied to maker fee, as a percentage (100 = 100% off). |
taker_discount_percentage | number | Discount applied to taker fee. |
maker_fee_after_discount | number | Effective maker fee after discount. Use this to estimate cost. |
taker_fee_after_discount | number | Effective taker fee after discount. |
timestamp | integer | When the fee schedule was last updated (Unix seconds). |
Fee schedules are user-specific (cohort, volume tiers, promotional discounts) — call this endpoint per-user rather than caching globally.