Captcha Solver Available

reCAPTCHA v2 Solver

Lightning-fast reCAPTCHA v2 solution, efficiently handling high concurrency.

CaptchaAI is a powerful reCAPTCHA v2 solver for developers and automation systems. Easily solve reCAPTCHA v2 challenges and bypass reCAPTCHA v2 verification in checkbox and token-based implementations with our reCAPTCHA v2 solving service, offering stable token generation and predictable scaling.

  • > 99.5% success rate
  • Thread-based subscription
  • Unlimited solving
  • Per 1,000: Custom quote
  • No per-captcha billing
reCAPTCHA v2
Product
Success Rate
Speed
Subscription
Per 1,000
How to bypass
reCAPTCHA v2
Lightning-fast reCAPTCHA v2 solution, efficiently handling high concurrency.
99.5%+
Success Rate
< 60 sec
Typical solving time
Custom plan
Unlimited solving
Custom quote
Per 1,000

How to Solve reCAPTCHA V2


CaptchaAI provides automated reCAPTCHA v2 solving through a simple API workflow.
You can solve reCAPTCHA v2 using the API or Chrome Extension.

Step 1: Locate the Site Key

Step 2: Submit the Task to CaptchaAI

Send a GET request to https://ocr.captchaai.com/in.php with the sitekey and page URL:

PYTHON
import requests

# Submit the captcha task
params = {
    'key': 'YOUR_API_KEY',
    'method': 'userrecaptcha',
    'googlekey': '6Le-wvkSVVABCPBMRTvw0Q4Muexq1bi0DJwx_mJ-',
    'pageurl': 'https://example.com/page',
    'json': '1'
}

response = requests.get('https://ocr.captchaai.com/in.php', params=params)
result = response.json()
task_id = result['request']
print(f"Task ID: {task_id}")

Step 3: Retrieve the Solution

Wait 15-20 seconds, then poll for the result using a GET request to https://ocr.captchaai.com/res.php:

PYTHON
import time

time.sleep(15)  # Wait 15 seconds

params = {
    'key': 'YOUR_API_KEY',
    'action': 'get',
    'id': task_id,
    'json': '1'
}

response = requests.get('https://ocr.captchaai.com/res.php', params=params)
result = response.json()

if result['status'] == 1:
    token = result['request']
    print(f"Solution Token: {token}")

Step 4: Inject the Token

Inject the token into the g-recaptcha-response field and submit the form:

PYTHON
# Using Selenium
from selenium import webdriver

driver = webdriver.Chrome()
driver.get('https://example.com/page')

# Inject the token
driver.execute_script(f'document.getElementById("g-recaptcha-response").innerHTML = "{token}";')

# Submit the form
driver.find_element_by_id('recaptcha-form').submit()

Developer Quick Start


Solve reCAPTCHA v2 Using CaptchaAI API

Integrate reCAPTCHA v2 solving easily using the CaptchaAI API.
Use ready-to-run examples to start automating your verification flow in minutes.

import requests
import time

API_KEY = "YOUR_API_KEY_HERE"
SITE_KEY = "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
PAGE_URL = "https://www.google.com/recaptcha/api2/demo"

# Submit captcha
response = requests.post("https://ocr.captchaai.com/in.php", data={
    'key': API_KEY,
    'method': 'userrecaptcha',
    'googlekey': SITE_KEY,
    'pageurl': PAGE_URL,
    'json': 1
})

task_id = response.json()['request']
print(f"Task ID: {task_id}")

# Wait and get result
time.sleep(20)
while True:
    result = requests.get("https://ocr.captchaai.com/res.php", params={
        'key': API_KEY,
        'action': 'get',
        'id': task_id,
        'json': 1
    }).json()
    
    if result['status'] == 1:
        print(f"Token: {result['request']}")
        break
    time.sleep(5)
const axios = require('axios');

const API_KEY = 'YOUR_API_KEY_HERE';
const SITE_KEY = '6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-';
const PAGE_URL = 'https://www.google.com/recaptcha/api2/demo';

async function solveCaptcha() {
  // Submit captcha
  const formData = new URLSearchParams({
    key: API_KEY,
    method: 'userrecaptcha',
    googlekey: SITE_KEY,
    pageurl: PAGE_URL,
    json: 1
  });
  
  const submitRes = await axios.post('https://ocr.captchaai.com/in.php', formData);
  const taskId = submitRes.data.request;
  console.log(`Task ID: ${taskId}`);
  
  // Wait and get result
  await new Promise(resolve => setTimeout(resolve, 20000));
  
  while (true) {
    const result = await axios.get('https://ocr.captchaai.com/res.php', {
      params: { key: API_KEY, action: 'get', id: taskId, json: 1 }
    });
    
    if (result.data.status === 1) {
      console.log(`Token: ${result.data.request}`);
      break;
    }
    await new Promise(resolve => setTimeout(resolve, 5000));
  }
}

solveCaptcha();
<?php

$API_KEY = 'YOUR_API_KEY_HERE';
$SITE_KEY = '6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-';
$PAGE_URL = 'https://www.google.com/recaptcha/api2/demo';

// Submit captcha
$ch = curl_init('https://ocr.captchaai.com/in.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
    'key' => $API_KEY,
    'method' => 'userrecaptcha',
    'googlekey' => $SITE_KEY,
    'pageurl' => $PAGE_URL,
    'json' => 1
]));

$response = json_decode(curl_exec($ch), true);
curl_close($ch);

$taskId = $response['request'];
echo "Task ID: $taskId\n";

// Wait and get result
sleep(20);

while (true) {
    $ch = curl_init('https://ocr.captchaai.com/res.php?' . http_build_query([
        'key' => $API_KEY,
        'action' => 'get',
        'id' => $taskId,
        'json' => 1
    ]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    $result = json_decode(curl_exec($ch), true);
    curl_close($ch);
    
    if ($result['status'] == 1) {
        echo "Token: " . $result['request'] . "\n";
        break;
    }
    sleep(5);
}

?>

FAQ

Frequently Asked Questions

You can solve reCAPTCHA v2 by submitting the sitekey and page URL to the API and retrieving a valid verification token.

Web scraping workflows can integrate automated token generation to bypass reCAPTCHA v2 challenges efficiently.

Enterprise implementations require specific configuration parameters such as enterprise mode in the API request.

Failures may occur due to incorrect sitekey, invalid parameters, or mismatch between standard and Enterprise configuration.

Need more help? Check CaptchaAI Help Center

channel avatar
CaptchaAI
online

Welcome 👋

Contact Us On Telegram!

Contact Team
Telegram