API डॉक्स
अनुरोध JSON में होते हैं और पता एक ही है (https://gatesolver.com)। अकाउंट स्क्रीन पर बनाई API key को clientKey के रूप में भेजें। टास्क बनाएँ (createTask) और कुछ सेकंड बाद नतीजा पाएँ (getTaskResult)।
- बेस पता
- https://gatesolver.com
- ऑथेंटिकेशन
- बॉडी में clientKey
- अनुरोध सीमा
- प्रति key 1 मिनट में 600
- फ़ॉर्मैट
- JSON (POST)
शुरू करें
- साइन अप करें और बैलेंस टॉप-अप करें।
- अकाउंट स्क्रीन के API key मेन्यू से key बनाएँ। key सिर्फ़ बनाते समय एक बार दिखती है।
- createTask से टास्क बनाएँ और मिले taskId से हर कुछ सेकंड में getTaskResult कॉल करें।
- status के ready होने पर solution को पेज में डालें।
createTask फॉर्मेट के लिए बने क्लाइंट सिर्फ़ API पता बदलकर वैसे ही इस्तेमाल करें। नया पता: https://gatesolver.com
createTask
POST https://gatesolver.com/createTask
टास्क बनाता है और taskId लौटाता है। इस समय पैसे नहीं कटते।
| फ़ील्ड | फ़ॉर्मैट | ज़रूरी | विवरण |
|---|---|---|---|
| clientKey | string | हाँ | API key |
| task | object | हाँ | टास्क का विवरण। type और प्रकार के अनुसार फ़ील्ड (नीचे टास्क type टेबल और प्रकार वाले पेज देखें) |
| callbackUrl | string | नहीं | समर्थित नहीं। नतीजा getTaskResult से पाएँ। |
अनुरोध
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "ReCaptchaV2TaskProxyLess",
"websiteURL": "https://www.google.com/recaptcha/api2/demo",
"websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
}
}जवाब
{ "errorId": 0, "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006" }getTaskResult
POST https://gatesolver.com/getTaskResult
टास्क का नतीजा लौटाता है। टोकन वाले प्रकारों के लिए 3 सेकंड और इमेज पहचान के लिए 1 सेकंड के अंतर पर पूछना बेहतर है। जवाब मिलते ही 1 टास्क की कीमत बैलेंस से कटती है।
| फ़ील्ड | विवरण |
|---|---|
| status | processing (इंतज़ार), ready (जवाब तैयार), failed (असफल, पैसे नहीं कटे) |
| solution | जवाब। प्रकार के अनुसार फ़ील्ड अलग होते हैं (gRecaptchaResponse, token, cookie, text आदि) |
| cost | इस टास्क के लिए कटी राशि (डॉलर) |
| createTime / endTime | बनने और पूरा होने का समय (मिलीसेकंड) |
{
"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
बैलेंस डॉलर में लौटाता है।
{ "clientKey": "YOUR_API_KEY" }
{ "errorId": 0, "balance": 42.5 }टास्क type
type नाम में बड़े/छोटे अक्षर से फ़र्क नहीं पड़ता। हर प्रकार के फ़ील्ड और उदाहरण उसके पेज पर हैं।
| type | प्रकार | 1,000 टास्क |
|---|---|---|
| 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 |
एरर कोड
त्रुटि होने पर errorId 1 होता है और साथ में errorCode व errorDescription आते हैं। त्रुटि वाले जवाब पर पैसे नहीं कटते।
| errorCode | मतलब |
|---|---|
| ERROR_KEY_DENIED_ACCESS | clientKey नहीं है या गलत है। |
| ERROR_ZERO_BALANCE | बैलेंस कम है। टॉप-अप करके फिर अनुरोध करें। |
| ERROR_TASK_NOT_SUPPORTED | यह टास्क type समर्थित नहीं है। |
| ERROR_INVALID_TASK_DATA | एक ज़रूरी फ़ील्ड छूट गया है। छूटे फ़ील्ड का नाम errorDescription में है। |
| ERROR_TASKID_INVALID | यह taskId इस key से नहीं बना है या मौजूद नहीं है। |
| ERROR_CAPTCHA_UNSOLVABLE | हल नहीं हो सका। पैसे नहीं कटे। फिर से अनुरोध करें। |
| ERROR_SERVICE_UNAVAILABLE | नेटवर्क त्रुटि हुई। पैसे नहीं कटे। थोड़ी देर बाद फिर अनुरोध करें। |
| ERROR_RATE_LIMIT | 1 मिनट में 600 अनुरोध की सीमा पार हो गई। अनुरोधों के बीच का अंतर बढ़ाएँ। |
| ERROR_ACCOUNT_SUSPENDED | अकाउंट निलंबित है। |
in.php संगत
in.php स्टाइल के प्रोग्राम में सिर्फ़ पता बदलना होता है। समर्थित methods: userrecaptcha (reCAPTCHA v2), turnstile, geetest, base64 और post (इमेज टेक्स्ट)।
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.50000json=1 जोड़ने पर {"status":1,"request":"..."} रूप में जवाब देता है।
उदाहरण
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..."}}'