Skip to main content
POST
Create an hCaptcha solving task and save its taskId so you can retrieve its status and solution with Get Task. The task price is charged from your credits when the task is created. Failed tasks are refunded automatically.

Headers

string
required
Your Captcha API key.
string
Use a unique value for each task. Retrying with the same key and the same body returns the existing task instead of creating and charging for another one.

Body

string
required
The CAPTCHA type. Only hcaptcha is supported.
string
required
The full http:// or https:// URL of the page showing the CAPTCHA.
string
required
The hCaptcha sitekey of the target page.
string
required
The proxy to solve through, such as http://user:pass@host:port.
string
The challenge’s rqdata value, when the target uses it.

Response

boolean
true when the task was created.
number
HTTP status code of the response.
string
Result message.
object
boolean
true when an existing task was returned for a repeated Idempotency-Key. The response status is then 200.

Errors

Every error returns success: false with a code, an errorCode, and a message.