Skip to main content
GET
/
v4
/
swap
/
pairs
Get Swap pairs
curl --request GET \
  --url 'https://api.moonpay.com/v4/swap/pairs?apiKey='
[
  {
    "baseCurrencyCode": "eth",
    "baseCurrencyNetworkCode": "ethereum",
    "quoteCurrencyCode": "btc",
    "quoteCurrencyNetworkCode": "bitcoin",
    "minSwapAmount": "0.0205",
    "maxSwapAmount": "3.4079",
    "minSwapAmountQuote": "0.00080",
    "maxSwapAmountQuote": "0.19581",
    "isSuspended": false,
    "pairName": "eth-btc"
  }
]

Documentation Index

Fetch the complete documentation index at: https://dev.moonpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apiKey
string
query
required

Response

Successful response — Swap Pairs

baseCurrencyCode
string

The first cryptocurrency code for the pair.

Example:

"eth"

baseCurrencyNetworkCode
string

The first cryptocurrency network code for this pair.

Example:

"ethereum"

quoteCurrencyCode
string

The second cryptocurrency code for this pair.

Example:

"btc"

quoteCurrencyNetworkCode
string

The second cryptocurrency network code for this pair.

Example:

"bitcoin"

minSwapAmount
string

The minimum swapable amount.

Example:

"0.0205"

maxSwapAmount
string

The maximum swapable amount.

Example:

"3.4079"

minSwapAmountQuote
string

A positive integer representing the amount of quoteCurrency the customer will receive when swapping minSwapAmount of baseCurrency.

Example:

"0.00080"

maxSwapAmountQuote
string

A positive integer representing the amount of quoteCurrency the customer will receive when swapping maxSwapAmount of baseCurrency.

Example:

"0.19581"

isSuspended
boolean

Whether swap for this pair is suspended

Example:

false

pairName
string

The name of the cryptocurrency pair.

Example:

"eth-btc"