> For the complete documentation index, see [llms.txt](https://doc.thordata.com/interface-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.thordata.com/interface-documentation/public-api/account/query-wallet-balance.md).

# Query Wallet Balance

### Basic Information

**Interface Description:** Get your wallet balance through the interface

**Interface URL:** <https://openapi.thordata.com/api/account/wallet-balance>

**Request Method:** <mark style="color:green;">GET</mark>

### Request parameters

**Params：**

| Parameter name | Type   | Required | Describe                                                                                                                                  |
| -------------- | ------ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| `token`        | string | Yes      | Please log in to the  [**Dashboard-MENU-My Account**](https://dashboard.thordata.com/account-settings) to view your token parameter value |

### Response example

```json
{
    "code": 200,
    "data": {
        "wallet_balance": 800
    },
    "msg": "ok"
}
```

{% hint style="info" %}
If the returned code value is not 200, please check the [**error code description list**](https://doc.thordata.com/interface-documentation/error-code/error-code-description) and modify it.
{% endhint %}

<table><thead><tr><th width="206">Parameter name</th><th>Type</th><th width="139">Required</th><th>Describe</th></tr></thead><tbody><tr><td><code>code</code></td><td>number</td><td>No</td><td>-</td></tr><tr><td><code>data</code></td><td>object</td><td>No</td><td>-</td></tr><tr><td><code>wallet_balance</code></td><td>number</td><td>Yes</td><td>Wallet balance</td></tr><tr><td><code>msg</code></td><td>string</td><td>No</td><td>-</td></tr></tbody></table>
