Skip to content
capzy
Math Captcha
MathCaptchaTask

Math Captcha Solver, solved in 5.0s.

Send an image of an arithmetic expression (e.g. '3 + 5'), get back the computed answer. Sub-second solves.

Avg Speed~5.0s
Success99%+
Cost / 1k$2.00
Throughput12/m

A math captcha is an image showing a small arithmetic expression — addition, subtraction, multiplication, or division of two or three small whole numbers (e.g. '7 + 2', 'twelve minus four', '6 × 3'). The user is expected to compute the result and type the numeric answer.

Quick Integration

solve.py
import requests, time

API = "https://api.capzy.ai"
KEY = "capzy_your_key_here"

# Step 1: Create task
task = requests.post(f"{API}/createTask", json={
    "clientKey": KEY,
    "task": {
        "type": "MathCaptchaTask",
        "body": "/9j/4AAQSkZJRgABAQ..."
    }
}).json()

task_id = task["taskId"]
print(f"Task created: {task_id}")

# Step 2: Poll for result
while True:
    result = requests.post(f"{API}/getTaskResult", json={
        "clientKey": KEY,
        "taskId": task_id
    }).json()

    if result["status"] == "ready":
        print("Solved!", result["solution"])
        break
    elif result["status"] == "failed":
        print("Failed:", result.get("errorDescription"))
        break

    time.sleep(1)

Using the result

use_result.py
# Step 3: Image-to-text / math — submit the recognized text as the captcha answer
answer = result["solution"]["text"]
requests.post("https://target.example.com/login", data={"username": "...", "captcha": answer})

1. Send Payload

Dispatch your MathCaptchaTask to our processing cluster via the secure API endpoint.

2. Solving Engine

Capzy's proprietary pipeline reads the expression off the image and returns the computed answer. Fast API path — no proxy, typical solves in ~0.6–1s.

3. Get Result

Poll getTaskResult for the validated token, then finalize your automated request.

Task Parameters

API Spec
typetypestringreqyesMathCaptchaTask
bodytypestringreqyesBase64-encoded image (PNG, JPG, GIF, BMP) of the math expression

Response Shape

texttypestringThe computed numeric answer (e.g. '8')
expressiontypestringThe expression we read from the image, in standard form (e.g. '3 + 5')

Example response

{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "text": "8",
    "expression": "3 + 5"
  }
}

Error response

{
  "errorId": 1,
  "errorCode": "ERROR_CAPTCHA_UNSOLVABLE",
  "errorDescription": "Solver gave up."
}

Features

Handles + − × ÷ with two or three operands
Reads symbols and word forms ('plus', 'minus')
No proxy needed — pure image-in answer-out
Typical solve under 1 second

Pricing & Stats

Per 1,000 solves$2.00
Avg solve time~5.0s
Success rate99%+
Throughput12/m

Start solving math captcha.

$0.10 in free credits — no card. ~250 free solves to test before you spend.

Frequently asked questions