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

# Swap API

> Swap stablecoins across assets and chains.

The Swap API lets you exchange one stablecoin for another directly from a Blockradar wallet. Swaps can be initiated from a master wallet or a child address.

## What you can do

* Get a quote for a swap before committing
* Execute a swap between supported assets
* Swap from both master wallets and child addresses

## Endpoints

| Method | Endpoint                                               | Description                       |
| ------ | ------------------------------------------------------ | --------------------------------- |
| `POST` | `/wallets/{walletId}/swap/quote`                       | Get swap quote from master wallet |
| `POST` | `/wallets/{walletId}/swap`                             | Execute swap from master wallet   |
| `POST` | `/wallets/{walletId}/addresses/{addressId}/swap/quote` | Get swap quote from child address |
| `POST` | `/wallets/{walletId}/addresses/{addressId}/swap`       | Execute swap from child address   |

<Card title="Full API Reference" icon="book" href="/en/api-reference/swap/master-wallet-get-quote">
  View all swap endpoints in the API Reference tab.
</Card>
