QuestionRecognition
API documentation for QuestionRecognition task type
Documentation in progress
Supported Providers
| Provider | Price per 1,000 |
|---|---|
| $0.50 - $1.00 | |
| $0.35 |
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 |
|---|---|---|
question* | string | Text captcha question that should be answered by a human, for example If tomorrow is Saturday, what day is today?. Example: |
languagePool | string | 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": { "question": "If tomorrow is Saturday, what day is today?", "type": "QuestionRecognition" }}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 |
|---|---|---|
text* | string | Plain-text answer returned by the provider for the submitted question. Example: |
raw* | Record<string, unknown> | Raw provider response data for advanced use cases. |