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.
To solve a reCAPTCHA task with CaptchaAI, you’ll need three main parameters:
Let’s break each one down and show you how to find them.
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.
You’ll find something like this:
✅ Copy the data-sitekey value. You’ll send this to CaptchaAI.
The second parameter is straightforward — it’s just the full URL of the page where the CAPTCHA appears.
Examples:
🔁 If the CAPTCHA loads inside an iframe, make sure to grab the URL where the actual form is submitted, not the iframe src.
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.
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.
Once you have all the parameters, solving the CAPTCHA is simple.
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"))
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.
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:
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