CoordinatesRecognition
API documentation for CoordinatesRecognition task type
Documentation in progress
Supported Providers
| Provider | Price per 1,000 |
|---|---|
| $1.20 | |
| $2.00 | |
| $1.20 |
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 captcha image to solve with click coordinates. Example: |
comment | string | Optional text instruction shown to the worker, for example click on all bicycles. Use this when the image itself does not clearly include the instruction. Example: |
imgInstructions | string | Optional base64-encoded instruction image shown together with the captcha. Use this when the challenge provides a separate instruction graphic. Example: |
minClicks | number | Minimum number of clicks expected in the answer. Example: |
maxClicks | number | Maximum number of clicks expected in the answer. Example: |
Example Request
{ "clientKey": "your-api-key-from-dashboard", "task": { "imageBase64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...", "type": "CoordinatesRecognition" }}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 |
|---|---|---|
coordinates* | object[] | List of click points returned by the provider, using x/y coordinates relative to the top-left corner of the image. Example: |
raw* | Record<string, unknown> | Raw provider response data for advanced use cases. |