Glossary
CAPTCHA solving API
A CAPTCHA solving API is a web service your code calls with the details of a challenge, and which returns the answer the site expects: a token, a cookie, text or tile indexes.
Definition
Automation regularly meets challenges it cannot handle alone. A solving API moves that work to a service built for it. Your script collects the challenge parameters, sends them over HTTPS, waits a few seconds, and receives a result it can submit to the site. The API hides the details of each vendor's protocol, so the same request pattern covers reCAPTCHA, Turnstile, GeeTest, AWS WAF and image puzzles.
GateSolver solves challenges with AI models rather than people, and exposes them as 14 task types. Typical users run price monitoring, search rank tracking, QA suites, RPA bots and accessibility tools.
The createTask and getTaskResult flow
The modern task API has two calls. First, create the task:
POST https://gatesolver.com/createTask
{"clientKey": "YOUR_API_KEY", "task": {"type": "AntiTurnstileTaskProxyLess",
"websiteURL": "https://newsletter.example.com/join", "websiteKey": "0x4AAAAAAA..."}}
<- {"errorId": 0, "taskId": "f7c1a9e0"}
Then ask for the result until it is ready:
POST https://gatesolver.com/getTaskResult
{"taskId": "f7c1a9e0", "clientKey": "YOUR_API_KEY"}
<- {"errorId": 0, "status": "processing"}
<- {"errorId": 0, "status": "ready",
"solution": {"token": "0.mF74FV8...", "userAgent": "Mozilla/5.0 ..."},
"cost": "0.000560"}
A failed task returns status: failed with an error such as ERROR_CAPTCHA_UNSOLVABLE. A third call, getBalance, reports your remaining balance. Code written for the older in.php and res.php interface works as well, using methods such as userrecaptcha, turnstile, geetest and base64 with json=1.
Pricing per 1,000
Solving APIs quote prices per 1,000 solved tasks, because a single solve costs a fraction of a cent. With GateSolver, the price depends on the type, for example $0.56 for reCAPTCHA v2 and $0.28 for Image to Text. You are charged only when a task is solved, at that moment. Tasks that fail, are unsolvable, or are still unsolved after 120 seconds cost nothing, and neither do error responses. The full table is on the pricing page.
Proxyless and proxy tasks
Most token tasks are proxyless: the solver works from its own network and you only send the page details. Some challenges bind their result to an IP, so they need your proxy. The Cloudflare challenge and DataDome slider tasks always take one, and several token types offer an optional proxy variant. The proxyless task entry explains when each fits.
Limits and account details
Each API key allows 600 requests per minute, and there is no cap on how many tasks run at the same time. An account is identified by an account token rather than an email, and holds one API key; creating a new key replaces the old one. The balance never expires, covers every task type, and is topped up with crypto from $40.
Choosing how to integrate
Any language with an HTTP client works; the API docs show the requests with examples you can adapt to your language. Browser tools such as Selenium, Playwright and Puppeteer, and workflow tools such as n8n, are covered in the integration guides. Whatever you use, the core loop stays the same: detect, create, poll, submit, and verify that the site accepted the answer.
Handling errors well
Every response carries an errorId. Zero means the call worked; anything else comes with an errorCode you can act on. ERROR_ZERO_BALANCE means it is time to top up, ERROR_INVALID_TASK_DATA names the missing field in its description, ERROR_RATE_LIMIT asks you to slow down, and ERROR_CAPTCHA_UNSOLVABLE means this attempt failed at no charge and a fresh one can be created. Treat each code differently rather than retrying blindly, and keep the task ID in your logs so a single failed solve can be traced later.
What a solving API cannot do
It cannot change a site's own rules. A token can be valid and still be refused because a v3 score sits under the threshold, a cookie is used from the wrong IP, or a honeypot field was filled. The API's job ends when it returns a correct answer; making sure that answer travels in the right request is the integration's job.
Common questions
Do I need a browser to use a solving API?
No. Token and cookie tasks work from plain HTTP clients; a browser is only needed when the site requires one for other reasons.
When exactly am I charged?
At the moment a task is solved, at the price for its type. Failed, unsolvable and expired tasks are free.
Can I run many tasks at once?
Yes. There is no limit on concurrent tasks; requests are limited to 600 per minute per key.
Does the API push results to my server?
No. You poll getTaskResult until the status is ready or failed.
Will my old in.php code work?
Yes. The in.php and res.php endpoints accept the common methods with json=1, so migration is mostly a host change.
Keep reading
- How CAPTCHA solving services workWhat happens between createTask and a ready answer: the task queue, the AI models, the returned token and why pricing is per 1,000.
- Task pollingAsking getTaskResult for an answer on a timer: sensible intervals for token and image tasks, and when to give up.
- Proxyless taskTasks the solver completes from its own network versus tasks that run through your proxy, and how to pick between them.
- API docscreateTask, getTaskResult, getBalance, error codes and the in.php format.