API documentation
Welcome to our CAPTCHA recognition service. This document will help you quickly integrate our API.
Basic Information
- API Address:
/api/solve/{type} - Request method:POST / GET
- Return format:JSON
Integration Steps
- Obtain your API key from your secrets settings.
- Choose the appropriate CAPTCHA type and send a request to the corresponding API endpoint.
- Receive the response, extract the order ID, and retrieve the results via the query results endpoint.
- Use the recognized result to complete the verification process on the target website.
verify
All API requests must include your API key. You can obtain your API key in your secrets settings.
Request Example
Response Example
Image Captcha
It can recognize traditional image CAPTCHAs and supports multiple types such as numbers, letters, and Chinese characters.
image_text
Request parameters
| parameter | type | Required | explanation |
|---|---|---|---|
| image | string | yes | Base64 encoded image data |
| min_length | integer | no | The minimum expected length of the verification code, which defaults to 1. |
| max_length | integer | no | The maximum expected length of the verification code is 10 bytes by default. |
| tips_message | string | no | Identify prompts and provide additional clues for difficult-to-recognize CAPTCHAs. |
| case_sensitive | bool | no | Whether to distinguish between uppercase and lowercase letters; the default value is false (not case-sensitive). |
Math Captcha
Recognize mathematical expression CAPTCHAs and return the calculation result.
image-math
Request parameters
| parameter | type | Required | explanation |
|---|---|---|---|
| image | string | yes | Base64 encoded image data |
reCAPTCHA v2
Recognize Google's reCAPTCHA v2 and return the token for verification.
recaptcha_v2
Request parameters
| parameter | type | Required | explanation |
|---|---|---|---|
| url | string | yes | The full URL of target web page where the captcha is loaded. |
| site_key | string | yes | The site key of the reCAPTCHA, which can be found in the page source code. |
| is_invisible | bool | no | Whether it is an invisible reCAPTCHA; the default value is false. |
reCAPTCHA v3
Recognize Google's reCAPTCHA v3 and return the token for verification.
recaptcha_v3
Request parameters
| parameter | type | Required | explanation |
|---|---|---|---|
| url | string | yes | The full URL of target web page where the captcha is loaded. |
| site_key | string | yes | The site key of the reCAPTCHA, which can be found in the page source code. |
| min_score | float | yes | The minimum score threshold for reCAPTCHA v3, which defaults to 0.5. |
| page_action | string | no | The page action for reCAPTCHA v3, which can be used to provide additional context for the CAPTCHA. |
| is_enterprise | bool | no | Whether it is reCAPTCHA Enterprise; the default value is false. |
| load_domain | string | no | The domain to load the reCAPTCHA API from, which defaults to "www.google.com". |
GeeTest
Recognize GeeTest CAPTCHA and return the token for verification.
gee_test
Request parameters
| parameter | type | Required | explanation |
|---|---|---|---|
| url | string | yes | The full URL of target web page where the captcha is loaded. |
| gt | string | yes | The "gt" parameter for GeeTest, which can be found in the page source code. |
| challenge | string | yes | The "challenge" parameter for GeeTest, which can be found in the page source code. |
Turnstile
Recognize Cloudflare's Turnstile CAPTCHA and return the token for verification.
turnstile
Request parameters
| parameter | type | Required | explanation |
|---|---|---|---|
| url | string | yes | The full URL of target web page where the captcha is loaded. |
| site_key | string | yes | The site key of the Turnstile CAPTCHA, which can be found in the page source code. |
Click Captcha
Recognize image click CAPTCHAs and return the coordinates of the click points.
image_click
Request parameters
| parameter | type | Required | explanation |
|---|---|---|---|
| image | string | yes | Base64 encoded image data |
| tips_image | string | yes | Base64 encoded image data for tips, which can be used to provide additional clues for difficult-to-recognize CAPTCHAs. |
| tips_message | string | yes | Identify prompts and provide additional clues for difficult-to-recognize CAPTCHAs. |
Number Captcha
Recognize number CAPTCHAs and return the recognized digits.
image_number
Request parameters
| parameter | type | Required | explanation |
|---|---|---|---|
| image | string | yes | Base64 encoded image data |
| tips_message | string | yes | Identify prompts and provide additional clues for difficult-to-recognize CAPTCHAs. |
Rotate Captcha
Recognize rotate CAPTCHAs and return the correct orientation.
rotate_captcha
Request parameters
| parameter | type | Required | explanation |
|---|---|---|---|
| image | string | yes | Base64 encoded image data |
| angle | integer | no | The angle of rotation for the CAPTCHA, which can be used to provide additional context for the recognition. |
| tips_message | string | yes | Identify prompts and provide additional clues for difficult-to-recognize CAPTCHAs. |
| tips_image | string | yes | Base64 encoded image data for tips, which can be used to provide additional clues for difficult-to-recognize CAPTCHAs. |
Query Result
Query the identification results by task ID.
Request Example
Response Example
Query Balance
Check your account's current balance.
Request Example
Response Example
Error code
When an error occurs, the API will return a non-zero error code along with a message describing the error. The following table lists the common error codes and their explanations.
Response Example
| code | explanation |
|---|---|
| 400 | Incorrect request parameters |
| 401 | Unauthorized, invalid API key |
| 402 | Insufficient balance |
| 429 | Too many requests |
| 500 | Internal server error |