# Retrieve Currency List

<mark style="color:green;">`GET`</mark> `/currencies/`

Returns a complete list of available currencies.

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

**Response**

{% tabs %}
{% tab title="200" %}

```json
[
  {
    "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
  },
  ...
  {
    ...
  }
]
```

{% endtab %}
{% endtabs %}

**Examples**

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X GET "https://api.nord-pay.com/currencies/" \
     -H "Content-Type: application/json"
```

{% endtab %}

{% tab title="Python (requests)" %}

```python
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()
```

{% endtab %}

{% tab title="PHP" %}

```php
<?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();
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
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
});
```

{% endtab %}

{% tab title="Node.js (axios)" %}

```javascript
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
});
```

{% endtab %}
{% endtabs %}
