Appearance
Quickstart
bash
curl -X POST https://api.captchaai.com/createTask \
-H 'Content-Type: application/json' \
-d '{
"clientKey": "cai_YOUR_KEY",
"task": {
"type": "RecaptchaV2TaskProxyless",
"websiteURL": "https://example.com",
"websiteKey": "6Lc..."
}
}'Response:
json
{ "errorId": 0, "status": "processing", "taskId": "tsk_0190a1b2-c3d4-7abc" }Task ids are a tsk_ prefix plus 18 characters of a UUIDv7.
Poll getTaskResult until status is ready (5 s interval, max 120 polls).
That example solves a reCAPTCHA v2. For the request payload and solution shape of every supported CAPTCHA — image, reCAPTCHA, hCaptcha, Turnstile, Cloudflare, GeeTest, FunCaptcha, and BLS — see Task types.
See authentication for how to mint and rotate keys.