RotateRecognition
API documentation for RotateRecognition task type
Documentation in progress
Supported Providers
| Provider | Price per 1,000 |
|---|---|
| $0.50 | |
| $0.50 |
Request Schema
| Field | Type | Description |
|---|---|---|
clientKey* | string | Your API key from the AnySolver dashboard. Example: |
task* | object | |
provider | Specific provider to use. If omitted, automatic routing selects the best provider. Example: | |
selectionMode | Read more at the routing strategies docs. Example: | |
keyPoolMode | Example: |
Task Object Properties
The task field accepts an object with the following properties:
| Field | Type | Description |
|---|---|---|
imageBase64* | string | Base64-encoded image that must be rotated to the correct orientation. Example: |
angle | number | Rotation step in degrees. Provider docs use 40 as the common default for FunCaptcha-style rotate challenges when no custom step is supplied. Example: |
comment | string | Optional text instruction shown to the worker, for example rotate the object upright. Example: |
imgInstructions | string | Optional base64-encoded instruction image shown together with the main captcha image. Example: |
Example Request
{ "clientKey": "your-api-key-from-dashboard", "task": { "imageBase64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...", "type": "RotateRecognition" }}Response Schema
| Field | Type | Description |
|---|---|---|
status* | Task status: "processing", "ready", or "failed". Example: | |
taskId | string | Unique identifier returned when the task was created. Example: |
errorId* | 0 = success, 1 = external error, 2 = internal error. Example: | |
errorCode | Machine-readable error code (e.g., "CAPTCHA_UNSOLVABLE"). Example: | |
errorDescription | string | Human-readable error message with resolution hints. Example: |
cost | number | Actual cost charged for this task in USD. Example: |
taskType | The type of CAPTCHA task to solve. Example: | |
provider | Specific provider to use. If omitted, automatic routing selects the best provider. Example: | |
solution | object |
Solution Object Properties
The solution field contains an object with the following properties:
| Field | Type | Description |
|---|---|---|
rotate* | number | Rotation angle returned by the provider. Positive values mean clockwise rotation and negative values mean counter-clockwise rotation. Example: |
raw* | Record<string, unknown> | Raw provider response data for advanced use cases. |