Swap Pairs
This endpoint allows you to access a list of swappable cryptocurrencies along with their minimum swap amounts. It provides the available options for the from_currency and to_currency fields when performing cryptocurrency swaps. Whether you're swapping Bitcoin for Tether or Tether for Litecoin, this list ensures clarity on supported pairs and their minimum swap requirements, helping you plan seamless transactions.
get
Header parameters
general_api_keystringRequired
Your General API Key for authentication and authorization.
Content-TypestringRequiredDefault:
application/json
Responses
200
Successful operation
application/json
400
Bad request
application/json
get
import requests
url = 'https://api.oxapay.com/v1/general/swap/pairs'
headers = {
'general_api_key': 'YOUR_GENERAL_API_KEY',
'Content-Type': 'application/json'
}
response = requests.get(url, headers=headers)
result = response.json()
print(result)
{
"data": {
"list": [
{
"from_currency": "BTC",
"to_currency": "USDT",
"min_amount": 0.00001
},
{
"from_currency": "ETH",
"to_currency": "USDT",
"min_amount": 0.0006
},
{
"from_currency": "BNB",
"to_currency": "USDT",
"min_amount": 0.001
},
{
"from_currency": "LTC",
"to_currency": "USDT",
"min_amount": 0.01
},
{
"from_currency": "TRX",
"to_currency": "USDT",
"min_amount": 2
},
{
"from_currency": "DOGE",
"to_currency": "USDT",
"min_amount": 1
},
{
"from_currency": "POL",
"to_currency": "USDT",
"min_amount": 1
},
{
"from_currency": "TON",
"to_currency": "USDT",
"min_amount": 0.3
},
{
"from_currency": "XMR",
"to_currency": "USDT",
"min_amount": 0.005
},
{
"from_currency": "BCH",
"to_currency": "USDT",
"min_amount": 0.002
},
{
"from_currency": "SHIB",
"to_currency": "USDT",
"min_amount": 100000
},
{
"from_currency": "SOL",
"to_currency": "USDT",
"min_amount": 0.008
},
{
"from_currency": "NOT",
"to_currency": "USDT",
"min_amount": 50
},
{
"from_currency": "USDC",
"to_currency": "USDT",
"min_amount": 1
},
{
"from_currency": "DOGS",
"to_currency": "USDT",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "TRX",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "DOGE",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "POL",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "TON",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "XMR",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "BCH",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "SHIB",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "SOL",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "NOT",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "USDC",
"min_amount": 1
},
{
"from_currency": "USDT",
"to_currency": "DOGS",
"min_amount": 1
}
]
},
"message": "Operation completed successfully!",
"error": {},
"status": 200,
"version": "1.0.0"
}
Last updated