# AntiCloudflareTaskV2

求解该验证码类型。

## 任务类型

`AntiCloudflareTaskV2`

## 处理方式

异步 + 轮询 `/getTaskResult`

## 参数

| Field | Type | Required | Notes |
|---|---|---|---|
| `type` | string | yes | `AntiCloudflareTaskV2` |
| `websiteURL` | string | yes | Protected page |
| `proxy` | string | yes | Static/sticky exit IP |

## 最小请求

```json
{
  "clientKey": "YOUR_API_KEY",
  "task": {"type":"AntiCloudflareTaskV2","websiteURL":"https://TARGET/protected","proxy":"http://USER:PASS@HOST:PORT"}
}
```

## 成功 solution

```json
{"cookies":"...","token":"...","userAgent":"..."}
```

## 典型失败

`ERROR_CAPTCHA_UNSOLVABLE`, `ERROR_BAD_REQUEST`, `ERROR_TASK_NOT_SUPPORTED`

Source: https://kaptra.ai/zh/docs/task-types/anti-cloudflare-v2
