ARCaptcha
ARCaptcha is a privacy-focused captcha system that protects websites from automated actions. It offers three challenge types: Hidden Captcha, Puzzle Captcha, and Classic Captcha.
Request parameters
type<string>requiredArCaptchaTask
class<string>requiredalibaba
websiteURL<string>requiredThe address of the main page where the captcha is located.
websiteKey<string>requiredThe value of the siteKey parameter found on the page.
isInvisible<boolean>optionaltrue if the captcha is invisible, meaning it has a hidden verification field. When bot activity is suspected, additional verification is triggered.
userAgent<string>optionalBrowser User-Agent. Use the current value supported by CapMonster Cloud: userAgentPlaceholder
You can get the latest value at: https://capmonster.cloud/api/useragent/actual.
Create task method
https://api.capmonster.cloud/createTask
Request example
{
"clientKey": "API_KEY",
"task": {
"type": "ArCaptchaTask",
"class": "alibaba",
"websiteURL": "https://example.com/",
"websiteKey": "your-website-key",
"isInvisible": false,
"userAgent": "userAgentPlaceholder"
}
}
Response example
{
"errorId": 0,
"taskId": 407533072
}
Get task result method
Use the method getTaskResult to obtain the ARCaptcha solution.
https://api.capmonster.cloud/getTaskResult
Request example
{
"clientKey":"API_KEY",
"taskId": 407533072
}
Response example
{
"errorId": 0,
"cost": 0.0005,
"status": "ready",
"solution": {
"token": "892433007938919942863377479842....."
}
}
How to find the websiteKey
- Open the page with ARCaptcha.
- Open Developer Tools (F12 or right-click → Inspect).
- Go to the Network tab and reload the page.
- Look for a request to a URL containing
/api.jswith parameters. - Find the
site_keyparameter in the request URL or check the HTML for the ARCaptcha widget configuration.
Alternatively, search the page source code for site_key or sitekey in script tags or widget initialization code.
How to find the apiJsUrl
- In Developer Tools, go to the Network tab.
- Filter requests to find the ARCaptcha script (usually a file named
api.js). - Copy the full URL of this script, including all query parameters.
