# Units Usage

## Get units balance and daily usage

#### Method

get

#### Path

/v1/account/units

#### Parameters

none

#### Returns

* `balance`: `integer`, remaining units.
* `stats`: `list`, daily usage stats, we return 30 days stats currently.
  * `usage`: `integer`, usage of the day.
  * `remains`: `integer`, remains of the day.
  * `date`: `string`, date.

Request

{% tabs %}
{% tab title="Curl" %}

```bash
curl -X 'GET' \
  'https://pro-openapi.debank.com/v1/account/units' \
  -H 'accept: application/json' -H 'AccessKey: YOUR_ACCESSKEY'
```

{% endtab %}
{% endtabs %}

Result

```json
{
    "balance": 9804,
    "stats": [
        {
            "usage": 0,
            "remains": 9804,
            "date": "2022-04-07"
        },
        {
            "usage": 0,
            "remains": 9804,
            "date": "2022-04-06"
        },
        .....
    ]
}
```
