API Playground
Get credit balance
What is left this period. Free.
Credits do not roll over. Each period restarts at limit — 25,000 with 8,000 unspent renews at 25,000, not 33,000. The one exception is a mid-period upgrade, which keeps the remaining balance and adds the new plan’s allowance on top.
There is no credit-threshold webhook to subscribe to; poll this endpoint if you want an alert.
GET
/
account
/
credits
Get credit balance
curl --request GET \
--url https://api.bouncewatch.com/api/v1/account/credits \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.bouncewatch.com/api/v1/account/credits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bouncewatch.com/api/v1/account/credits"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bouncewatch.com/api/v1/account/credits",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"success": true,
"data": {
"credits": {
"balance": 21000,
"used": 4000,
"limit": 25000,
"total_purchased": 0,
"percentage_used": 16,
"resets_at": "2023-11-07T05:31:56Z"
}
}
}{
"success": false,
"error": "missing_api_key",
"message": "Please provide your API key in X-API-Key header or api_key parameter"
}{
"success": false,
"error": "rate_limit_exceeded",
"message": "Rate limit exceeded. Please retry after 45 seconds.",
"retry_after": 45,
"limits": {
"per_minute": 150,
"per_day": 5000,
"current_minute": 150,
"current_day": 3204
}
}⌘I
Get credit balance
curl --request GET \
--url https://api.bouncewatch.com/api/v1/account/credits \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.bouncewatch.com/api/v1/account/credits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bouncewatch.com/api/v1/account/credits"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bouncewatch.com/api/v1/account/credits",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"success": true,
"data": {
"credits": {
"balance": 21000,
"used": 4000,
"limit": 25000,
"total_purchased": 0,
"percentage_used": 16,
"resets_at": "2023-11-07T05:31:56Z"
}
}
}{
"success": false,
"error": "missing_api_key",
"message": "Please provide your API key in X-API-Key header or api_key parameter"
}{
"success": false,
"error": "rate_limit_exceeded",
"message": "Rate limit exceeded. Please retry after 45 seconds.",
"retry_after": 45,
"limits": {
"per_minute": 150,
"per_day": 5000,
"current_minute": 150,
"current_day": 3204
}
}
