Skip to Content
AnySolver logo
AnySolver
Recognition

QuestionRecognition

Get a worker's text answer to a text CAPTCHA question. Covers the request schema, an example and each provider's price per 1,000.

QuestionRecognition sends the question of a text CAPTCHA to a worker and returns the typed answer in solution.text. Use it for CAPTCHAs that ask a question instead of showing a picture, such as "If tomorrow is Saturday, what day is today?".

For image-based text CAPTCHAs, use TextRecognition or HumanRecognition.

Send the question

  • question: the full text of the question. SolveCaptcha limits it to 140 UTF-8 characters.
  • languagePool: optional. Selects workers by language. 2Captcha accepts en (the default) and ru.

Read the answer

solution.text holds the answer as the worker typed it, for example friday. Compare it case-insensitively, because the letter case is the worker's.

Check Provider stats for live success rates and solve times before you pick a provider.

Supported Providers

ProviderPrice per 1,000Routing
2Captcha
$0.50–$1.00
SolveCaptcha
$0.35
SCTG
$0.11

Request Schema

FieldTypeRequiredDescription
clientKey*
stringYes

Your API key. Create one in a workspace of the AnySolver dashboard.

Example: your-api-key-from-dashboard

task*
objectYes

The task body. Required fields depend on the task type. See Tasks for per-task schemas.

View task properties
settings
objectNo

Per-request settings for routing, Auto Retry, Auto Fallback, proxy reuse, response statistics and detailed analytics. Each field overrides the API key's value. See Routing modes.

View settings reference

Task Object Properties

The task field accepts an object with the following properties:

FieldTypeRequiredDescription
type*
Yes
question*
stringYes

Text of the question to answer, for example If tomorrow is Saturday, what day is today?. SolveCaptcha limits it to 140 UTF-8 characters.

Example: If tomorrow is Saturday, what day is today?

languagePool
stringNo

Optional language hint for choosing workers. 2Captcha accepts en (English, the default) and ru (Russian); SolveCaptcha takes a language code.

Example: en

{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "QuestionRecognition",
        "question": "If tomorrow is Saturday, what day is today?"
    }
}

Optional fields are not guaranteed across providers

Required fields are guaranteed across every provider that supports this task. Optional fields may be honored by some providers and silently ignored by others. AnySolver does not document per-provider parameter support, so before relying on an optional field, check that provider's own docs for the task you are using.

Response Schema

FieldTypeRequiredDescription
status*
Yes

Task status: "processing", "ready", or "failed".

Example: ready

errorId*
Yes

0 on success; 1 or 2 on an error. Branch on errorCode: Error IDs explains the two error groups.

Example: 0

taskId
stringNo

Unique identifier returned when the task was created.

Example: 01KFNDF328KAN2AJ3BNHCQYE88

errorCode
No

Machine-readable error code.

Example: CAPTCHA_UNSOLVABLE

errorDescription
stringNo

Human-readable error message with resolution hints.

Example: The captcha could not be solved.

cost
numberNo

Actual cost charged for this task in USD.

Example: 0.002

taskType
No

The type of CAPTCHA task to solve.

Example: ReCaptchaV2TokenProxyLess

provider
No

Provider that handled this task. While processing, the provider currently solving it.

Example: Multibot

solution
objectNo

Solution Object Properties

The solution field contains an object with the following properties:

FieldTypeRequiredDescription
text*
stringYes

Plain-text answer to the question, as typed by the worker.

Example: friday

raw*
Record<string, unknown>Yes

Raw provider response data for advanced use cases.