---
title: "Set your default fee venue"
method: POST
path: "/api/bot/v1/fees"
tags: ["Paper trading"]
---

# Set your default fee venue

`POST /api/bot/v1/fees`

## Request

- Base URL: `https://marginpad.io`
- URL: `https://marginpad.io/api/bot/v1/fees`
- Auth: API key in header `X-API-Key`

Body {"venue":"hyperliquid"} makes every open from now on (site and API) pay that schedule unless a call names its own fee_venue; {"venue":null} or "marginpad" returns to the default rate. Open positions keep the rate they were filled with.

## Request body

- object
  - `venue` string, nullable

## Response `200`

ok

## Other responses

- `400`: unknown_fee_venue

---

[API](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api.md) · [All operations](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api/revisions/27d21fcd0bf0?raw)
