# Google reCAPTCHA V2

Examples of reCAPTCHA V2
Examples of reCAPTCHA V2

reCAPTCHA V2 Widget looks like the following:

reCAPTCHA V2 Widget
reCAPTCHA V2 Widget

If you see this widget on the webpage you wish to bypass, you are on the correct page. Keep on reading!

# Submit the CAPTCHA to NopeCHA

POST https://api.nopecha.com/token/
Parameter Type Required Description
key String Required NopeCHA subscription key.
type String Required recaptcha2
sitekey String Required reCAPTCHA data-sitekey.
url String Required URL where the reCAPTCHA is found.
enterprise Boolean Optional true if reCAPTCHA is an enterprise version.
data Dict Optional Extra parameters used to solve the challenge. See reCAPTCHA enterprise for more information.
proxy Dict Optional The proxy used to solve the challenge. See using proxies for formatting guide.
cookie Array of Dict Optional Cookies used to solve the challenge. See using cookies for formatting guide.
useragent String Optional The user-agent used to solve the challenge. A user-agent of a modern browser is required.
    'key': 'MY_NOPECHA_KEY',
    'type': 'recaptcha2',
    'sitekey': '6Ld8NA8jAAAAAPJ_ahIPVIMc0C4q58rntFkopFiA',
    'url': 'https://nopecha.com/demo/recaptcha#easy'
Retrieve solution with the data value
    'data': 'PHN2ZyB3aWR0aD0'

# Get the token from NopeCHA

GET https://api.nopecha.com/token/
Parameter Type Required Value
key String NopeCHA subscription key.
id String The value of data from POST response.
    'key': 'MY_NOPECHA_KEY',
    'id': 'PHN2ZyB3aWR0aD0'
AI has generated the token
AI has not yet generated the token
    'data': '03AEkXODDX8VLP-TmomOFDLEd33JLQDrVqb4Lb1lMeuvlCUjrYzIasAk-YQ...'
    'error': 14,
    'message': 'Incomplete job'

# Example code using client libraries

# Install the client using the following command:
# pip install --upgrade nopecha

import nopecha
nopecha.api_key = 'YOUR_API_KEY'

# Call the Token API
token = nopecha.Token.solve(

# Print the token
// Install the client using the following command:
// npm i nopecha

const { Configuration, NopeCHAApi } = require('nopecha');

const configuration = new Configuration({
    apiKey: 'YOUR_API_KEY',
const nopecha = new NopeCHAApi(configuration);

(async () => {
    // Call the Token API
    const token = await nopecha.solveToken({
        type: 'recaptcha2',
        sitekey: '6Ld8NA8jAAAAAPJ_ahIPVIMc0C4q58rntFkopFiA',
        url: 'https://nopecha.com/demo/recaptcha#easy',

    // Print the token