Get Account Billing
Get authenticated account information including credit balance and account details.
GET
/
billing
/
account
Get Account Billing
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}};
fetch('https://api.browser-use.com/api/v2/billing/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.browser-use.com/api/v2/billing/account \
--header 'X-Browser-Use-API-Key: <api-key>'import requests
url = "https://api.browser-use.com/api/v2/billing/account"
headers = {"X-Browser-Use-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"totalCreditsBalanceUsd": 123,
"monthlyCreditsBalanceUsd": 123,
"additionalCreditsBalanceUsd": 123,
"rateLimit": 123,
"concurrentSessionLimit": 123,
"activeSessionCount": 123,
"planInfo": {
"planName": "<string>",
"subscriptionStatus": "<string>",
"subscriptionId": "<string>",
"subscriptionCurrentPeriodEnd": "<string>",
"subscriptionCanceledAt": "<string>"
},
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"isFreeTier": false,
"apiKeyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tracingDisabled": false
}{
"detail": "Account not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Response
Successful Response
View model for account information.
Was this page helpful?
⌘I
Get Account Billing
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}};
fetch('https://api.browser-use.com/api/v2/billing/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.browser-use.com/api/v2/billing/account \
--header 'X-Browser-Use-API-Key: <api-key>'import requests
url = "https://api.browser-use.com/api/v2/billing/account"
headers = {"X-Browser-Use-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"totalCreditsBalanceUsd": 123,
"monthlyCreditsBalanceUsd": 123,
"additionalCreditsBalanceUsd": 123,
"rateLimit": 123,
"concurrentSessionLimit": 123,
"activeSessionCount": 123,
"planInfo": {
"planName": "<string>",
"subscriptionStatus": "<string>",
"subscriptionId": "<string>",
"subscriptionCurrentPeriodEnd": "<string>",
"subscriptionCanceledAt": "<string>"
},
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"isFreeTier": false,
"apiKeyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tracingDisabled": false
}{
"detail": "Account not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}