# VK Challenge

Solve VK Challenge bot verification pages. Returns a valid solution429 cookie.

Solves VK Challenge bot verification pages (vk.com / vk.ru). Returns a valid solution429 cookie.


# Task Types

Task Type Description
VkChallengeTaskProxyless Without proxy, 3–6s
VkChallengeTask With your proxy, 3–6s

# Parameters

Parameter Type Required Description
websiteURL string Full VK challenge URL (https://vk.ru/challenge.html?...)

# Getting the Challenge URL

When VK blocks your request, it returns a 302 redirect to:

https://vk.ru/challenge.html?retpath=https%3A%2F%2Fvk.com%2F...

Use this full redirect URL as websiteURL.


# Example

response = requests.post("https://v1.captchasolv.com/solve", json={
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "VkChallengeTaskProxyless",
        "websiteURL": "https://vk.ru/challenge.html?retpath=https%3A%2F%2Fvk.com%2F..."
    }
}, timeout=130)

solution = response.json()["solution"]
# Set solution["cookie"] as solution429 cookie, use solution["userAgent"]
const response = await axios.post('https://v1.captchasolv.com/solve', {
    clientKey: 'YOUR_API_KEY',
    task: {
        type: 'VkChallengeTaskProxyless',
        websiteURL: 'https://vk.ru/challenge.html?retpath=https%3A%2F%2Fvk.com%2F...'
    }
}, { timeout: 130000 });

const { cookie, userAgent } = response.data.solution;

# Response

{
  "errorId": 0,
  "solution": {
    "cookie": "solution429=eyJhbGciOiJIUzI1NiIs...",
    "userAgent": "Mozilla/5.0..."
  }
}

Set cookie value as the solution429 cookie and reuse userAgent for subsequent VK requests.