Get Project Billing
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}};
fetch('https://api-staging-ufcbwvyv9yifyyvc3.browser-use.com/api/v1/project/billing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api-staging-ufcbwvyv9yifyyvc3.browser-use.com/api/v1/project/billing \
--header 'X-Browser-Use-API-Key: <api-key>'import requests
url = "https://api-staging-ufcbwvyv9yifyyvc3.browser-use.com/api/v1/project/billing"
headers = {"X-Browser-Use-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"credits": {
"balanceUsd": "<string>",
"monthlyUsd": "<string>",
"additionalUsd": "<string>"
},
"plan": {
"id": "<string>",
"name": "<string>",
"status": "<string>",
"periodEnd": "2023-11-07T05:31:56Z"
}
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Account
Get Project Billing
Credit balance and plan.
GET
/
project
/
billing
Get Project Billing
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}};
fetch('https://api-staging-ufcbwvyv9yifyyvc3.browser-use.com/api/v1/project/billing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api-staging-ufcbwvyv9yifyyvc3.browser-use.com/api/v1/project/billing \
--header 'X-Browser-Use-API-Key: <api-key>'import requests
url = "https://api-staging-ufcbwvyv9yifyyvc3.browser-use.com/api/v1/project/billing"
headers = {"X-Browser-Use-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"credits": {
"balanceUsd": "<string>",
"monthlyUsd": "<string>",
"additionalUsd": "<string>"
},
"plan": {
"id": "<string>",
"name": "<string>",
"status": "<string>",
"periodEnd": "2023-11-07T05:31:56Z"
}
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?
⌘I