Beta Recognition hCaptcha API
POSThttps://api.acedata.cloud/captcha/recognition/hcaptcha

hCaptcha image recognition API, returns coordinates of images to click.

Request Headers

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

Request Body

queriesarray
A list of Base64 encoded verification code images, with the nine small images in hCaptcha encoded and passed in as an array.
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.
questionstring
The problem identifier for the CAPTCHA challenge, please fill in according to the corresponding table, supporting both Chinese and English; other languages should be converted first.

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.

hCaptcha 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.