Bypass arithmetic captchas via our generic image API (base64 upload). Fast, automated math problem & equation solving with high accuracy.
CaptchaKings Math Captcha Solver is an automated calculation API for image-based and text-based arithmetic challenges (+, -, ×, ÷, roots, multi-term). Solved via base64 generic image OCR API at $0.80 per 1,000 requests with sub-second execution and instant JSON output.
Addition
Subtraction
Multiplication
Division
Complex
Advanced
Plug into your existing Python, Node.js, PHP, or cURL bots in less than 5 minutes.
import requests
API_KEY = "ck_your_api_key_here"
with open("captcha_math.png", "rb") as f:
r = requests.post(
"https://captchakings.com/api/process.php",
headers={"Authorization": f"Bearer {API_KEY}"},
files={"captcha": f},
timeout=30,
).json()
if r.get("success"):
print("Arithmetic answer:", r["data"]["prediction"])
print("Confidence:", r["data"]["confidence"])
else:
print("Error:", r.get("error"))
const fs = require('fs');
async function solveCaptcha() {
const form = new FormData();
form.append('captcha', new Blob([fs.readFileSync('captcha_math.png')]), 'captcha_math.png');
const res = await fetch('https://captchakings.com/api/process.php', {
method: 'POST',
headers: { 'Authorization': 'Bearer ck_your_api_key_here' },
body: form
});
const data = await res.json();
if (data.success) console.log('Arithmetic answer:', data.data.prediction);
}
solveCaptcha();
curl -X POST "https://captchakings.com/api/process.php" \
-H "Authorization: Bearer ck_your_api_key_here" \
-F "captcha=@captcha_math.png"
# → {"success":true,"data":{"prediction":"...","confidence":"89.79%"},
# "billing":{"amount_charged":"0.000800","balance_remaining":"0.499200"}}
<?php
$apiKey = "ck_your_api_key_here";
$ch = curl_init('https://captchakings.com/api/process.php');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $apiKey],
CURLOPT_POSTFIELDS => ['captcha' => new CURLFile('captcha_math.png')]
]);
$data = json_decode(curl_exec($ch), true);
curl_close($ch);
if ($data['success']) echo "Arithmetic answer: " . $data['data']['prediction'];
?>
Limited support — this captcha type is solved through the generic image API. Accuracy depends on image quality; see /supported-captchas for the live capability matrix.