> For the complete documentation index, see [llms.txt](https://docs-swft.en.swft.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-swft.en.swft.pro/trade-api/single-currency-account-balance.md).

# Single currency Account Balance

**1. Request Url**

&#x20;`https://{host}/marketApi/accountsByCode/{coinCode}`

**2. Request Param**

| Parameter name | Is it necessary | description                                                                       |
| -------------- | --------------- | --------------------------------------------------------------------------------- |
| channelId      | Y               | Channel number                                                                    |
| timestamp      | Y               | Millisecond timestamp（UTC+8）                                                      |
| sign           | Y               | See "[Signature Generation](/trade-api/generate-signature.md#generate-signature)" |

**3. Request Example**

```
 {
     "channelId":"swft-channel",
     "sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
     "timestamp":"1557653925555"
 }
```

**4. Response Data**

```
 {
     "data":{
         "coinCode":"BTC",
         "availableAmount":"1.46",
         "freezeAmount":"0"
     },
     "resCode": "800",
     "resMsg": "SUCCESS"
 }
```

**5.Response Data Explanation**

| Parameter name  | Is it necessary | Type of data | description       | remark   |
| --------------- | --------------- | ------------ | ----------------- | -------- |
| coinCode        | Y               | String       | Currency Code     | eg: BTC  |
| availableAmount | Y               | String       | Available Balance | eg: 1.46 |
| freezeAmount    | Y               | String       | Freeze Balance    | eg: 0.01 |
