CoordinatesRecognition
API documentation for CoordinatesRecognition task type
Supported Providers
| Provider | Price per 1,000 | Routing |
|---|---|---|
| $1.20 | ||
| $2.00 | ||
| $1.20 |
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
clientKey* | string | Yes | Your API key. Create one in the AnySolver dashboard. Example: |
task* | object | Yes | The task body. Required fields depend on the task type. See Tasks for per-task schemas. View task properties |
settings | object | No | Per-request settings for routing, auto retry, auto fallback, and proxy behavior. See Routing Strategies. |
provider | No | Specific provider to use. If omitted, automatic routing selects the best provider. Example: | |
selectionMode | No | Routing strategy for this request. Overrides the API key default. See Routing Strategies. Example: | |
keyPoolMode | No | Which provider key pool to use: Example: |
Task Object Properties
The task field accepts an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
type* | Yes | ||
imageBase64* | unknown | Yes | Base64-encoded captcha image to solve with click coordinates. Example: |
comment | string | No | 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 | No | Optional base64-encoded instruction image shown together with the captcha. Use this when the challenge provides a separate instruction graphic. Example: |
minClicks | number | No | Minimum number of clicks expected in the answer. Example: |
maxClicks | number | No | Maximum number of clicks expected in the answer. Example: |
{ "clientKey": "your-api-key-from-dashboard", "task": { "type": "CoordinatesRecognition", "imageBase64": "iVBORw0KGgoAAAANSUhEUgAA..." }}Optional fields are not guaranteed across providers
Response Schema
| Field | Type | Required | Description |
|---|---|---|---|
status* | Yes | Task status: "processing", "ready", or "failed". Example: | |
errorId* | Yes | 0 = success, 1 = external error, 2 = internal error. Example: | |
taskId | string | No | Unique identifier returned when the task was created. Example: |
errorCode | No | Machine-readable error code. Example: | |
errorDescription | string | No | Human-readable error message with resolution hints. Example: |
cost | number | No | Actual cost charged for this task in USD. Example: |
taskType | No | The type of CAPTCHA task to solve. Example: | |
provider | No | Specific provider to use. If omitted, automatic routing selects the best provider. Example: | |
solution | object | No |
Solution Object Properties
The solution field contains an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
coordinates* | object[] | Yes | 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> | Yes | Raw provider response data for advanced use cases. |