reCAPTCHA v2 Enterprise solver API
API health
- 24h health
- Normal
- Healthy / normal
- Available
Last 24 hours
Last 30 days
EverySolve's reCAPTCHA v2 Enterprise API returns a token for your challenge workflow.reCAPTCHA v2 Enterprise is a checkbox or policy-driven Enterprise key loaded through enterprise.js and grecaptcha.enterprise. It still returns gRecaptchaResponse, but Enterprise identifiers and payloads must not be mixed with classic v2 api.js values or score-based v3 keys.
Send POST https://api.everyinfra.com/api/v1/captcha with type set to recaptcha_v2_enterprise. Put the parameters in the request body, at the same level as type. $1.53 per 1,000 successful solutions ($0.001528 per successful solve). Failed calls and empty results are not charged.
AI prompt
#Help me write a script that calls the EveryInfra "reCAPTCHA v2 Enterprise" API.
API contract:
- Request: POST https://api.everyinfra.com/api/v1/captcha with the header Authorization: Bearer <API Key>. Read the key from the EVERYINFRA_API_KEY environment variable; do not put it in the code.
- In the request body, set type to recaptcha_v2_enterprise and put the parameters next to it at the same level.
- Required parameters:
- website_url: The exact page where this challenge appears, including the relevant path rather than only the site home page.
- website_key: The public site or widget key copied from this exact target integration; it is not a secret key.
- Optional parameters:
- enterprise_payload: Enterprise-specific page data supplied by the target reCAPTCHA integration, when present.
- page_action: The action string used by the target reCAPTCHA execution; preserve its exact case and spelling.
- invisible: Whether the target widget uses its invisible mode; do not infer it from the absence of an image alone.
- api_domain: The API hostname used by the target widget when it differs from the standard domain. (allowed values: www.google.com / www.recaptcha.net)
- Example request body:
{
"type": "recaptcha_v2_enterprise",
"website_url": "<website_url>",
"website_key": "<website_key>"
}
- Billing: $1.53 per 1,000 successful solutions ($0.001528 per successful solve). Failed calls and empty results are not charged.
- On 422, fix the parameters using the suggestions and allowed values in the error. On 429 or 503, wait for Retry-After and try again.
Before writing code, ask me how many items I need to process and what format to save the results in, then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
type | body | string | Yes | recaptcha_v2_enterprise | CAPTCHA type, fixed value. |
website_url | body | string | Yes | - | The exact page where this challenge appears, including the relevant path rather than only the site home page. |
website_key | body | string | Yes | - | The public site or widget key copied from this exact target integration; it is not a secret key. |
enterprise_payload | body | object | No | - | Enterprise-specific page data supplied by the target reCAPTCHA integration, when present. |
page_action | body | string | No | - | The action string used by the target reCAPTCHA execution; preserve its exact case and spelling. |
invisible | body | boolean | No | - | Whether the target widget uses its invisible mode; do not infer it from the absence of an image alone. |
api_domain | body | string (enum) | No | - | The API hostname used by the target widget when it differs from the standard domain.Allowed valueswww.google.comwww.recaptcha.net |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/captcha' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"type": "recaptcha_v2_enterprise",
"website_url": "<website_url>",
"website_key": "<website_key>"
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "type": "recaptcha_v2_enterprise", "solution": { "gRecaptchaResponse": "…" }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Where the reCAPTCHA v2 Enterprise parameters come from
#Copy the Enterprise key from data-sitekey or grecaptcha.enterprise.render; preserve page_action and enterprise_payload only when the target integration supplies them.
Code to find these values on the page
grecaptcha.enterprise.render('html_element', { 'sitekey': '<sitekey>', 'action': 'LOGIN', 'theme': 'light', 'callback': verifyCallback });
How to recognize reCAPTCHA v2 Enterprise
#reCAPTCHA v2 Enterprise is a checkbox or policy-driven Enterprise key loaded through enterprise.js and grecaptcha.enterprise.
What makes reCAPTCHA v2 Enterprise different
It still returns gRecaptchaResponse, but Enterprise identifiers and payloads must not be mixed with classic v2 api.js values or score-based v3 keys.
How to use the reCAPTCHA v2 Enterprise API
#The reCAPTCHA v2 Enterprise API returns a token in gRecaptchaResponse. Its solution format is token. Submit the token in the field or verification request expected by the target workflow.
- 01Read GET /api/v1/captcha/types and select the
recaptcha_v2_enterpriseentry. - 02Send
type: "recaptcha_v2_enterprise"and the required parameters to POST /api/v1/captcha. - 03Read a token from
gRecaptchaResponse. - 04Submit the token in the field or verification request expected by the target workflow.
Billing and availability EverySolve charges only when a solution is delivered successfully. An unsuccessful attempt is not charged, and any held amount goes back to your balance automatically. Read available and the price fields from GET /api/v1/captcha/types at request time rather than treating them as static page content.
reCAPTCHA v2 Enterprise integration questions
#How can I identify reCAPTCHA v2 Enterprise before choosing a type?
reCAPTCHA v2 Enterprise is a checkbox or policy-driven Enterprise key loaded through enterprise.js and grecaptcha.enterprise. Use recaptcha_v2_enterprise only after those signals match the target challenge.
Which target-page values belong in reCAPTCHA v2 Enterprise requests?
Copy the Enterprise key from data-sitekey or grecaptcha.enterprise.render; preserve page_action and enterprise_payload only when the target integration supplies them. Provide website_url and website_key. Optional parameters are enterprise_payload, page_action, invisible, and api_domain.
What does reCAPTCHA v2 Enterprise return, and what is easy to confuse it with?
The reCAPTCHA v2 Enterprise API returns a token in gRecaptchaResponse. Its solution format is token. It still returns gRecaptchaResponse, but Enterprise identifiers and payloads must not be mixed with classic v2 api.js values or score-based v3 keys.
Which external source explains the reCAPTCHA v2 Enterprise integration?
Google Cloud documents Enterprise checkbox keys, data-sitekey, data-action, and grecaptcha.enterprise.render. [Open the reCAPTCHA v2 Enterprise reference](https://docs.cloud.google.com/recaptcha/docs/instrument-web-pages-with-checkbox). EverySolve-specific fields and live availability still come from the type catalog.
Reference for reCAPTCHA v2 Enterprise
#Related CAPTCHA types
#- reCAPTCHA image grid
recaptcha_grid$0.69 per 1,000 successful solutions - reCAPTCHA v2
recaptcha_v2$1.11 per 1,000 successful solutions - reCAPTCHA v3
recaptcha_v3$1.39 per 1,000 successful solutions - reCAPTCHA v3 Enterprise
recaptcha_v3_enterprise$3.06 per 1,000 successful solutions - CaptchaFox
captchafox$1.53 per 1,000 successful solutions - Friendly Captcha
friendly_captcha$2.22 per 1,000 successful solutions
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.