CAPTCHA solving
Do CAPTCHA solvers provide an API?
They do. A solver exists to be called from code, so the whole product is a small set of HTTP endpoints that accept a challenge and return an answer.
The short answer
Yes. A modern CAPTCHA solver is an API first and a website second: your program sends the details of the challenge over HTTPS, waits a few seconds, and fetches an answer it can drop into the page. There is nothing to install and no window to click. GateSolver works this way with three JSON calls and an older plain text interface for legacy tools.
What the API looks like
Most solving APIs share one shape, described in more detail on the CAPTCHA solving API glossary page. You create a job, you ask for its state until it is finished, and you read the answer. At GateSolver the three endpoints are:
POST /createTasktakes yourclientKeyand ataskobject, and replies with ataskId.POST /getTaskResulttakes the same key and that id, and replies withprocessing,readyorfailed.POST /getBalancetells you how much credit is left, in US dollars.
The task object names the type, such as ReCaptchaV2TaskProxyLess or ImageToTextTask, plus the fields that type needs. A token widget wants the page address and its site key; an image challenge wants the picture as base64.
A minimal call from the shell
You can try the flow with nothing more than curl. The first request opens a job for a Turnstile widget; the second asks about it.
GS_KEY=YOUR_API_KEY
cat > turnstile-job.json <<JSON
{"clientKey": "$GS_KEY", "task": {"type": "AntiTurnstileTaskProxyLess",
"websiteURL": "https://newsletter.example.org/join",
"websiteKey": "0x4AAAAAAAB7cQ"}}
JSON
curl -sS --json @turnstile-job.json https://gatesolver.com/createTask
# the reply carries a taskId; ask about it a few seconds later
curl -sS --json '{"clientKey": "YOUR_API_KEY", "taskId": "PASTE_TASK_ID"}' https://gatesolver.com/getTaskResult
The --json flag, available in recent curl releases, sets the content type and accept headers for you; on older versions send those headers by hand.
When the status turns ready, the solution object holds the token and the user agent the solver used. Polling every three seconds suits token tasks; image tasks finish faster, so a one second interval works there.
Two protocols, one account
Older scrapers often speak the in.php and res.php style, where you send form parameters and get back text such as OK|id. GateSolver accepts that style for reCAPTCHA v2, Turnstile, GeeTest and image text, so a tool built for it only needs the new host name. Newer code should prefer the JSON calls, which cover all 14 task types and return structured errors. The in.php migration guide walks through the switch.
What an API does not do for you
The solver returns an answer; it does not drive your browser or submit the form. Your code still has to read the parameters off the page, place the token in the right field or callback, and send the request within the token's lifetime. It also has to handle the failed state by simply creating a new task, which costs nothing because unsolved tasks are free.
There are no packages to add either. Any HTTP client in any language can talk to the endpoints, which is why the API docs show short snippets for Python, Node.js, Go, PHP and curl instead of a library.
Where to go next
Pick the widget you face from the supported CAPTCHA list, read its fields, and try one task by hand before wiring it into a job. The overview of how solving works explains what happens between your request and the answer.
Common questions
Do I need a client library to call a solver?
No. The endpoints accept plain JSON over HTTPS, so the HTTP client that ships with your language is enough.
Can the API push the answer to my server?
No. GateSolver does not send results to a URL; your code asks getTaskResult until the status is ready or failed.
Which task types can I create through the API?
All 14 supported types, from reCAPTCHA and Turnstile tokens to AWS WAF cookies, GeeTest values, sliders and image text.
Is the old in.php interface still usable?
Yes, for reCAPTCHA v2, Turnstile, GeeTest and image text. Change the host to gatesolver.com and keep your parameters.
What do I pay for an API call?
Calls themselves are free. Only a solved task is charged, at the per 1,000 price of its type.
Keep reading
- CAPTCHA solving APIWhat a solving API does, the createTask and getTaskResult cycle, per-1,000 pricing, and proxyless versus proxy tasks.
- API docscreateTask, getTaskResult, getBalance, error codes and the in.php format.
- 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.