Token Recaptcha2 API
POSThttps://api.acedata.cloud/captcha/token/recaptcha2

Google reCAPTCHA v2 auto-verification API, submit Website Key for automatic verification.

Request Headers

acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token

Request Body

website_keystringRequired parameter
The site key identifier registered in reCAPTCHA for the target website.
website_urlstringRequired parameter
The target webpage URL containing the reCAPTCHA control.
asyncboolean
When true, return immediately with a task_id instead of blocking until the captcha is solved. Poll POST /captcha/tasks with that task_id to retrieve the result. Billing occurs once, only on a solved result.
proxystring
Optional, Bring Your Own Proxy. After setting, the upstream will use the proxy IP you provide to solve the captcha, in order to control the quality of the exit IP (for example, to avoid returning 410 Gone due to public proxy IP being blocked by the target site). The format is scheme://[user:pass@]host:port, where the scheme supports http/https/socks4/socks5, for example http://user:pass@1.2.3.4:8080. If not filled, the platform's default proxy will be used.

Response

Integration guide

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.

Recaptcha verification code recognition service
Allow Use General Balance

When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.