---
description: >-
  Get information of the supported chains, and the corresponding tokens: for
  users to choose a swap pair
---

# Get Coin List

#### Request Url: /api/getBaseInfo

**API Base Url:** [**https://api-swap.paths.finance**](https://api-swap.paths.finance)

#### Request Method: POST

#### Request Parameters:

| Field Name | Field Description | Type   | Required or not | Notes                                                                                |
| ---------- | ----------------- | ------ | --------------- | ------------------------------------------------------------------------------------ |
| chain      | Blockchain Name   | string | No              | Referring to [\<Major Blockchain Name Conventions>](../api-introduction/chain-info)  |

#### Output Parameters:

| Field Name  | Field Description                           | Type                                                                                                     |
| ----------- | ------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| tokens      | Token Info List                             | <p>Return to Object while no chain parameter; </p><p>Return to Array when there is a chain parameter</p> |
| quoteSwitch | The price inquiry Switch currently set True | bool                                                                                                     |

#### Request Example:

[https://api-swap.paths.finance/api/getBaseInfo](https://api.paths.finance/api/getBaseInfo)

#### Response Example:

```
// no chain parameter Return
{
    "resCode": "100",
    "resMsg": "Success",
    "data": {
        "tokens": {
            "ETH": [
                {
                    "symbol": "ETH",
                    "name": "Ethereum Token",
                    "address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
                    "decimals": 18,
                    "logoURI": "https://swap.swftcoin.com/swft-v3/images/coins/ETH.png",
                    "isCrossEnable": true
                },
                {
                    "symbol": "WETH",
                    "name": "Wrapped Ether",
                    "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                    "decimals": 18,
                    "logoURI": "https://images.swft.pro/inch1/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png",
                    "isCrossEnable": true
                },
                {
                    "symbol": "LINK",
                    "name": "ChainLink Token",
                    "address": "0x514910771af9ca656af840dff83e8264ecf986ca",
                    "decimals": 18,
                    "logoURI": "https://images.swft.pro/inch1/0x514910771af9ca656af840dff83e8264ecf986ca.png",
                    "isCrossEnable": false
                }
            ]
        },
        "quoteSwitch": true
    }
}
```

```
// has a chain parameter Return
{
    "resCode": "100",
    "resMsg": "Success",
    "data": {
        "tokens": [
            {
                "symbol": "BNB",
                "name": "BNB",
                "address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
                "decimals": 18,
                "logoURI": "https://images.swft.pro/inch1/0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c.png",
                "isCrossEnable": false
            },
            {
                "symbol": "USDT",
                "name": "Tether USD",
                "address": "0x55d398326f99059ff775485246999027b3197955",
                "decimals": 18,
                "logoURI": "https://images.swft.pro/inch1/0xdac17f958d2ee523a2206206994597c13d831ec7.png",
                "isCrossEnable": false
            },
            {
                "symbol": "WBNB",
                "name": "Wrapped BNB",
                "address": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
                "decimals": 18,
                "logoURI": "https://images.swft.pro/inch1/0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c.png",
                "isCrossEnable": false
            }
        ],
        "quoteSwitch": true
    }
}
```

#### Postman Call Example

<figure><img src="https://2618925675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvKZb9H0fI8f0PVUwaWn5%2Fuploads%2FnB8ngK4eAPBLMYKRJvHr%2Fimage.png?alt=media&#x26;token=ed1e97b8-4070-4a41-a004-5b41daa8da24" alt=""><figcaption></figcaption></figure>
