This endpoint returns the base fee rate for a specified token. The fee rate is expressed in basis points (bps) and is applied to trades on the platform.
curl "https://clob.kuest.com/fee-rate?token_id=0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917:0"```bash## Response<ResponseField name="base_fee" type="integer" required> Base fee rate in basis points. For example, a value of 200 represents a 2% fee (200 basis points).</ResponseField>### Response Example```json{ "base_fee": 200}```bash## Understanding Fee RatesFee rates are expressed in basis points (bps):- **1 basis point** = 0.01% = 0.0001- **100 basis points** = 1%- **200 basis points** = 2%### Example CalculationFor a trade of 1000 USDC with a base_fee of 200 bps:```bashFee = 1000 × (200 / 10000) = 1000 × 0.02 = 20 USDC```bash## Error Responses### 400 Bad RequestReturned when the `token_id` parameter is missing or malformed.```json{ "error": "missing_field: token_id"}```bash### 404 Not FoundReturned when the specified token ID does not exist.```json{ "error": "token_not_found"}```bash## Use Cases- Calculate expected trading fees before placing orders- Display fee information to users- Compare fee structures across different tokens- Build fee calculators and trading cost estimators