# List all cryptocurrencies

Retrieves all supported cryptocurrencies. And returns a Map with a `data` property that contains an array of [`cryptoCurrency`](#cryptocurrency) objects. Each entry in the array is a separate [`cryptoCurrency`](#cryptocurrency) object. If no more cryptocurrencies are available, the resulting array `data` will be empty.

## List all cryptocurrencies

<mark style="color:blue;">`GET`</mark> `https://api.ramp.fatpay.xyz/open/api/onramp/token`

List all the cryptocurrencies supported by FaTPay

#### Headers

| Name                                              | Type    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ------------------------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Content-Type<mark style="color:red;">\*</mark>    | String  | application/json                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| X-Fp-Version<mark style="color:red;">\*</mark>    | String  | <p>FaTPay API version<br>e.g. v1.0</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| X-Fp-Timestamp<mark style="color:red;">\*</mark>  | Integer | <p>Unix timestamp in second<br>e.g. 1661346861</p>                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| X-Fp-Nonce<mark style="color:red;">\*</mark>      | Integer | <p>Random integer<br>e.g. 868964</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| X-Fp-Partner-Id<mark style="color:red;">\*</mark> | String  | <p>Partner ID assigned by FaTPay as Premium Partner<br>e.g. 2yQrS9A0xmM8xpfa</p>                                                                                                                                                                                                                                                                                                                                                                                                              |
| X-Fp-Signature<mark style="color:red;">\*</mark>  | String  | <p><a href="/pages/rkLKL3eVbRwxBcXNKOIy#signature-for-api-request">Signature</a> generated by <code>APIPrivateKey</code><br>e.g. zbBQ+1nv/5up9riH1wbTSSMmkb26LQj3g1cNWsutOordOrtpk8agcA5D5bdYaGeVlHK0qZ2MlUV+ZfOK9cXMuficeIm5fnEjMEm7s1IZtSivMt5te7EFqe52dtVFafE4hUgwqH6QBZB0yZ1FSqHs2dOCI0e8RKJQBDitxtHkibStl1Jt5wulzzq96qWbbVnwoBqGDT52OtwwEcDqMI4SIAzUAdBhAuLqUig1U4Ne9ufT8B1aAohEk5fvn/Sbom21bEjLdgbt5PwH2wmmuBx4tq31IgcP4V+qEBILY2eMAFzkvxNXaX3PsLbj9NpgyIc3HQl0FtRq3gdN7FsSvyvcWA==</p> |

{% tabs %}
{% tab title="200: OK Successful response" %}

```javascript
{
    "code": 10000,
    "msg": "Success",
    "data": [
        {
            "cryptoCurrency": "USDT",
            "network": "ethereum_mainnet",
            "cryptoCurrencyCode": "USDT_ERC20"
        },
        {
            "cryptoCurrency": "USDC",
            "network": "ethereum_mainnet",
            "cryptoCurrencyCode": "USDC_ERC20"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

## Objects definition

### `cryptoCurrency`

<table><thead><tr><th width="218">Key</th><th width="93">Format</th><th width="103">Required</th><th>Description</th></tr></thead><tbody><tr><td>cryptoCurrency</td><td>String</td><td>Y</td><td>Cryptocurrency name, e.g. USDT/USDC</td></tr><tr><td>network</td><td>String</td><td>Y</td><td>Cryptocurrency blockchain, e.g. ethereum_mainnet</td></tr><tr><td>cryptoCurrencyCode</td><td>String</td><td>Y</td><td>Cryptocurrency code, e.g. USDT_ERC20</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.fatpay.org/reference/api-reference/apis/list-all-cryptocurrencies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
