Skip to main content
Are you experiencing issues obtaining the token?
Contact support

ARCaptcha

CapMonster Cloud MCP
CapMonster Cloud MCP can also be used to detect and solve CAPTCHA

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>required

ArCaptchaTask


class<string>required

alibaba


websiteURL<string>required

The address of the main page where the captcha is located.


websiteKey<string>required

The value of the siteKey parameter found on the page.


isInvisible<boolean>optional

true if the captcha is invisible, meaning it has a hidden verification field. When bot activity is suspected, additional verification is triggered.


userAgent<string>optional

Browser 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​

POST
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.

POST
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​

  1. Open the page with ARCaptcha.
  2. Open Developer Tools (F12 or right-click → Inspect).
  3. Go to the Network tab and reload the page.
  4. Look for a request to a URL containing /api.js with parameters.
  5. Find the site_key parameter 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​

  1. In Developer Tools, go to the Network tab.
  2. Filter requests to find the ARCaptcha script (usually a file named api.js).
  3. Copy the full URL of this script, including all query parameters.