What is Math Captcha?
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.
How It Works
Send Task
POST your MathCaptchaTask with the target URL and sitekey to our API. We'll queue it instantly.
We Solve
Capzy's proprietary vision pipeline reads the expression off the image and computes the answer in a sandboxed evaluator. Pure API path — no browser, no proxy, typical solves in ~0.6–1s.
Get Token
Poll getTaskResult — when status is 'ready', the solution contains the token to inject into the target page.
Quick Integration
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)task parameters.
typetypestringreqyesMathCaptchaTaskbodytypestringreqyesBase64-encoded image (PNG, JPG, GIF, BMP) of the math expressionsolution response.
texttypestringThe computed numeric answer (e.g. '8')expressiontypestringThe expression we read from the image, in standard form (e.g. '3 + 5')Features
ProxyLess Task Type
MathCaptchaTaskFrequently Asked Questions
start solving math captcha.
$0.10 in free credits — no card. ~250 free solves to test before you spend.