For the complete documentation index, see llms.txt. This page is also available as Markdown.

Units Usage

The Units API allows you to easily get your units balance and daily 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

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

Result

Last updated