QuestionRecognition
API documentation for QuestionRecognition task type
Optional fields are not guaranteed across providers
Supported Providers
| Provider | Price per 1,000 | Routing |
|---|---|---|
| $0.50 - $1.00 | Not picked | |
| $0.35 | Auto CheapestAuto FastestAuto Most Reliable |
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
clientKey* | string | Yes | Your API key from the AnySolver dashboard. Example: |
task* | object | Yes | |
provider | No | Specific provider to use. If omitted, automatic routing selects the best provider. Example: | |
selectionMode | No | Read more at the routing strategies docs. Example: | |
keyPoolMode | No | Example: |
Task Object Properties
The task field accepts an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
type* | Yes | ||
question* | string | Yes | Text captcha question that should be answered by a human, for example If tomorrow is Saturday, what day is today?. Example: |
languagePool | string | No | Optional language pool hint used by providers that route text captchas to workers based on language. Common values are en or rn depending on provider-specific conventions. Example: |
Example Request
{ "clientKey": "your-api-key-from-dashboard", "task": { "type": "QuestionRecognition", "question": "If tomorrow is Saturday, what day is today?" }}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 (e.g., "CAPTCHA_UNSOLVABLE"). 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 |
|---|---|---|---|
text* | string | Yes | Plain-text answer returned by the provider for the submitted question. Example: |
raw* | Record<string, unknown> | Yes | Raw provider response data for advanced use cases. |