cURL
curl --request GET \ --url https://api.brightdata.com/customer/balance \ --header 'Authorization: Bearer <token>'
{ "balance": 456, "pending_balance": 123 }
Get total balance through API
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
the amount of money in your account
456
the amount of money you will be billed for, as of this moment, in the next billing cycle
123
Was this page helpful?