# AntiDataDomeTaskV2

求解此驗證碼類型。

## 任務類型

`AntiDataDomeTaskV2`

## 同步或輪詢

非同步，輪詢 `/getTaskResult`

## 參數

| 欄位 | 類型 | 必填 | 說明 |
| --- | --- | --- | --- |
| `type` | string | 是 | `AntiDataDomeTaskV2` |
| `challengeUrl` | string | 是 | 驗證挑戰 URL |
| `userAgent` | string | 是 | 呼叫端的 User-Agent |
| `proxy` | string | 是 | 出口 IP |

## 最小請求

```json
{
  "clientKey": "YOUR_API_KEY",
  "task": {"type":"AntiDataDomeTaskV2","challengeUrl":"https://geo.captcha-delivery.com/...","userAgent":"...","proxy":"http://HOST:PORT"}
}
```

## 成功時的 solution

```json
{"cookie":"...","userAgent":"..."}
```

## 常見失敗

`ERROR_CAPTCHA_UNSOLVABLE`, `ERROR_BAD_REQUEST`, `ERROR_TASK_NOT_SUPPORTED`

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