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

# Swap API

> Let your users swap between stablecoins and tokenized funds from their own wallets, on Ethereum and Solana.

The Swap API prices a swap across every capital provider, builds the transactions your user's wallet signs, and relays them to the network. Your user keeps custody throughout: Multiliquid never holds keys or funds, and never pays network fees.

## How a swap works

**1. Find what you can offer**

List the networks and the pairs you can offer.

**2. Quote**

Ask for a price by token address and amount. Multiliquid quotes every capital provider that can fill the swap and returns the best.

**3. Build and sign**

Get the unsigned transactions for the user's wallet, with checks that show whether the swap would succeed. The user signs them.

**4. Submit and track**

Send the signed transactions back in one request. Multiliquid checks them, broadcasts them in order, and tracks each until it is final.

## Two ways to swap

> [card] [Instant swaps](https://docs.multiliquid.xyz/api-reference/swap/swap-instantly.md)
>
> The swap settles in one transaction, at the best capital provider's current price.

> [card] [Batch orders](https://docs.multiliquid.xyz/api-reference/swap/place-batch-order.md)
>
> The user signs an order now, and it settles in the next daily batch against a capital provider's posted capacity.

## What you need

* **No API key.** The user's wallet signature authorizes every transaction. A key raises your [rate allowance](https://docs.multiliquid.xyz/api-reference/guides/rate-limits.md) and records submissions under your organization.
* **A wallet that signs without broadcasting**, so Multiliquid can check and relay the transaction. A wallet that only broadcasts can still swap, but Multiliquid then has nothing to track.
* **Network fees**, which the user's wallet pays in ETH or SOL.

## Next steps

> [card] [Quick start](https://docs.multiliquid.xyz/api-reference/quickstart.md)
>
> Quote, build, and submit a first swap on Ethereum.

> [card] [Swap instantly](https://docs.multiliquid.xyz/api-reference/swap/swap-instantly.md)
>
> The full flow, from quote to a finalized swap.

> [card] [Quotes and builds](https://docs.multiliquid.xyz/api-reference/swap/quote-and-build.md)
>
> Every field of a quote and a build.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.