# User Balance

## Get Balance

<mark style="color:blue;">`GET`</mark> `https://api.abcc.com/api/v1/members/me`

#### Query Parameters

| Name        | Type    | Description                                                |
| ----------- | ------- | ---------------------------------------------------------- |
| signature   | string  |                                                            |
| access\_key | string  |                                                            |
| tonce       | boolean | Timestamp of the current time in milliseconds (Unix epoch) |

{% tabs %}
{% tab title="200 Data successfully retrieved." %}

```
{
	"sn": "XXXXXXXXXXXXXX",
	"name": null,
	"email": "abcc@abcc.com",
	"activated": true,
	"accounts": [{
		"currency": "btc",
		"balance": "58.526256078",
		"locked": "0.0"
	}, {
		"currency": "ltc",
		"balance": "0.0",
		"locked": "0.0"
	}, {
		"currency": "eth",
		"balance": "55.348629",
		"locked": "1075.85993"
	}, {
		"currency": "usdt",
		"balance": "25601036.592404472658",
		"locked": "10231.723031090348"
	}, {
		"currency": "hkmt",
		"balance": "1005900.0",
		"locked": "0.0"
	}, {
		"currency": "usmt",
		"balance": "1000.0",
		"locked": "0.0"
	},{
		"currency": "alg",
		"balance": "997164.0235",
		"locked": "18.1935"
	}, {
		"currency": "sand",
		"balance": "2089218.0",
		"locked": "1111.0"
	}, {
		"currency": "usdt-erc20",
		"balance": "0.0",
		"locked": "0.0"
	}, {
		"currency": "usdc",
		"balance": "2980316.40286014866",
		"locked": "2004192.52"
	}, {
		"currency": "bnb",
		"balance": "0.01",
		"locked": "0.0"
	}]
}
```

{% endtab %}
{% endtabs %}

**OUTPUT EXPLANATION**

| Script                | Type    | Explain            |
| --------------------- | ------- | ------------------ |
| sn                    | String  | User serial number |
| name                  | String  | Name               |
| email                 | String  | mailbox            |
| activated             | Boolean | account status     |
| accounts              | Array   | Account list       |
| accounts\[0]          | Hash    | Account details    |
| accounts\[0].currency | String  | Account currency   |
| accounts\[0].balance  | Integer | Available balance  |
| accounts\[0].locked   | String  | Locked             |

**Notice**

The balance is the available balance of the account and does not include the amount locked by the user.


---

# 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://abcc-docs.gitbook.io/api/account/user-balance.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.
