# n.exchange

> Check instant crypto swap rates on n.exchange: the currencies and pairs it offers, the current rate and limits for each swap, and a quote for an exact amount. Read-only, so it never places an order. No account or API key required.

App · 4 actions. Web page: https://docs.lodol.com/docs/integrations/nexchange

## Actions

### Get swap quote

Find out what a swap of a given size would cost right now: how much you would send and receive, at what price, and the limits on the swap. Give the amount you send or the amount you want to receive. Nothing is ordered. No API key required.

**Inputs**

- Pair (`pair`, text, required): The currency you receive followed by the currency you send, e.g. ETHBTC to receive ether for bitcoin. 'ETH/BTC' works too.
- Amount (`amount`, number, required): The amount to quote for, e.g. 0.01.
- Amount is (`amount_is`, text): Whether the amount is what you send or what you want to receive. Defaults to what you send. One of: `send` (What I send), `receive` (What I receive). Default: `send`.

**Outputs**

- `max_receive_amount` (number): The largest amount you can receive.
- `max_send_amount` (number): The largest amount you can send.
- `min_receive_amount` (number): The smallest amount you can receive.
- `min_send_amount` (number): The smallest amount you can send.
- `pair` (text): The pair, e.g. 'ETHBTC'.
- `price` (number): How much of the sent currency one unit of the received one costs.
- `quoted_at` (text): When n.exchange made the quote (ISO 8601, UTC).
- `receive_amount` (number): How much you would receive.
- `receive_currency` (text): The currency you receive, e.g. 'ETH'.
- `send_amount` (number): How much you would send.
- `send_currency` (text): The currency you send, e.g. 'BTC'.
- `summary` (text): One line, e.g. 'Send 0.01 BTC to receive 0.33674652 ETH on n.exchange'.

**Example output**

```json
{
  "max_receive_amount": 416.3854441243718,
  "max_send_amount": 12.36434765,
  "min_receive_amount": 0.00207233,
  "min_send_amount": 6.204e-05,
  "pair": "ETHBTC",
  "price": 0.02969593,
  "quoted_at": "2026-10-16T19:02:21Z",
  "receive_amount": 0.33674652311583214,
  "receive_currency": "ETH",
  "send_amount": 0.01,
  "send_currency": "BTC",
  "summary": "Send 0.01 BTC to receive 0.33674652 ETH on n.exchange"
}
```

### Get swap rates

Get n.exchange's current rate for up to 50 swaps at once, with the smallest and largest amounts each takes, the withdrawal fee and how long it should take. No API key required.

**Inputs**

- Pairs (`pairs`, list, required): The pairs to price, as a list or separated by commas. The currency you receive followed by the currency you send, e.g. ETHBTC to receive ether for bitcoin. 'ETH/BTC' works too.

**Outputs**

- `count` (number): How many rates came back.
- `not_found` (list): Pairs asked for that n.exchange doesn't offer now.
- `rates` (list): One rate per pair found, in the order asked for.

**Example output**

```json
{
  "count": 2,
  "not_found": [],
  "rates": [
    {
      "eta_seconds": 108,
      "max_receive_amount": 416.38544413,
      "max_send_amount": 12.36434765,
      "min_receive_amount": 0.00217595,
      "min_send_amount": 6.514e-05,
      "pair": "ETHBTC",
      "rate": 0.02968446,
      "receive_currency": "ETH",
      "send_currency": "BTC",
      "summary": "1 ETH costs 0.02968446 BTC on n.exchange",
      "withdrawal_fee": 1.649e-05
    },
    {
      "eta_seconds": 224,
      "max_receive_amount": 16591.21741529,
      "max_send_amount": 12.17960483,
      "min_receive_amount": 0.08650451,
      "min_send_amount": 6.394e-05,
      "pair": "LTCBTC",
      "rate": 0.0007340995,
      "receive_currency": "LTC",
      "send_currency": "BTC",
      "summary": "1 LTC costs 0.0007340995 BTC on n.exchange",
      "withdrawal_fee": 0.0005744
    }
  ]
}
```

### List currencies

List the currencies n.exchange swaps, with each one's network, minimum and maximum amounts, withdrawal fee and the confirmations a deposit needs. Optionally search by code or name. No API key required.

**Inputs**

- Search (`search`, text): Only currencies whose code or name contains this, e.g. 'tether' or 'USDT'. Leave blank for all.
- Only tradable currencies (`tradable_only`, true/false): Leave on to list only currencies with at least one swap on offer; turn off to include retired ones. Default: `true`.

**Outputs**

- `count` (number): How many currencies came back.
- `currencies` (list): The currencies, A to Z by code.

**Example output**

```json
{
  "count": 2,
  "currencies": [
    {
      "can_receive": true,
      "can_send": true,
      "code": "BTC",
      "confirmations": 1,
      "contract_address": null,
      "decimals": 8,
      "is_crypto": true,
      "maximum_amount": 10.0,
      "minimum_amount": 0.002,
      "name": "bitcoin",
      "network": "BTC",
      "withdrawal_fee": 1.69e-06
    },
    {
      "can_receive": true,
      "can_send": true,
      "code": "ETH",
      "confirmations": 12,
      "contract_address": null,
      "decimals": 18,
      "is_crypto": true,
      "maximum_amount": 27.68144695,
      "minimum_amount": 0.035,
      "name": "ethereum",
      "network": "ETH",
      "withdrawal_fee": 2.02e-06
    }
  ]
}
```

### List pairs

List the swaps n.exchange offers, A to Z, optionally only those that send or receive a given currency, e.g. everything you can get for BTC. No API key required.

**Inputs**

- Currency (`currency`, text): Only pairs involving this currency, e.g. BTC. Leave blank for every pair.
- Currency is (`side`, text): Whether the currency is the one you send or the one you receive. Leave blank for either. One of: `send` (Sent), `receive` (Received).
- Include disabled pairs (`include_disabled`, true/false): Turn on to include pairs n.exchange no longer offers. Default: `false`.
- Maximum pairs (`limit`, number): The most pairs to return, from 1 to 1000. Defaults to 100. From 1 to 1000. Default: `100`.

**Outputs**

- `count` (number): How many pairs came back.
- `pairs` (list): The pairs, A to Z.
- `total_matches` (number): How many pairs matched, before the limit.

**Example output**

```json
{
  "count": 3,
  "pairs": [
    {
      "enabled": true,
      "pair": "BTCETH",
      "receive_currency": "BTC",
      "send_currency": "ETH"
    },
    {
      "enabled": true,
      "pair": "ETHBTC",
      "receive_currency": "ETH",
      "send_currency": "BTC"
    },
    {
      "enabled": true,
      "pair": "LTCBTC",
      "receive_currency": "LTC",
      "send_currency": "BTC"
    }
  ],
  "total_matches": 3
}
```
