ERROR_ZERO_BALANCECategory: BillingHTTP 200

How to Fix ERROR_ZERO_BALANCE in CAPTCHA Solver APIs

ERROR_ZERO_BALANCE is returned when your account deposit has been completely exhausted. The solver API rejects new task submissions until the balance is replenished.

1. Root Causes for ERROR_ZERO_BALANCE

  • Account balance dropped to $0.00 after high-volume scraping jobs
  • Active tasks completed while deposit was low, exhausting remaining credit
  • Auto-billing credit card payment was declined or expired

2. How to Resolve & Prevent This Error

  1. Log in to 2Captcha dashboard and replenish balance (minimum deposit is only $1.00)
  2. Implement a balance pre-check in your Python or Node.js scraping script using get_balance()
  3. Configure an automated low-balance email or Telegram notification threshold (e.g. alert when < $5.00)

3. Python Code Fix & Defensive Error Handling

from twocaptcha import TwoCaptcha
import time

solver = TwoCaptcha("YOUR_API_KEY")

def ensure_balance(min_threshold=2.00):
    balance = solver.balance()
    print(f"Current 2Captcha balance: {balance:.2f}")
    if balance < min_threshold:
        raise Exception(f"Low balance alert: {balance:.2f} remaining. Top up account before starting crawl.")

try:
    ensure_balance()
    result = solver.recaptcha(sitekey="SITEKEY", url="TARGET_URL")
except Exception as e:
    if "ERROR_ZERO_BALANCE" in str(e):
        print("CRITICAL: Deposit exhausted. Pausing queue...")
    raise

4. Node.js Implementation

import Client from "@infosimples/node_two_captcha-api";

const solver = new Client("YOUR_API_KEY");

async function checkBalance() {
  const balance = await solver.balance();
  if (parseFloat(balance) < 1.0) {
    throw new Error("Low balance: " + balance + ". Top up required.");
  }
}

5. Why 2Captcha Minimizes API Errors

2Captcha Reliability Architecture

Rank #1 Overall
  • No Slot Saturation: Tens of thousands of workers online 24/7 ensure sub-5 second task pickup
  • Zero Fee for Failures: Unsolvable CAPTCHAs are never charged to your account balance
  • Pay-As-You-Go: Deposits never expire, with a low minimum top-up of just $1.00
Get Started with 2Captcha ($0.50/1k) →

6. Frequently Asked Questions

Does 2Captcha charge monthly fees or do funds expire?

No. 2Captcha operates on a true Pay-As-You-Go model. Funds never expire, and there are no monthly minimum fees.

What is the minimum top-up amount on 2Captcha?

You can deposit as little as $1.00 via credit card, cryptocurrency, WebMoney, or bank transfer.

← Back to All Error Codes