channel avatar
CaptchaAI
online

Welcome 👋

Contact Us On Telegram!

Contact Team
Telegram
CaptchaAI

How to Find the Parameters Needed to Solve reCAPTCHA with CaptchaAI

June 15, 2025


Solving reCAPTCHA with CaptchaAI requires a few key parameters—this guide shows you exactly how to find them. Learn to identify sitekeys, page URLs, and other essentials for seamless integration with CaptchaAI’s API.

 

If you're building bots, automation flows, or just trying to test form submissions protected by reCAPTCHA, you've probably realized this: knowing how to solve a reCAPTCHA isn’t enough — you also need to know what to send to the CAPTCHA-solving API.

That’s where this post comes in. We’re going to walk through the 3 key parameters required to solve reCAPTCHA v2 or v3 challenges using CaptchaAI, and more importantly — how to find them on any site.

Whether you're automating a login flow, signup page, or any form using reCAPTCHA, this guide will save you time and frustration.

 

🔍 What You Need to Solve reCAPTCHA

To solve a reCAPTCHA task with CaptchaAI, you’ll need three main parameters:

  1. Sitekey – The public key that tells Google to show a CAPTCHA
     
  2. Page URL – The full URL of the page where the CAPTCHA appears
     
  3. Action (optional for v3) – The "action name" if you're solving reCAPTCHA v3
     

Let’s break each one down and show you how to find them.

 

🔑 1. Finding the Sitekey

The sitekey is the public identifier used by reCAPTCHA to display challenges. Every website that uses reCAPTCHA has one — and it’s usually easy to find.

🔧 How to Find It

  1. Go to the page where the CAPTCHA is shown
     
  2. Open Developer Tools in your browser (right-click > Inspect or Ctrl+Shift+I)
     
  3. Search for data-sitekey
     

You’ll find something like this:

 

✅ Copy the data-sitekey value. You’ll send this to CaptchaAI.

 

🌐 2. Grabbing the Page URL

The second parameter is straightforward — it’s just the full URL of the page where the CAPTCHA appears.

Examples:

  • https://example.com/login
     
  • https://signup.example.com/register
     

🔁 If the CAPTCHA loads inside an iframe, make sure to grab the URL where the actual form is submitted, not the iframe src.

🧭 3. Finding the Action Parameter (Only for reCAPTCHA v3)

For reCAPTCHA v3, there’s an optional — but important — parameter called action. This is usually defined in the website’s JavaScript when reCAPTCHA is initialized.

🔍 How to Find the Action

  1. In DevTools, search for grecaptcha.execute
     
  2. You’ll likely find a line like:

grecaptcha.execute('6Lc_example_key', { action: 'login' })

 

✔️ That string 'login' is your action value.

If you're unsure, try defaulting to "homepage" — many sites use it.


 

🚀 Putting It All Together with CaptchaAI

Once you have all the parameters, solving the CAPTCHA is simple.

🧪 Example API Call (reCAPTCHA v2 / Invisible):

 

import requests

payload = {

    "apikey": "your_captchaai_api_key",

    "sitekey": "6Lc_example_key",

    "pageurl": "https://example.com/login"}

response = requests.post("https://captchaai.com/api/solve", json=payload)

print("Token:", response.json().get("solution"))

 

🧪 Example API Call (reCAPTCHA v3):

payload = {

    "apikey": "your_captchaai_api_key",

    "sitekey": "6Lc_example_key",

    "pageurl": "https://example.com/login",

    "action": "login"}

CaptchaAI will return a valid reCAPTCHA token, which you can inject into the form (usually in a hidden input field named g-recaptcha-response) before submitting it.

 

🧠 Pro Tips

  • Always double-check that the sitekey matches the current URL.
     
  • The token you get usually expires in 90–120 seconds — submit your form quickly.
     
  • If the site uses a proxy iframe, open that URL separately and inspect it too.

🛡️ Legal & Ethical Reminder

Bypassing CAPTCHAs is a powerful tool — but use it responsibly. Make sure your automation respects the terms of service of any website you're working with.

CaptchaAI is best used for:

  • QA testing
     
  • Form submission automation
     
  • Bot development for ethical scraping
     
  • UX flow automation

✅ Conclusion

Solving reCAPTCHA with CaptchaAI is only difficult if you don’t know what to look for. But now you do.

With just three parameters — sitekey, page URL, and optional action — you can integrate powerful CAPTCHA-solving directly into your automation stack.

🔗 Start solving CAPTCHAs today with CaptchaAI: https://captchaai.co