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"
}
]Returns the list of swap pairs available to the account.
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.
Successful response — Swap Pairs
The first cryptocurrency code for the pair.
"eth"
The first cryptocurrency network code for this pair.
"ethereum"
The second cryptocurrency code for this pair.
"btc"
The second cryptocurrency network code for this pair.
"bitcoin"
The minimum swapable amount.
"0.0205"
The maximum swapable amount.
"3.4079"
A positive integer representing the amount of quoteCurrency the customer will receive when swapping minSwapAmount of baseCurrency.
"0.00080"
A positive integer representing the amount of quoteCurrency the customer will receive when swapping maxSwapAmount of baseCurrency.
"0.19581"
Whether swap for this pair is suspended
false
The name of the cryptocurrency pair.
"eth-btc"