AI4CAP.COM
$0.02 per solve

reCAPTCHA Enterprise

Enterprise-grade reCAPTCHA with advanced security features

Overview

reCAPTCHA Enterprise is Google's premium CAPTCHA solution designed for businesses requiring advanced bot detection and risk analysis. It combines the features of v2 and v3 with additional security layers and detailed analytics.

Request Parameters

ParameterTypeRequiredDescription
typestringYesMust be "recaptcha_enterprise"
websiteKeystringYesThe Enterprise site key
websiteUrlstringYesFull URL of the page
additionalData.pageActionstringNoAction parameter found in grecaptcha.execute
additionalData.isInvisiblebooleanNoFor invisible reCAPTCHA (no checkbox)
additionalData.enterprisePayloadobjectNoS parameter in grecaptcha.enterprise.render
additionalData.apiDomainstringNoDomain to load CAPTCHA: google.com or recaptcha.net
additionalData.proxyobjectNoProxy configuration

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_enterprise", "websiteKey": "6Lc3fLwUAAAAAKpuMzGGnimGiI-kJ7lfO3PtLPez", "websiteUrl": "https://enterprise.example.com", "additionalData": { "pageAction": "login", "isInvisible": true, "enterprisePayload": { "s": "SOME_ADDITIONAL_TOKEN" } } }' # Response { "success": true, "taskId": "ent456def789" } # Get result curl -X GET https://api.ai4cap.com/api/captcha/result/ent456def789 \ -H "X-API-Key: YOUR_API_KEY" # Response when solved { "errorId": 0, "status": "ready", "solution": { "gRecaptchaResponse": "03AGdBq26gJ8jc..." }, "cost": "0.020000", "solveTime": 15000 }

Response Format

{ "errorId": 0, "status": "ready", "solution": { "gRecaptchaResponse": "03AGdBq26gJ8jc..." // The token to submit }, "cost": "0.020000", "ip": "192.168.1.1", "createTime": 1640995200000, "endTime": 1640995215000, "solveCount": 1 }

Understanding pageAction Parameter

For reCAPTCHA Enterprise, the pageAction parameter works similarly to v3 and must match the action used in the website's code.

How to find the correct pageAction:

1. Open DevTools Network tab

2. Look for requests to recaptchaenterprise.googleapis.com

3. Check the request payload for the action parameter

4. Or search for grecaptcha.enterprise.execute in the source

grecaptcha.enterprise.execute('6Lc3fLwUAAAAA...', {action: 'login'}) // Use pageAction = "login" in your request

Enterprise-Specific Features

Risk Analysis: Enhanced bot detection with detailed scoring

Account Defender: Protects against account takeovers

Payment Fraud Prevention: Specialized for e-commerce sites

WAF Integration: Works with Web Application Firewalls

Custom Challenges: Can present different challenge types

Integration Tips

• Enterprise tokens may have shorter validity periods

• The enterprisePayload parameter is site-specific

• Some Enterprise implementations require specific user agents

• Monitor solve times as Enterprise CAPTCHAs can be more complex

• Consider implementing retry logic with different parameters