> ## Documentation Index
> Fetch the complete documentation index at: https://dev.jup.ag/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Fees

> Fee structure for Ultra Swap transactions and how integrator fees work.

<Warning>
  **Ultra Swap API** is no longer actively maintained and has been superseded by [Swap V2](/swap).
</Warning>

The Jupiter Ultra Swap has 8-10x lower fees than market average, with only 5 to 10 bps of the swap amount as a fee.

## Key Points

| Aspect              | Description                                                                |
| ------------------- | -------------------------------------------------------------------------- |
| **Default fees**    | 5 to 10 bps of the swap amount                                             |
| **Integrator fees** | Ultra takes 20% of your integrator fees                                    |
| **Token support**   | SPL and Token2022 tokens                                                   |
| **Fee mint**        | Fee mint is determined by Ultra based on a [priority list](#priority-list) |

### Fees Overview

| Token Type                                                       | Fee (bps) |
| ---------------------------------------------------------------- | --------- |
| Buying Jupiter-related tokens:<br />SOL/Stable -> JUP/JLP/jupSOL | 0         |
| Pegged Assets (LST-LST, Stable-Stable)                           | 0         |
| SOL-Stable                                                       | 2         |
| LST-Stable                                                       | 5         |
| Everything else                                                  | 10        |
| New Tokens (within 24 hours token age)                           | 50        |

### Priority List

When requesting for an order, Ultra will decide which mint to take fees in based on a priority list. The list consists of different categories of tokens.

1. SOL - Solana!
2. Stablecoins - USDC, USDT, etc
3. Liquid Staked Tokens (LSTs) - JupSOL, etc
4. Bluechips - Typically large market cap tokens
5. Others - Other tokens that do not fall into the above categories

<Note>
  You can use the `/order` endpoint to check for the `feeMint` and `feeBps` field directly.

  Or you can use the `/fees` endpoint to check the fees and category given the input and output mint.

  ```bash theme={null}
  curl -X GET 'https://api.jup.ag/ultra/v1/fees?inputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&outputMint=So11111111111111111111111111111111111111112' \
    -H 'x-api-key: your-api-key'
  ```
</Note>

### Integrator Fees

To add integrator fees to Ultra Swaps, you will be required to set up referral accounts and token accounts for the specific token mints you want to collect fees in.

Refer to the [Add Integrator Fees](/ultra/add-fees-to-ultra) guide for more details on how to set up.
