#
reCAPTCHA
Google's reCAPTCHA v3, including Enterprise version.
#
reCAPTCHA v3
Invisible captcha that returns a score (0.0 - 1.0).
#
Task Types
#
Parameters
#
Finding the Action
Search page source for grecaptcha.execute or action:
grecaptcha.execute('site-key', {action: 'login'})
#
Example
import requests
response = requests.post("https://v1.captchasolv.com/solve", json={
"clientKey": "YOUR_API_KEY",
"task": {
"type": "RecaptchaV3TaskProxyless",
"websiteURL": "https://example.com",
"websiteKey": "6Le-xxxxx",
"pageAction": "login"
}
}, timeout=130)
token = response.json()["solution"]["token"]
const response = await axios.post('https://v1.captchasolv.com/solve', {
clientKey: 'YOUR_API_KEY',
task: {
type: 'RecaptchaV3TaskProxyless',
websiteURL: 'https://example.com',
websiteKey: '6Le-xxxxx',
pageAction: 'login'
}
}, { timeout: 130000 });
const token = response.data.solution.token;
#
reCAPTCHA v3 Enterprise
Enterprise version of v3 with enhanced verification.
#
Task Types
#
Example
import requests
response = requests.post("https://v1.captchasolv.com/solve", json={
"clientKey": "YOUR_API_KEY",
"task": {
"type": "RecaptchaV3EnterpriseTaskProxyless",
"websiteURL": "https://example.com",
"websiteKey": "6Le-xxxxx",
"pageAction": "submit"
}
}, timeout=130)
token = response.json()["solution"]["token"]
const response = await axios.post('https://v1.captchasolv.com/solve', {
clientKey: 'YOUR_API_KEY',
task: {
type: 'RecaptchaV3EnterpriseTaskProxyless',
websiteURL: 'https://example.com',
websiteKey: '6Le-xxxxx',
pageAction: 'submit'
}
}, { timeout: 130000 });
const token = response.data.solution.token;
#
Using the Token
After receiving the token, submit it in the g-recaptcha-response field:
import requests
# Get captcha token
captcha_token = solve_recaptcha(url, site_key)
# Submit form with token
response = requests.post("https://example.com/login", data={
"username": "user",
"password": "pass",
"g-recaptcha-response": captcha_token
})
// If using browser automation
document.getElementById('g-recaptcha-response').value = captchaToken;
document.querySelector('form').submit();
#
Tips
- Use correct action - For v3, the action must match what the site expects
- Check for Enterprise - Enterprise versions have different keys
- Token expiry - Tokens expire in ~2 minutes, use them quickly
- Invisible v2 - Some sites use invisible v2, treat it same as v2