API docs
Requests are JSON and there is a single endpoint (https://gatesolver.com). Send the API key you created in your account as clientKey. Create a task (createTask) and get the result a few seconds later (getTaskResult).
- Base URL
- https://gatesolver.com
- Authentication
- clientKey in the body
- Rate limits
- 600 per minute per key
- Format
- JSON (POST)
Get started
- Sign up and top up your balance.
- Create a key from the API key menu in your account. The key is shown only once, when created.
- Create a task with createTask, then call getTaskResult with the taskId you get every few seconds.
- When status becomes ready, put the solution into the page.
Clients built for the createTask format work as is once you change the API address. New address: https://gatesolver.com
createTask
POST https://gatesolver.com/createTask
Creates a task and returns a taskId. You are not charged at this point.
| Field | Format | Required | Description |
|---|---|---|---|
| clientKey | string | Yes | API key |
| task | object | Yes | Task details. type and type-specific fields (see the task type table below and each type's page) |
| callbackUrl | string | No | Not supported. Get results with getTaskResult. |
Request
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "ReCaptchaV2TaskProxyLess",
"websiteURL": "https://www.google.com/recaptcha/api2/demo",
"websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
}
}Response
{ "errorId": 0, "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006" }getTaskResult
POST https://gatesolver.com/getTaskResult
Returns the task result. We recommend polling every 3 seconds for token types and every 1 second for image recognition. The price of 1 task is deducted from your balance the moment it is solved.
| Field | Description |
|---|---|
| status | processing (waiting), ready (answer available), failed (failed, not charged) |
| solution | The answer. Fields differ by type (gRecaptchaResponse, token, cookie, text, etc.) |
| cost | Amount charged for this task (USD) |
| createTime / endTime | Created and finished time (milliseconds) |
{
"errorId": 0,
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006",
"status": "ready",
"solution": { "gRecaptchaResponse": "03AFcWeA6...", "userAgent": "Mozilla/5.0 ..." },
"cost": "0.000560"
}getBalance
POST https://gatesolver.com/getBalance
Returns your balance in US dollars.
{ "clientKey": "YOUR_API_KEY" }
{ "errorId": 0, "balance": 42.5 }Task type
Type names are case-insensitive. Fields and examples for each type are on its own page.
| type | Type | 1,000 tasks |
|---|---|---|
| ReCaptchaV2TaskProxyLess | reCAPTCHA v2 | $0.56 |
| ReCaptchaV2Task | reCAPTCHA v2 | $0.56 |
| ReCaptchaV2EnterpriseTaskProxyLess | reCAPTCHA v2 Enterprise | $0.70 |
| ReCaptchaV2EnterpriseTask | reCAPTCHA v2 Enterprise | $0.70 |
| ReCaptchaV3TaskProxyLess | reCAPTCHA v3 | $0.70 |
| ReCaptchaV3Task | reCAPTCHA v3 | $0.70 |
| ReCaptchaV3EnterpriseTaskProxyLess | reCAPTCHA v3 Enterprise | $2.10 |
| ReCaptchaV3EnterpriseTask | reCAPTCHA v3 Enterprise | $2.10 |
| AntiTurnstileTaskProxyLess | Cloudflare Turnstile | $0.84 |
| TurnstileTaskProxyless | Cloudflare Turnstile | $0.84 |
| AntiCloudflareTask | Cloudflare Challenge | $0.84 |
| AntiAwsWafTaskProxyLess | AWS WAF | $1.40 |
| AntiAwsWafTask | AWS WAF | $1.40 |
| GeeTestTaskProxyLess | GeeTest v3 / v4 | $0.84 |
| GeeTestTask | GeeTest v3 / v4 | $0.84 |
| MtCaptchaTaskProxyLess | MTCaptcha | $2.10 |
| MtCaptchaTask | MTCaptcha | $2.10 |
| DatadomeSliderTask | DataDome Slider | $1.75 |
| ImageToTextTask | Image to Text | $0.28 |
| ReCaptchaV2Classification | reCAPTCHA Image Classification | $0.28 |
| AwsWafClassification | AWS WAF Image Classification | $0.42 |
| VisionEngine | Vision Engine | $1.05 |
Error codes
On error, errorId is 1 and errorCode and errorDescription are included. Error responses are not charged.
| errorCode | Meaning |
|---|---|
| ERROR_KEY_DENIED_ACCESS | clientKey is missing or invalid. |
| ERROR_ZERO_BALANCE | Insufficient balance. Top up and try again. |
| ERROR_TASK_NOT_SUPPORTED | Unsupported task type. |
| ERROR_INVALID_TASK_DATA | A required field is missing. errorDescription contains the missing field name. |
| ERROR_TASKID_INVALID | This taskId was not created with this key or does not exist. |
| ERROR_CAPTCHA_UNSOLVABLE | Could not solve it. You were not charged. Please send it again. |
| ERROR_SERVICE_UNAVAILABLE | Network error. You were not charged. Try again shortly. |
| ERROR_RATE_LIMIT | You exceeded 600 requests per minute. Space out your requests. |
| ERROR_ACCOUNT_SUSPENDED | This account is suspended. |
in.php compatible
For in.php-style programs, just change the address. Supported methods: userrecaptcha (reCAPTCHA v2), turnstile, geetest, base64 and post (image text).
GET https://gatesolver.com/in.php?key=YOUR_API_KEY&method=userrecaptcha&googlekey=6Le...&pageurl=https://example.com
OK|61138bb6-19fb-11ec-a9c8-0242ac110006
GET https://gatesolver.com/res.php?key=YOUR_API_KEY&action=get&id=61138bb6-19fb-11ec-a9c8-0242ac110006
CAPCHA_NOT_READY
OK|03AFcWeA6...
GET https://gatesolver.com/res.php?key=YOUR_API_KEY&action=getbalance
42.50000Add json=1 to get replies shaped like {"status":1,"request":"..."}.
Examples
import requests, time
API, KEY = "https://gatesolver.com", "YOUR_API_KEY"
def solve(task, wait=3, timeout=120):
r = requests.post(f"{API}/createTask", json={"clientKey": KEY, "task": task}, timeout=30).json()
if r.get("errorId"):
raise RuntimeError(r["errorCode"])
end = time.time() + timeout
while time.time() < end:
time.sleep(wait)
res = requests.post(f"{API}/getTaskResult", json={"clientKey": KEY, "taskId": r["taskId"]}, timeout=30).json()
if res.get("errorId"):
raise RuntimeError(res["errorCode"])
if res["status"] == "ready":
return res["solution"]
raise TimeoutError("task timed out")
print(solve({"type": "ReCaptchaV2TaskProxyLess", "websiteURL": "https://example.com", "websiteKey": "6Le..."}))const API = "https://gatesolver.com", KEY = "YOUR_API_KEY";
const post = (p, b) => fetch(API + p, { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify(b) }).then((r) => r.json());
export async function solve(task, wait = 3000) {
const r = await post("/createTask", { clientKey: KEY, task });
if (r.errorId) throw new Error(r.errorCode);
for (;;) {
await new Promise((s) => setTimeout(s, wait));
const res = await post("/getTaskResult", { clientKey: KEY, taskId: r.taskId });
if (res.errorId) throw new Error(res.errorCode);
if (res.status === "ready") return res.solution;
}
}body, _ := json.Marshal(map[string]any{"clientKey": "YOUR_API_KEY", "task": map[string]any{
"type": "AntiTurnstileTaskProxyLess", "websiteURL": "https://example.com", "websiteKey": "0x4AAAAAAA..."}})
res, err := http.Post("https://gatesolver.com/createTask", "application/json", bytes.NewReader(body))$ch = curl_init("https://gatesolver.com/createTask");
curl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode(["clientKey" => "YOUR_API_KEY", "task" => [
"type" => "ReCaptchaV3TaskProxyLess", "websiteURL" => "https://example.com", "websiteKey" => "6Lc...", "pageAction" => "login"]])]);
$task = json_decode(curl_exec($ch), true);curl -X POST https://gatesolver.com/createTask -H "Content-Type: application/json" \
-d '{"clientKey":"YOUR_API_KEY","task":{"type":"ImageToTextTask","body":"iVBORw0KGgo..."}}'