Check credit balance
curl --request GET \
--url https://api.videobgremover.com/v1/credits \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.videobgremover.com/v1/credits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.videobgremover.com/v1/credits"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"total_credits": 123,
"remaining_credits": 123,
"used_credits": 123
}{
"error": "Invalid API key"
}{
"error": "Internal server error"
}Check credit balance
Check your VideoBGRemover API credit balance and usage information. Use your API key to see available credits before starting a video processing job.
GET
/
v1
/
credits
Check credit balance
curl --request GET \
--url https://api.videobgremover.com/v1/credits \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.videobgremover.com/v1/credits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.videobgremover.com/v1/credits"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"total_credits": 123,
"remaining_credits": 123,
"used_credits": 123
}{
"error": "Invalid API key"
}{
"error": "Internal server error"
}Authorizations
API key with format vbr_ followed by 32 characters
