Skip to main content
GET
Get user account balance
Returns the points balance for the account that owns the current API key. OpenAPI charges debit this balance. Call this before creating jobs if you want to confirm funds. For push alerts when balance is low, see Balance alert webhook.

Response fields

About used_coin

used_coin is account-level historical net spend in points.
  • Formula: sum of all consumption rows minus all refund rows.
  • Scope: every API key under the user, not only the key used for this request.
  • Vs key used_quota: /key/balance used_quota is per-key; used_coin is whole-account spend.

Example

Authorizations

Authorization
string
header
required

控制台创建的 API Key,格式:Bearer sk_xxx

Response

200 - application/json

Balance

code
integer
Example:

20000

msg
string
data
object
Last modified on October 15, 2026