For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/institutional/get-client-fees-cefi.md.
Get client fees
Returns a client's maker and taker fee tiers and the fee rates those tiers currently resolve to. Rates are in basis points of trade notional ("30" is 0.3%, "0.5" is half a basis point). A tier with no configured fee resolves to "0". Omit client_id to read your own client.
JWTAuthorizationBearer <JWT>Present a True Markets-issued JWT access
token as Authorization: Bearer <token>, together with
x-truex-auth-timestamp (current Unix seconds, which guards against
replays). No request signing is required.
Obtain a token pair by exchanging a signed challenge for your
registered ES256 (EC P-256) API key at POST /v1/auth/api-key/token
(see the Auth API); the same token is issued by the standard sign-in
flows.
The token must carry a client_id claim, which scopes every request
to your CeFi client. The claim is present only once your account is
enabled for CeFi trading; a JWT without a client_id claim is
rejected with 401 Unauthorized.
client_id?stringExchange generated client ID to query fees for. Must be a client the caller may access.
^[1-9][0-9]*$1 <= lengthx-truex-auth-timestamp*stringTimestamp when request was made in seconds since epoch. Must be no older than 15 seconds and no more than 1 second in the future. It guards against replayed requests.
Successful operation.
application/json- response
A client's fee tiers and the rates they resolve to.
client_id*stringExchange generated client ID.
maker_fee_tier*integerClient's current maker fee tier.
taker_fee_tier*integerClient's current taker fee tier.
maker_fee_bps*stringFee rate charged on maker fills, in basis points of trade notional. Negative values are rebates.
taker_fee_bps*stringFee rate charged on taker fills, in basis points of trade notional.
maker_fee_rate?stringDeprecatedDeprecated: maker_fee_bps as a decimal fraction of notional. Sent for one release while clients move to maker_fee_bps, then removed.
taker_fee_rate?stringDeprecatedDeprecated: taker_fee_bps as a decimal fraction of notional. Sent for one release while clients move to taker_fee_bps, then removed.
curl -X GET 'https://api.truex.co/v1/cefi/clients/fees' \ -H 'x-truex-auth-timestamp: string'{ "client_id": "1234567890", "maker_fee_tier": 1, "taker_fee_tier": 2, "maker_fee_bps": "5", "taker_fee_bps": "30", "maker_fee_rate": "0.0005", "taker_fee_rate": "0.003"}