Skip to main content
POST
Creates an hCaptcha solving task and returns its taskId. Use Get Task to retrieve the token once it is solved. 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
Unique string per task. Retrying with the same key and the same body returns the existing task instead of creating and charging a new 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
Proxy to solve through, e.g. http://user:pass@host:port.
string
The rqdata value of the challenge, if 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. In that case the status is 200.

Errors

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