Skip to main content
Are you experiencing issues obtaining the token?
Contact support

betpunch_3x3_rotate

Attention!

Using proxy servers is not required for this task.


The request must contain nine images. The images must be provided in the following order:

Request parameters


IMPORTANT: obtain the base64 images directly before creating the task to avoid errors during solving (see section How to get base64).


type<string>required

ComplexImageTask


class<string>required

recognition


imagesBase64<array>required

Array of images encoded in base64 format.


Task (inside metadata)<string>required

Task name: betpunch_3x3_rotate

Create task method

POST
https://api.capmonster.cloud/createTask

Request

{ 
"clientKey": "API_KEY",
"task": {
"type": "ComplexImageTask",
"class": "recognition",
"imagesBase64": [
"{image_1_Base64}",
"{image_2_Base64}",
"{image_3_Base64}",
"{image_4_Base64}",
"{image_5_Base64}",
"{image_6_Base64}",
"{image_7_Base64}",
"{image_8_Base64}",
"{image_9_Base64}"
],
"metadata": {
"Task": "betpunch_3x3_rotate"
}
}
}

Response

{
"errorId":0,
"taskId":407533072
}

Get task result method

POST
https://api.capmonster.cloud/getTaskResult

Request

{
"clientKey":"API_KEY",
"taskId": 407533072
}

Response "answer":[X,X,X,X,X,X,X,X,X], where X is an integer value from 1 to 4 for each image.
4 means the image does not need rotation; 1–3 indicate how many counterclockwise rotations are required.

{
"errorId":0,
"status":"ready",
"errorCode":null,
"errorDescription":null,
"solution":
{
"answer":[4,4,4,4,4,3,1,2,2],
"metadata":{"AnswerType":"NumericArray"}
}
}

How to get Base64

Images on pages can be represented either as a URL or already encoded in Base64 format. To find the required value, right-click the captcha image, select Inspect, and carefully examine the Elements section or network requests — there you can find either the image URL or the encoded content.

  1. Open your website where the captcha is displayed in the browser.
  2. Right-click the captcha element and select Inspect.

base64ComplexImage