> For the complete documentation index, see [llms.txt](https://learn.layerswap.io/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.layerswap.io/api/api-integration/deprecated-v1-api-reference/create-fast-swap.md).

# Create Fast Swap

This endpoint provides the ability to create a swap with as few parameters as possible - destination network, asset and amount. Then, the endpoint will return all the possible source networks which can be used for transferring the funds to the destination network. The returned source networks are tracked for a possible deposit.&#x20;

<mark style="color:green;">`POST`</mark> `https://api.layerswap.io/api/swaps/fast`

Create fast swap

#### Query Parameters

| Name       | Type   | Description                                                                     |
| ---------- | ------ | ------------------------------------------------------------------------------- |
| client\_id | String | Optionally can be passed to the application [Client ID](/api/partner-setup.md). |

#### Headers

| Name                                           | Type   | Description      |
| ---------------------------------------------- | ------ | ---------------- |
| Content-Type<mark style="color:red;">\*</mark> | String | application/json |

#### Request Body

| Name                                                   | Type   | Description                                                                                                                                                     |
| ------------------------------------------------------ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| destination\_address<mark style="color:red;">\*</mark> | String | The destination network address, where the user will receive the funds.                                                                                         |
| destination\_asset<mark style="color:red;">\*</mark>   | String | The swap currency name. [See available assets](broken://pages/OP5GKjebwv1aQjx1fVNx).                                                                            |
| destination\_network<mark style="color:red;">\*</mark> | String | The supported blockchain network name, where the funds should be sent by the user.[ See available values.](/api/data/supported-platforms/supported-networks.md) |

{% tabs %}
{% tab title="200: OK Indicating that the pipe has been created" %}

{% endtab %}
{% endtabs %}

#### Raw request

```bash
curl -X 'POST' \
  'https://localhost:9669/api/swaps/fast?clientId=f10853b323b94e10b2d9a2cddbe105a6' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "destination_address": "{YOUR_DESTINATION_ADRESS}",
  "destination_network": "ARBITRUM_GOERLI",
  "destination_asset": "ETH"
}'
```

#### Raw response

```json
{
  "data": [
    {
      "source_address": "0x5368029018cb9f7d7d92c51d19d86835573c7679",
      "networks": [
        {
          "name": "ETHEREUM_GOERLI",
          "network_currencies": [
            {
              "asset": "ETH",
              "contract": null,
              "min_amount": 0.00073,
              "precision": 6
            }
          ]
        }
      ]
    },
    {
      "source_address": "0xfae8acb3b8243303565636aeb336c985dba9a552",
      "networks": [
        {
          "name": "IMMUTABLEX_GOERLI",
          "network_currencies": [
            {
              "asset": "ETH",
              "contract": null,
              "min_amount": 0.000121,
              "precision": 6
            }
          ]
        }
      ]
    }
  ],
  "error": null
}
```
