Create a job (legacy path)

Legacy paths

NopeCHA's original create path. Put the captcha type in the body. Errors come with HTTP 200.

On this page
POSThttps://api.solvecha.com/

The root path from the first NopeCHA API. It exists so that older clients keep working. New code should use the /v1/recognition/... paths. On this path the captcha type is a field of the body, and errors are answered with HTTP status 200: look at the error field.

#Authorization

Send your API key as Authorization: Bearer YOUR_API_KEY. Other ways are the key field of the body and the key query parameter. See Authentication.

#Request body

JSON, or url-encoded form data. The body is limited to 4.5 MB.

Name Type Required Description
key string optional Your API key, if you do not send it in the Authorization header or the query string.
type string required The captcha type. One of recaptcha, textcaptcha, geetest, funcaptcha, funcaptcha_match.
task string optional The instruction text. See the page of the captcha type.
grid string optional reCAPTCHA only. One of 3x3, 4x4, 1x1.
image_data array of strings required Base64 pictures. See the page of the captcha type.

#Response

#200 OK

The job was created. data is the job id.

#Errors

HTTP status 200 with an error body, as in the response examples:

Code HTTP status When
10 Invalid request 200 The body is not JSON or url-encoded form data (multipart is not supported), it is larger than 4.5 MB, or a field or the number of images is wrong.
11 Rate limit reached 200 Your key is above the create requests per minute of its plan.
15 Invalid key 200 The key is missing, malformed or unknown.
16 Out of credit 200 No active plan, expired plan, or the daily quota is used up.
9 Unknown error 200 Server error. Retry after a few seconds.

All codes are on the Errors page.

#Notes

Errors look like {"error": 16, "message": "Out of credit"} with HTTP status 200.

Solvecha is an independent service. It is not affiliated with NopeCHA, 2Captcha, CapSolver, Google or CloakHQ. Their names describe compatibility or recommendations only. Figures come from our own tests, see the compare page.

    ↑↓ to moveEnter to open