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

# Swaps

> Swap any token to any other token same-chain or cross-chain with best pricing and 1-click execution via Bungee

## Swap with Bungee

Bungee is most powerful when used as a swapping platform due to following unique abilities:

* **Works for any token**: Bungee enables swaps for basically ANY token (16,000+ today) that has onchain liquidity by composing the exchange and bridge together in 1-click
* **Fast transactions**: Swaps can be executed with low latency (2 seconds) across chains, making the experience as good as same-chain swaps for the end user
* **MEV Protection**: Bungee is the only solution in the market that protects users end to end from sophisticated MEV bots that target user-swaps causing loss of funds.
* **Guaranteed Best Execution**: Bungee automatically scans all existing DEXs, exchanges, and bridges to find the best swap routes and presents the best options to users/integrators
* **Works for any VM**: Bungee supports all leading EVM as well as non-EVM networks like Tron, Solana, Bitcoin
* **Works for any size**: Bungee enables users to swap $10 or $10 million with the same 1-click gasless experience due to its ability to route to the best exchange/bridge to fulfil the order under the hood

## Trusted by leading teams

<CardGroup cols={3}>
  <Card title="$25B+" icon="chart-line">
    Total volume routed
  </Card>

  <Card title="30+" icon="link">
    Chains supported
  </Card>

  <Card title="4M+" icon="users">
    Users served
  </Card>
</CardGroup>

Integrated by **MetaMask**, **Coinbase Wallet**, **Rainbow**, **Zerion**, **Synthetix**, **Polymarket**, **OpenSea**, **Zapper**, and more.

## Who this is for

**As a user**, I want to swap USDC I hold on Base directly into another token on Solana.

**As a user**, I want to see various swap options and select the one that best matches my preference for speed, price, or output amount.

**As a developer**, I want users on my app to swap into any token they need without leaving my app experience to have higher conversion and engagement.

**As a developer**, I want to earn fees on swaps happening on my platform with minimal setup.

## Quick start

Get a quote for swapping USDC on Arbitrum to ETH on Base:

```bash theme={null}
curl "https://public-backend.bungee.exchange/api/v1/bungee/quote?\
originChainId=42161&\
destinationChainId=8453&\
inputToken=0xaf88d065e77c8cc2239327c5edb3a432268e5831&\
outputToken=0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee&\
inputAmount=100000000&\
receiverAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&\
userAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
```

<CardGroup cols={2}>
  <Card title="Integration guides" href="/integrate/integration-guides">
    Guides for quotes, routes, asset mapping, status
  </Card>

  <Card title="Get API access" href="/integrate/get-api-access">
    Start building!
  </Card>
</CardGroup>
