account_usage
Check remaining account credits and spend for the current plan before large scraping batches or after 402/AUTH004 errors, including renewal timing.
Instructions
Read the current plan's credit allowance and how much of it is spent.
Useful before a large batch, or after a 402 / AUTH004, to see whether the account has credits left and when the allowance renews. The call is free and does not use a concurrency slot.
Credit costs per request: 1 basic, 5 js_render, 10 premium_proxy, 25 both.
AUTH004 ("usage exceeded") means this allowance is spent until it renews at the end of the billing period (period_ends_at in this tool's response). Plans and credit options are described at https://www.zenrows.com/pricing. AUTH006 is the concurrency limit, not a credit limit.
AUTH014 (Batch: api_key_cap_reached) means this API key hit one of its own credit caps while the account still has credits; other keys keep working. The response's api_key.caps lists the calling key's caps: window, credits, used_credits, remaining_credits, resets_at, and unavailable (usage could not be read). Caps are managed at https://app.zenrows.com/settings/api-keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||