AI4CAP.COM
$0.02 per solve

reCAPTCHA v3

Invisible reCAPTCHA v3 with risk analysis

Overview

reCAPTCHA v3 runs in the background without user interaction. It returns a score (0.0 to 1.0) indicating the likelihood that the user is human. This score-based approach allows you to take variable action based on the risk level.

Request Parameters

ParameterTypeRequiredDescription
typestringYesMust be "recaptcha_v3"
websiteKeystringYesThe site key for v3
websiteUrlstringYesFull URL of the page
actionstringYesThe action name (e.g., "login", "submit")
minScorenumberNoMinimum score required (0.1-0.9)
proxyobjectNoProxy configuration if required

Code Examples

# Submit CAPTCHA task curl -X POST https://api.ai4cap.com/api/captcha/solve \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "recaptcha_v3", "websiteKey": "6LdyC2cUAAAAACGuDKpXeDorzUDWXmdqeg-xy696", "websiteUrl": "https://example.com", "action": "verify", "minScore": 0.7 }' # Response { "success": true, "taskId": "xyz789abc123" } # Get result curl -X GET https://api.ai4cap.com/api/captcha/result/xyz789abc123 \ -H "X-API-Key: YOUR_API_KEY" # Response when solved { "success": true, "status": "solved", "solution": { "gRecaptchaResponse": "03AGdBq25SxXT2p...", "score": 0.9 }, "cost": 0.02, "solveTime": 7500 }

Response Format

{ "success": true, "status": "solved", "solution": { "gRecaptchaResponse": "03AGdBq25SxXT2p...", // The token to submit "score": 0.9 // The score received from Google }, "cost": 0.02, "solveTime": 7500 // Time in milliseconds }

Understanding pageAction Parameter

The pageAction parameter is crucial for reCAPTCHA v3. It must match exactly what's used in the website's JavaScript code.

How to find the correct pageAction:

1. Open the website's source code or DevTools

2. Search for grecaptcha.execute calls

3. Look for the action parameter, for example:

grecaptcha.execute('6LdyC2cUAAAAA...', {action: 'login'}) // In this case, pageAction = "login"

Common pageAction values:

login - User login forms

submit - General form submissions

homepage - Homepage interactions

checkout - E-commerce checkout

register - User registration

contact - Contact forms

verify - Verification processes

Important Notes

• The minScore parameter helps ensure you get a token with sufficient score

• The isSession parameter returns a sessionToken for advanced use cases

• Scores closer to 1.0 indicate more likely human interaction

• Scores closer to 0.0 indicate more likely bot interaction

• v3 tokens expire faster than v2 tokens (typically 1 minute)

• If pageAction is incorrect, the token will be invalid

Score Interpretation

Score RangeInterpretationRecommended Action
0.7 - 1.0Very likely humanAllow action
0.3 - 0.7UncertainAdditional verification
0.0 - 0.3Very likely botBlock or challenge