GeeTestv4 Task
with this POST
request you get GeeTestv4 Challenge solved.
Creating Task: /CreateTask
Section titled “Creating Task: /CreateTask”POST https://api.nocaptchaai.com/createTaskHost: api.nocaptchaai.comContent-Type: application/json
Task structure specification :
Section titled “Task structure specification :”Properties | Value | Required | Description |
---|---|---|---|
type | String | Required | GeeTestTaskProxyLess |
websiteURL | String | Required | WebPage source URL Required |
websiteKey | String | Required | WebPage Challenge Key URL Required |
Request
Section titled “Request”{ "clientKey": "YOUR_API_KEY", "task": { "type": "GeeTestTaskProxyLess", "websiteURL": "https://example.com", "captchaId": "62c528ead784206de7e6db17765b9ac0", }}
Example Response
Section titled “Example Response”{ "errorId": 0, "status": "idle", "taskId": "GTKE9T6XGM"}
Getting Result: /getTaskResult
Section titled “Getting Result: /getTaskResult”POST https://api.nocaptchaai.com/getTaskResultHost: api.nocaptchaai.comContent-Type: application/json
{ "clientKey": "YOUR_API_KEY", # your noCaptchaAi.com APIKEY "taskId": "CFTCirZWgod"}
Example Response
Section titled “Example Response”{ "errorCode": 0, "errorDescription": null, "errorId": 0, "solution": { "token": "0.WdWV79pV71mHDjQosbBnYWVXwNaQxWXJ_jIKSmhiGPe0hsoZ2yGlnlU99MQn-goG2vFqJ6kcs9aW3OgLW5mF5B8aA9EnjvYENwoQMufkvzJcP5tl8VCV1itaFuPCtz2rbZR8vdFxMyfnda7qhu_wUdtoW8OpWIV7niuslrg-OhRWG_7m8lUFOTa5tOcSBUxsr25LSZSOjk_fneYRzzNACWGTrbbqloe-j6p8aLDh857iY6FL1C-c1jEIXHm8ilBYyYKuTyLNYU-tP2fTjYSXuyofE2tdnh92asYp7c-Z_gDCiDpyQt_MRaC1OZ1mHxNT5JLkUkicxWgaz1ttnzRhgkxhk0D9JR2TE0XXZw9XYDVB-EaJk5oB82yRYEsfC6ydYLD4vCC1nBVevYtvLRmdLvqWaaDm8uJrlEK4kV8m7ELzP2v7AmXgGNAaCK_APaaLoRz6FgU8HjRNgTF2l6Uimd3xeUCOOzvSJIxKw9NP2CFYI8R8OCkbXJ2hQxeWqdBgaB_dLErZobL5Q4p7CX0qogshsjERqxgpS60lMxVAPKKT6y7p9zUgf1Ez4QvlWa3vWuBmiGDry1a_BO1xJ_X2lb-pEUU6ER8naLeyVn9OpiWc7uBmPOuK11KeHBhkYieIfFicqDkR3sXpyDVJnj7GYtTuMCvcdDV33fdQae9lFfjI_55ywsH4HFDMpNK9ANBJ7UsdkXv9XCMOK7e-X2DKM-zxV6zlL8hClGLe5vRmLk6crkhWktlPRZYnE2DeXPO8D23V-2t44dVIhqggGiqQ1WOAsQuISiw8Od85zhHmn8mdjaw-NilpwcVTTv1SoO4K.bkRehIdUGGiOqbpwGY6YOA.f405ffb4e5d100ce42a7301fd59cfb4f7f6c08aea3379b07475accd43317766d", "type": "turnstile", "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36" }, "status": "ready"}
API Testing Example Scripts
Section titled “API Testing Example Scripts”# pip install requestsimport requests, time
API_KEY = "API_KEY"SITE_KEY = "0x4XXXXXXXXXXXXXXX"SITE_URL = "https://example.com"
def solve_nocaptchaai(): session = requests.Session() task = session.post("https://api.nocaptchaai.com/createTask", json={ "clientKey": API_KEY, "task": { "type": "AntiCloudflareTask", "proxy": "123.123.0.1:0000:xxxxxx:xxxxxxxx" # your proxy "websiteURL": SITE_URL, } }).json()
task_id = task.get("taskId") if not task_id: raise Exception(f"Task creation failed: {task}")
while True: time.sleep(1) result = session.post("https://api.nocaptchaai.com/getTaskResult", json={ "clientKey": API_KEY, "taskId": task_id }).json()
if result.get("status") == "ready": return result["solution"]["token"] if result.get("status") == "failed" or result.get("errorId"): raise Exception(f"Captcha solving failed: {result}")
if __name__ == "__main__": token = solve_nocaptchaai() print("Captcha Token:", token)