Beta Token Recaptcha3 API
https://api.yxai-tech.top/captcha/token/recaptcha3
Google reCAPTCHA v3 自动验证 API,提交 Website Key 即可自动完成验证。
请求头
acceptstring
指定服务器返回的响应格式。
请选择
authorizationstring
Bearer token
请求体
page_actionstring必填参数
目标网站配置的 reCAPTCHA v3 动作名称,必须与目标页面使用的值完全一致,否则识别结果将无效。
website_keystring必填参数
目标网站在 reCAPTCHA 中配置的站点密钥(Site Key)标识符。
website_urlstring必填参数
需要识别 reCAPTCHA 的目标网站 URL。
asyncboolean
When true, the server creates a managed asynchronous task and returns HTTP 201 with task_id and trace_id. The server continues processing even if the client disconnects or never polls. POST /captcha/tasks is an optional status query that does not drive task processing; the first ready-result read keeps the existing one-time settlement behavior. A successful task is charged once when the client first retrieves the ready result, matching the existing behavior; a task that is not ready by the 120-second deadline ends as HTTP 504 timeout and is not charged.
响应

集成指南
温馨提示:对于流式请求,上面的代码可能不完全适用。请参阅对接文档以进行更改。
Recaptcha 验证码识别服务
允许用通用余额
启用「允许通用余额」后,专属余额不足将自动使用通用余额。

