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.

Examples of tasks​

Below are examples of ARCaptcha task types:

Example of an ARCaptcha puzzle: “Slide to complete the puzzle” with a slider handle to drag so that a puzzle piece fits its gap in the background, “Powered by ARCaptcha”.
Puzzle Captcha
Example of an ARCaptcha classic image captcha: “Please click each image containing a backpack” over a 3x3 grid of noisy pictures, with a “Confirm” button.
Classic Captcha

Request parameters​

type<string>required

ArCaptchaTask


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",
"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.

Use the SDK library​

Show code
# https://github.com/CapMonsterCloud/capmonster-python-captcha-solver

import asyncio

from capmonstercloudclient import CapMonsterClient, ClientOptions
from capmonstercloudclient.requests import ArCaptchaRequest

API_KEY = "YOUR_API_KEY" # Specify your CapMonster Cloud API key


async def solve_arcaptcha():
client = CapMonsterClient(
options=ClientOptions(api_key=API_KEY)
)

arcaptcha_request = ArCaptchaRequest(
websiteUrl="https://yourwebsite.com/page-with-arcaptcha",
websiteKey="your-website-key",
isInvisible=False,
userAgent="userAgentPlaceholder",
)

# You can check your balance if necessary
balance = await client.get_balance()
print("Balance:", balance)

result = await client.solve_captcha(arcaptcha_request)
print("Solution:", result)


asyncio.run(solve_arcaptcha())