Solve reCaptcha v2

Logo of Capsolver

CapSolver Blogger

How to use capsolver


Solving reCaptcha V2 with CapSolver API

If you're struggling with reCaptcha v2 and need a way to solve it, this guide is for you. We'll use the CapSolver API to solve reCaptcha v2 easily. You can either use your own proxies with ReCaptchaV2Task or use the server's built-in proxy with ReCaptchaV2TaskProxyLess.

Creating a Task

To solve reCaptcha v2, you first need to create a task using the createTask method.

Here's the structure of the task object:

  • type: Required. This should be ReCaptchaV2Task or ReCaptchaV2TaskProxyLess.
  • websiteURL: Required. This is the web address of the website using reCaptcha v2.
  • websiteKey: Required. This is the domain's public key.
  • proxy: Optional. If you're using a proxy, you can include it here.
  • isInvisible: Optional. If the reCaptcha doesn't have pageAction, set this to true.
  • userAgent: Optional. If you're emulating a browser, include its User-Agent here.
  • cookies: Optional. If you need to use cookies, include them here.

Here's an example request:

  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "ReCaptchaV2Task",
    "websiteURL": "site",
    "websiteKey": "site key",
    "isInvisible": false,
    "userAgent": "",
    "cookies": [
        "name": "__Secure-3PSID",
        "value": "sdadasdasdsda"
        "name": "__Secure-3PAPISID",
        "value": "sd/AytXQTb6RUALqxSEL"
    "proxy": ""

Once the task is successfully submitted, you'll receive a Task ID in the response:

    "errorId": 0,
    "errorCode": "",
    "errorDescription": "",
    "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"

Getting Results

Once you have the Task ID, you can use it to retrieve the solution. Submit the Task ID with the getTaskResult method. The results should be ready within an interval of 1s to 10s.

Here's an example request:

    "clientKey": "YOUR_API_KEY",
    "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"

The response will include the solution token:

    "errorId": 0,
    "errorCode": null,
    "errorDescription": null,
    "solution": {
        "userAgent": "xxx", 
        "expireTime": 1671615324290, 
        "gRecaptchaResponse": "3AHJ....." // This is the solution token
    "status": "ready"

Solve reCaptcha v2 with Python:

# Install the CapSolver SDK
# pip install --upgrade capsolver

# Set the CapSolver API key

import capsolver
# capsolver.api_key = 'YOUR_API_KEY'

# Solve a reCAPTCHA v2 challenge
solution = capsolver.solve({
    "type": "ReCaptchaV2TaskProxyLess",
    "websiteURL": "site url",
    "websiteKey": "site key",

Solve reCaptcha v2 with GO:

package main

import (
    capsolver_go ""

func main() {
    // Install the CapSolver SDK
    // go get

    // Set the CapSolver API key
    // or
    // capSolver := CapSolver{apiKey:"YOUR_API_KEY"}

    capSolver := capsolver_go.CapSolver{}
    solution, err := capSolver.Solve(map[string]any{
        "type": "ReCaptchaV2TaskProxyLess",
        "websiteURL": "",
        "websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
    if err != nil {

Please replace YOUR_API_KEY with your actual CapSolver API key, and replace the websiteURL and websiteKey with the actual website URL and website key for the reCAPTCHA challenge you are trying to solve


For information on pricing, please visit our pricing page.

More Information of how to solve reCaptcha v2

Visit this page

Capsolver Team 💜


reCAPTCHA v3 Solver
reCAPTCHA v3 Solver, Auto Recognition and Solve reCAPTCHA v3

The prevailing view is that in cybersecurity, it is vital to protect websites from infiltration by automated bots and malicious activity. However...



reCAPTCHA v2 Solver
reCAPTCHA v2 Solver, reCAPTCHA v2 Captcha Solving Service

Just as we all know, solving CAPTCHA has turned out to be an essential part of us in the web. However, solving CAPTCHA issues manually is time-consuming and frustrating...



Best reCAPTCHA v3 Captcha Solver
Best reCAPTCHA v3 Captcha Solver, auto reCAPTCHA v3 Solving Service Using API or Extension

In the realm of online security, reCAPTCHA v3 serves as a vital tool to protect websites against automated bots and malicious activities...



Best reCAPTCHA v2 Captcha Solver
Best reCAPTCHA v2 Captcha Solver, auto reCAPTCHA v2 Solving Service Using API or Extension

reCAPTCHA v2 poses a formidable challenge that necessitates an advanced solution. In this article, we unveil the epitome of captcha-solving technology: Capsolver...



Best reCAPTCHA v2/v3, Funcaptcha, Geetest Auto Solver
Captcha Solver Free, Best reCAPTCHA v2/v3, Funcaptcha, Geetest Auto Solver

Captcha solvers have become essential tools in navigating the internet, especially when faced with complex security measures like reCAPTCHA v2/v3, Funcaptcha, and Geetest...



Captcha Solving Service, the Fastest reCAPTCHA & FunCaptcha Recognition

In today's digital landscape, online security has become a top priority. Websites employ various measures to protect themselves from malicious...