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.
Examples of tasks
Below are examples of ARCaptcha task types:


Request parameters
type<string>requiredArCaptchaTask
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",
"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.
Use the SDK library
- Python
- C#
- Rust
- Go
- PHP
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())
Show code
// https://github.com/CapMonsterCloud/capmonster-dotnet-captcha-solver
using System;
using System.Threading.Tasks;
using Zennolab.CapMonsterCloud;
using Zennolab.CapMonsterCloud.Requests;
class Program
{
static async Task Main(string[] args)
{
// Specify your CapMonster Cloud API key
var clientOptions = new ClientOptions
{
ClientKey = "YOUR_API_KEY"
};
var cmCloudClient = CapMonsterCloudClientFactory.Create(clientOptions);
var arcaptchaRequest = new ArCaptchaTaskRequest
{
WebsiteUrl = "https://yourwebsite.com/page-with-arcaptcha",
WebsiteKey = "your-website-key",
IsInvisible = false,
UserAgent = "userAgentPlaceholder"
};
// You can check your balance if necessary
var balance = await cmCloudClient.GetBalanceAsync();
Console.WriteLine("Balance: " + balance);
var arcaptchaResult = await cmCloudClient.SolveAsync(arcaptchaRequest);
Console.WriteLine("Solution: " + arcaptchaResult.Solution.Value);
}
}
Show code
For Rust, use the official SDK: crates.io and Github.
// https://github.com/CapMonsterCloud/capmonster-rust-captcha-solver
use capmonstercloud_client::requests::{ArCaptchaRequest};
use capmonstercloud_client::{CapMonsterClient, ClientOptions};
#[tokio::main]
async fn main() -> capmonstercloud_client::Result<()> {
// Set your CapMonster Cloud API key
let client = CapMonsterClient::new(ClientOptions::new("YOUR_API_KEY"))?;
let request = ArCaptchaRequest::new(
"https://yourwebsite.com/page-with-arcaptcha",
"your-website-key",
)
.with_is_invisible(false)
.with_user_agent("userAgentPlaceholder");
let solution = client.solve_captcha(&request).await?;
println!("Solution: {solution}");
Ok(())
}
Show code
For Go, use the official SDK: Github.
// https://github.com/CapMonsterCloud/capmonster-go-captcha-solver
package main
import (
"context"
"fmt"
"log"
capmonster "github.com/CapMonsterCloud/capmonster-go-captcha-solver/v2"
)
func main() {
ctx := context.Background()
// Specify your CapMonster Cloud API key
client := capmonster.New("YOUR_API_KEY")
// You can check your balance if necessary
balance, err := client.GetBalance(ctx)
if err != nil {
log.Fatal(err)
}
fmt.Printf("Balance: %.4f USD\n", balance)
request := capmonster.ArCaptchaRequest{
WebsiteURL: "https://yourwebsite.com/page-with-arcaptcha",
WebsiteKey: "your-website-key",
IsInvisible: capmonster.Bool(false),
UserAgent: "userAgentPlaceholder",
}
solution, err := client.Solve(ctx, request)
if err != nil {
log.Fatal(err)
}
fmt.Println("Solution:", string(solution))
}
Show code
For PHP, use the official SDK: Github. It requires PHP 8.1+ with the curl and json extensions. Install it with Composer: composer require capmonstercloud/capmonster-client.
<?php
// https://github.com/CapMonsterCloud/capmonster-php-captcha-solver
require 'vendor/autoload.php';
use CapMonsterCloud\CapMonsterClient;
use CapMonsterCloud\ClientOptions;
use CapMonsterCloud\Requests\ArCaptchaRequest;
// Specify your CapMonster Cloud API key
$client = new CapMonsterClient(new ClientOptions('YOUR_API_KEY'));
$request = new ArCaptchaRequest(
'https://yourwebsite.com/page-with-arcaptcha',
'your-website-key',
isInvisible: false,
userAgent: 'userAgentPlaceholder',
);
$solution = $client->solve($request);
print_r($solution);
