Retrieve Currency List
GET /currencies/
Returns a complete list of available currencies.
Headers
Name
Value
Content-Type
application/json
Response
[
{
"name": "USDTBEP20",
"token": "USDT",
"network": "BEP20",
"contract": "0x55d398326f99059fF775485246999027B3197955",
"decimals": 18,
"confirmations": 5,
"network_fee": 0.0,
"min_deposit": 1.0,
"is_available": true,
"can_withdraw": true,
"min_withdraw": 1,
"rate": 1
},
...
{
...
}
]Examples
curl -X GET "https://api.nord-pay.com/currencies/" \
-H "Content-Type: application/json"import requests
def get_currencies():
response = requests.get(
"https://api.nord-pay.com/currencies/",
headers={ "Content-Type": "application/json" }
)
response.raise_for_status()
return response.json()
# usage:
currencies = get_currencies()<?php
function getCurrencies(): array {
$ch = curl_init("https://api.nord-pay.com/currencies/");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($ch);
curl_close($ch);
return json_decode($response, true);
}
// usage:
$currencies = getCurrencies();async function loadCurrencies() {
const response = await fetch("https://api.nord-pay.com/currencies/", {
method: "GET",
headers: {
"Content-Type": "application/json"
}
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const currencies = await response.json();
return currencies;
}
// usage:
loadCurrencies().then(currencies => {
// work with currencies
});const axios = require('axios');
async function getCurrencies() {
const response = await axios.get('https://api.nord-pay.com/currencies/', {
headers: {
'Content-Type': 'application/json'
}
});
const currencies = response.data;
return currencies;
}
// usage:
getCurrencies().then(currencies => {
// work with currencies
});Last updated