curl "https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/balance" \
-H "X-API-Key: YOUR_API_KEY"
{
"success": true,
"message": "Credit balance retrieved.",
"data": {
"available": 1350,
"total": 2000,
"used": 650
}
}
{
"success": false,
"message": "Could not read your Smart Prospect credit balance right now. Try again in a minute."
}
Smart Prospect
Credit Balance API
Your Smart Prospect credit balance: credits you can spend now, your total and what you used - GET /billing/balance
GET
/
api
/
v1
/
search-email-leads
/
billing
/
balance
curl "https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/balance" \
-H "X-API-Key: YOUR_API_KEY"
{
"success": true,
"message": "Credit balance retrieved.",
"data": {
"available": 1350,
"total": 2000,
"used": 650
}
}
{
"success": false,
"message": "Could not read your Smart Prospect credit balance right now. Try again in a minute."
}
Credit cost: Free. This call only reads your balance.
This endpoint requires your API key: pass it as the
api_key query parameter, or in an X-API-Key or Authorization: Bearer header (see Authentication).credits_available that Estimate Fetch Cost reports. For every credit you spent or got back, use Credit Ledger.
curl "https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/balance" \
-H "X-API-Key: YOUR_API_KEY"
Response Fields
Response Codes
Called with a client (agency sub-account) API key (use the main account key), or your plan does not include API access.
Your balance could not be read right now. Nothing is wrong with your credits; try again in a minute. The balance is never reported as
0 when it could not be read.{
"success": true,
"message": "Credit balance retrieved.",
"data": {
"available": 1350,
"total": 2000,
"used": 650
}
}
{
"success": false,
"message": "Could not read your Smart Prospect credit balance right now. Try again in a minute."
}
