GET
/
customer
/
balance
curl --request GET \
  --url https://api.brightdata.com/customer/balance \
  --header 'Authorization: Bearer <token>'
{
  "balance": 456,
  "pending_balance": 123
}

将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌

Create an account, generate a token

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
OK
balance
number

the amount of money in your account

Example:

456

pending_balance
number

the amount of money you will be billed for, as of this moment, in the next billing cycle

Example:

123