NeuroCaptcha

Rotate captcha

Rotate captcha: parameters, request, response and the 2Captcha method of RotateTask.

On this page

A picture that must be turned to stand upright. Send the image and get the angle in degrees in solution.rotate.

Statuscoming soon
Type codesRotateTask — without a proxy
Proxynot needed
Also accepted as—
Priceset when the type is switched on — see pricing

Parameters#

Fields of the task object in createTask:

type
stringrequired
Task type: RotateTask.
body
stringrequired
The captcha file in base64. Base64 picture (PNG, JPEG, GIF, WEBP or BMP), a data:image/…;base64, prefix is allowed; up to 600 KB decoded.
angle
integer
Angle of one rotation step in degrees (360 divided by the number of steps). Integer from 1 to 360.
comment
string
Instruction for the solver. One line of text, up to 1024 characters.
imgInstructions
string
Instruction as a picture. Base64 picture (PNG, JPEG, GIF, WEBP or BMP), a data:image/…;base64, prefix is allowed; up to 100 KB decoded.

Request#

A RotateTask task:

POST /createTask
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "RotateTask",
    "body": "iVBORw0KGgoAAAANSUhEUgAA…"
  }
}

Response#

getTaskResult once the task is solved:

getTaskResult
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "rotate": 120,
    "userAgent": ""
  },
  "cost": "0.000500",
  "ip": "198.51.100.7",
  "createTime": 1793370000,
  "endTime": 1793370012,
  "solveCount": 1
}

2Captcha in.php#

The same task through the 2Captcha API: method=rotatecaptcha, parameters → task fields:

in.phptask
bodybody
angleangle
textinstructionscomment
imginstructionsimgInstructions

res.php returns rotate of the solution as text (OK|…), or in request with json=1.