Get List of Crypto Currencies

Crypto

This API retrieves a list of cryptocurrencies, along with their trade accuracy.

Endpoint Information

  • Request Method: GET

  • Request Path: /v2/base/cryptos

Request Parameters

  • None

Response Structure

The response will include the following fields:

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [{
        "crypto": "USDT",     // (string: name of the cryptocurrency)
        "accuracy": 6         // (number: accuracy of the trade)
    }]
}

Example Response

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "crypto": "USDT",
            "accuracy": 6
        },
        {
            "crypto": "BTC",
            "accuracy": 8
        }
        // Additional cryptocurrencies may be included
    ]
}

Notes

  • The crypto field specifies the name of the cryptocurrency.

  • The accuracy field indicates the precision of the cryptocurrency's trade, typically representing the number of decimal places.