curl "https://lookup.proweblook.com/api/v1/balance?service=phonevalidation&api_key=YOUR_API_KEY"
curl "https://lookup.proweblook.com/api/v1/balance?service=wavalidation&api_key=YOUR_API_KEY"
curl "https://lookup.proweblook.com/api/v1/balance?service=calleridvalidation&api_key=YOUR_API_KEY"
curl "https://lookup.proweblook.com/api/v1/balance?service=blacklistchecker&api_key=YOUR_API_KEY"
const apiKey = "YOUR_API_KEY";
const services = ["phonevalidation", "wavalidation", "calleridvalidation", "blacklistchecker"];
const balances = await Promise.all(
services.map(service =>
fetch(`https://lookup.proweblook.com/api/v1/balance?service=${service}&api_key=${apiKey}`)
.then(r => r.json())
)
);
balances.forEach(b => console.log(`${b.service}: ${b.balance} credits`));
import requests
services = ["phonevalidation", "wavalidation", "calleridvalidation", "blacklistchecker"]
for service in services:
r = requests.get(
"https://lookup.proweblook.com/api/v1/balance",
params={"service": service, "api_key": "YOUR_API_KEY"}
)
data = r.json()
print(f"{data['service']}: {data['balance']} credits")
{
"balance": 4850,
"service": "phonevalidation"
}
{
"balance": 1200,
"service": "wavalidation"
}
{
"balance": 0,
"service": "calleridvalidation"
}
{
"error": "Invalid service."
}
{
"error": "API Key and Service are required."
}
API Reference
Balance
Check your remaining API credits for a specific service.
GET
/
api
/
v1
/
balance
curl "https://lookup.proweblook.com/api/v1/balance?service=phonevalidation&api_key=YOUR_API_KEY"
curl "https://lookup.proweblook.com/api/v1/balance?service=wavalidation&api_key=YOUR_API_KEY"
curl "https://lookup.proweblook.com/api/v1/balance?service=calleridvalidation&api_key=YOUR_API_KEY"
curl "https://lookup.proweblook.com/api/v1/balance?service=blacklistchecker&api_key=YOUR_API_KEY"
const apiKey = "YOUR_API_KEY";
const services = ["phonevalidation", "wavalidation", "calleridvalidation", "blacklistchecker"];
const balances = await Promise.all(
services.map(service =>
fetch(`https://lookup.proweblook.com/api/v1/balance?service=${service}&api_key=${apiKey}`)
.then(r => r.json())
)
);
balances.forEach(b => console.log(`${b.service}: ${b.balance} credits`));
import requests
services = ["phonevalidation", "wavalidation", "calleridvalidation", "blacklistchecker"]
for service in services:
r = requests.get(
"https://lookup.proweblook.com/api/v1/balance",
params={"service": service, "api_key": "YOUR_API_KEY"}
)
data = r.json()
print(f"{data['service']}: {data['balance']} credits")
{
"balance": 4850,
"service": "phonevalidation"
}
{
"balance": 1200,
"service": "wavalidation"
}
{
"balance": 0,
"service": "calleridvalidation"
}
{
"error": "Invalid service."
}
{
"error": "API Key and Service are required."
}
Overview
The Balance API lets you programmatically check your remaining credit balance for any ProWebLook service. Use this before submitting large batch jobs or to monitor credit consumption in your application.Request Parameters
string
required
Your ProWebLook API key. See Authentication.
string
required
The service to check balance for. Accepted values:
| Value | Description |
|---|---|
phonevalidation | Credits for phone number validation |
wavalidation | Credits for WhatsApp validation |
calleridvalidation | Credits for Caller ID lookups |
blacklistchecker | Credits for blacklist checks |
blacklist | Alias for blacklistchecker |
Response
integer
The number of remaining credits for the specified service.
string
The service name that was queried (normalized lowercase).
curl "https://lookup.proweblook.com/api/v1/balance?service=phonevalidation&api_key=YOUR_API_KEY"
curl "https://lookup.proweblook.com/api/v1/balance?service=wavalidation&api_key=YOUR_API_KEY"
curl "https://lookup.proweblook.com/api/v1/balance?service=calleridvalidation&api_key=YOUR_API_KEY"
curl "https://lookup.proweblook.com/api/v1/balance?service=blacklistchecker&api_key=YOUR_API_KEY"
const apiKey = "YOUR_API_KEY";
const services = ["phonevalidation", "wavalidation", "calleridvalidation", "blacklistchecker"];
const balances = await Promise.all(
services.map(service =>
fetch(`https://lookup.proweblook.com/api/v1/balance?service=${service}&api_key=${apiKey}`)
.then(r => r.json())
)
);
balances.forEach(b => console.log(`${b.service}: ${b.balance} credits`));
import requests
services = ["phonevalidation", "wavalidation", "calleridvalidation", "blacklistchecker"]
for service in services:
r = requests.get(
"https://lookup.proweblook.com/api/v1/balance",
params={"service": service, "api_key": "YOUR_API_KEY"}
)
data = r.json()
print(f"{data['service']}: {data['balance']} credits")
{
"balance": 4850,
"service": "phonevalidation"
}
{
"balance": 1200,
"service": "wavalidation"
}
{
"balance": 0,
"service": "calleridvalidation"
}
{
"error": "Invalid service."
}
{
"error": "API Key and Service are required."
}
