Skip to Content
AnySolver logo
AnySolver
Recognition

VkCaptchaRecognition

Solve the VK slider CAPTCHA from its image and steps array and get the slider answer. Shows the request schema, an example and provider prices.

VkCaptchaRecognition solves the VK "not robot" slider from the images VK serves, without opening the CAPTCHA page. You send the slider image and the steps array. The response tells you how far to move the slider and gives an answer in the format the VK API expects.

To solve from the redirect_uri instead, use VKCaptchaToken.

Find the inputs

Both inputs come from the response to the call the CAPTCHA widget makes when it loads, captchaNotRobot.getContent on api.vk.com:

  • imageBase64: the slider image from that response, as base64. A data: prefix is removed for you.
  • steps: the steps array from the same response, passed through unchanged.

Use the image and steps from the same widget load. A new load produces a new pair.

Read the answer

Use solution.bestStep if you move a slider in a browser, or solution.answer if you call the VK API directly. The response schema below describes every solution field.

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

Supported Providers

ProviderPrice per 1,000Routing
2Captcha
$1.45

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
imageBase64*
stringYes

Base64-encoded slider image from the captchaNotRobot.getContent response that VK returns when the captcha widget loads. A data URI prefix is stripped automatically.

Example: /9j/4AAQSkZJRg......

steps*
number[]Yes

The steps array from the same captchaNotRobot.getContent response, passed through unchanged.

Example: [5,19,14,14,6,4,8,9,23,23,14,23,3,13,16,8,2,4,6,16,1,1,3,12,23,18,12,24,17,7,6,22,2,4,0,22,3,18,11,5,4,5,6,14,22,21,6,10,0,3,14,18,19,2,24,0,3,23,9,21,5,24,21,0,4,15,14,21,8,5,17,19,12,19,15,17,21,11,8,4,15,0,18,16,19,4,19,20,21,22,16,10,20,12,19,5,23,24,8]

{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "VkCaptchaRecognition",
        "imageBase64": "/9j/4AAQSkZJRg......",
        "steps": [
            5,
            19,
            14,
            14,
            6,
            4,
            8,
            9,
            23,
            23,
            14,
            23,
            3,
            13,
            16,
            8,
            2,
            4,
            6,
            16,
            1,
            1,
            3,
            12,
            23,
            18,
            12,
            24,
            17,
            7,
            6,
            22,
            2,
            4,
            0,
            22,
            3,
            18,
            11,
            5,
            4,
            5,
            6,
            14,
            22,
            21,
            6,
            10,
            0,
            3,
            14,
            18,
            19,
            2,
            24,
            0,
            3,
            23,
            9,
            21,
            5,
            24,
            21,
            0,
            4,
            15,
            14,
            21,
            8,
            5,
            17,
            19,
            12,
            19,
            15,
            17,
            21,
            11,
            8,
            4,
            15,
            0,
            18,
            16,
            19,
            4,
            19,
            20,
            21,
            22,
            16,
            10,
            20,
            12,
            19,
            5,
            23,
            24,
            8
        ]
    }
}

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
bestStep*
numberYes

Number of steps to move the slider to solve the captcha.

Example: 46

solution*
number[]Yes

The list of steps that solves the captcha.

View solution properties

Example: [19,14,14,6,4,8,9,23,23,14]

answer*
stringYes

The solution encoded in the format the VK API expects. Send it back to VK to pass the check.

Example: eyJ2YW...yMF19

raw*
Record<string, unknown>Yes

Raw provider response data for advanced use cases.

preview
stringNo

Base64 image showing the result of applying the solution steps, for debugging.

Example: /9j/4AA......