NextCaptcha uses a JSON-based REST API with /createTask and /getTaskResult endpoints. CaptchaAI uses the widely-adopted in.php/res.php format. This guide covers the exact mapping between the two APIs.
POST https://ocr.captchaai.com/in.php
key=YOUR_API_KEY&method=userrecaptcha&googlekey=6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-&pageurl=https://example.com&json=1
Update to check status (integer) and request fields
ERROR_WRONG_USER_KEY
Malformed API key
Verify key format from CaptchaAI dashboard
Task types not recognized
Using NextCaptcha type names
Map to CaptchaAI method values (see table above)
FAQ
NextCaptcha uses JSON POST for everything. Does CaptchaAI require form-encoded data?
CaptchaAI accepts both form-encoded (application/x-www-form-urlencoded) and JSON requests. The in.php endpoint works with form data, and polling uses simple GET parameters.
How do I handle proxy tasks during migration?
In NextCaptcha, proxy tasks use type names like RecaptchaV2Task. In CaptchaAI, add proxy=user:pass@host:port and proxytype=HTTP parameters to the same method.
What about callback/webhook support?
CaptchaAI supports pingback parameter — provide a URL and CaptchaAI will POST the result when ready, similar to NextCaptcha's callback functionality.
Next Steps
Get faster solve times with CaptchaAI — create your account and switch your integration in minutes.
Map End Captcha API calls to Captcha AI equivalents — endpoint changes, parameter differences, code examples,...
AutomationPythonAll CAPTCHA Types
Jan 20, 2026
Reference
Step-by-step migration from AZCaptcha to Captcha AI — endpoint mapping, parameter differences, code changes, and parallel testing for a safe transition.
Step-by-step migration from AZCaptcha to Captcha AI — endpoint mapping, parameter differences, code changes, a...
AutomationPythonAll CAPTCHA Types
Feb 09, 2026
Comparisons
Understand the difference between token-based and cookie-based CAPTCHA solving — when to use each approach, how they work, and implementation examples.
Compare Captcha AI's JSON and form-encoded API formats. Learn when to use each, with code examples in Python a...
AutomationPythonAll CAPTCHA Types
Feb 20, 2026
DevOps & Scaling
Deploy and manage Captcha AI workers with Ansible — playbooks for provisioning, configuration, rolling updates, and health checks across your server fleet.
Discussions (0)
Join the conversation
Sign in to share your opinion.
Sign InNo comments yet.