How to Check Your API Balance and Remaining Quota
Read your account’s remaining request credits without spending them
Written by Kent Hudson
June 26, 2026
Updated October 16, 2026
How to check your API key balance and remaining quota
Send a GET request to /v1/balance with your API key to check the account’s remaining request credits. The call uses no credits itself. Your keys share the account allowance, so this is not a separate quota for each key.
curl "https://api.apitube.io/v1/balance?api_key=YOUR_API_KEY"
Use the api_key parameter or X-API-Key header. The endpoint accepts GET only.
What does the /v1/balance endpoint return?
The response includes your key, remaining points, and current plan. Here is a shortened example:
{
"api_key": "YOUR_API_KEY",
"points": 1500
}
points is the standard request allowance left. Most searches use one point when they return articles; other endpoints can have different costs.
How do I authenticate a balance request?
Use any of these:
Authorization: Bearer YOUR_API_KEYX-API-Key: YOUR_API_KEY?api_key=YOUR_API_KEY
A header keeps the key out of the URL:
curl "https://api.apitube.io/v1/balance" \
-H "X-API-Key: YOUR_API_KEY"
Does checking your balance cost anything?
No credits are deducted. The call still counts toward the per-minute rate limit: 10 on Free, 50 on Starter, Basic, and Professional, 200 on Corporate, and 15 for test keys.
Check on a schedule that fits your app, such as before a batch job or once a minute. Repeated rate-limit violations can cause a temporary ban after 30 violations.
How to read your plan and balance from the response headers
Authenticated responses also include account details in headers:
x-points-remaining: standard request credits left.x-subscription-plan: current plan, such asbasicorfree.x-balance-remaining: pay-as-you-go funds in cents.x-apitube-mode:liveortest.x-budget-remaining: remaining monthly spending budget, when a limit is set.
Read these from ordinary search responses when you do not need a separate balance call. To count articles rather than account credits, see count matching articles without downloading them.
When should you check your balance?
- Before a large job: check that credits or funds are available before starting.
- For account dashboards: show remaining credits or alert when they fall below a threshold.
- For scheduled tasks: check the key and allowance before work begins.
Without usable quota or funds, billed requests return 402 ER0176. See the official authentication guide for key details.
Common Questions
- Does checking my balance use a request?
- What does the points number mean?
- Can I see my balance without a separate call?
- What errors can /v1/balance return?
Does checking my balance use a request?
It is an HTTP request and counts toward the rate limit, but costs no credits.
What does the points number mean?
Your remaining standard request credits. When they run out, eligible requests can use pay-as-you-go funds. Without usable credits or funds, billed requests return 402 ER0176 until you add funds, upgrade, or your quota resets.
Can I see my balance without a separate call?
Yes. Read x-points-remaining from a search or retrieval response. x-subscription-plan and x-balance-remaining show the plan and cash balance alongside it.
What errors can /v1/balance return?
Missing, invalid, or expired keys return 401 with ER0201, ER0202, or ER0230. Rate-limit errors return 429 ER0203, or ER0204 for a temporary ban. Keep the request ID for support.