Create a job
Create a reCAPTCHA job
Send a reCAPTCHA v2 image grid and get a job id. Fetch the answer with a second request.
On this page
https://api.solvecha.com/v1/recognition/recaptchaCreates a job for a reCAPTCHA image challenge. For 3x3 and 4x4 grids send one picture of the whole grid. For 1x1 (the single tiles that appear after a click) send 1 to 9 tile pictures. The answer is not in this response: fetch it with the job id.
#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. |
task |
string | required | The instruction text that the user reads, for example Select all images with buses. Send the full sentence. Up to 2,048 characters. |
grid |
string | required | The grid size of the challenge. One of 3x3, 4x4, 1x1. |
image_data |
array of strings | required | Base64 pictures without a data: prefix. One picture of the whole grid for 3x3 and 4x4. One to nine tile pictures for 1x1. In a form body use image_data[0], image_data[1] and so on. |
#Response
#200 OK
The job was created. data is the job id.
#Errors
An error has the HTTP status of its code and the body shown in the response examples:
| Code | HTTP status | When |
|---|---|---|
10 Invalid request |
400 | 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 |
429 | Your key is above the create requests per minute of its plan. |
15 Invalid key |
401 | The key is missing, malformed or unknown. |
16 Out of credit |
403 | No active plan, expired plan, or the daily quota is used up. |
9 Unknown error |
500 | Server error. Retry after a few seconds. |
All codes are on the Errors page.
#Notes
See reCAPTCHA image grids for how to read the answer, and Send feedback to tell us whether Google accepted it.
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.