Skip to content

Invisible reCAPTCHA v2

A reCAPTCHA v2 variant that runs invisibly on form actions. CaptchaAI provides a token for injection just before form submission.

Languages
Servers
https://ocr.captchaai.com/

Request

Send method=userrecaptcha, googlekey, pageurl, and invisible=1 to POST /in.php. Returns a Task ID.

Bodymultipart/form-datarequired
keystringrequired

Your API key (32 characters)

methodstringrequired
Default "userrecaptcha"
Value"userrecaptcha"
googlekeystringrequired

Site key (k or data-sitekey)

pageurlstring(uri)required

Full URL of the page with Invisible reCAPTCHA

invisibleinteger

Must be 1 for Invisible reCAPTCHA

Default 1
Enum01
domainstring
Default "google.com"
Enum"google.com""recaptcha.net"
data-sstring

Value of the data-s parameter (applicable to Google Search and some Google services).

cookiesstring

Cookies from google search. Learn More

userAgentstring

User-Agent for solver browser

proxystring

Proxy in format user:pass@ip:port or ip:port. Learn More.

proxytypestring
Enum"HTTP""HTTPS""SOCKS4""SOCKS5"
jsoninteger
Default 1
Enum01
curl -i -X POST \
  https://ocr.captchaai.com/in.php \
  -H 'Content-Type: multipart/form-data' \
  -F key=string \
  -F method=userrecaptcha \
  -F googlekey=string \
  -F pageurl=http://example.com \
  -F invisible=0 \
  -F domain=google.com \
  -F data-s=string \
  -F cookies=string \
  -F userAgent=string \
  -F proxy=string \
  -F proxytype=HTTP \
  -F json=0

Responses

Submission accepted — returns task ID

Body
statusinteger
Example: 1
requeststring
Example: "0123456789"
Response
{ "status": 1, "request": "0123456789" }

Request

Poll POST /res.php with the Task ID to get the invisible reCAPTCHA token.

Bodymultipart/form-datarequired
keystringrequired

Your API key (32 characters)

actionstringrequired
Default "get"
Value"get"
idstringrequired

Task ID from /in.php

jsoninteger
Default 1
Enum01
curl -i -X POST \
  https://ocr.captchaai.com/res.php \
  -H 'Content-Type: multipart/form-data' \
  -F key=string \
  -F action=get \
  -F id=string \
  -F json=0

Responses

Result, not-ready notice, or error code

Body
One of:
statusinteger
Value1
Example: 1
requeststring
Example: "TOKEN_OR_TEXT"
Response
{ "status": 1, "request": "TOKEN_OR_TEXT" }