Tóm tắt
- Giá cho 1.000 lượt
- $0.725 ($0.000725 mỗi tác vụ)
- Loại createTask
DataDomeSliderTask- Phương thức in.php
datadome- Bạn gửi
- URL trang, địa chỉ captcha từ phản hồi bị chặn, user agent của bạn và một proxy
- Bạn nhận
- Một cookie datadome
Tìm các giá trị ở đâu
DataDome cần proxy riêng của bạn và đúng user agent bạn dùng để duyệt web. captchaUrl là địa chỉ geo.captcha-delivery.com từ trang bị chặn.
createTask và getTaskResult
Tạo tác vụ, chờ khoảng 5 giây, rồi kiểm tra kết quả mỗi 5 giây cho đến khi trạng thái là ready. Nếu tác vụ lỗi, API trả về lỗi và tiền được hoàn vào số dư.
import time, requests
API = "https://unlock-api.com"
KEY = "YOUR_API_KEY"
task = requests.post(f"{API}/createTask", json={
"clientKey": KEY,
"task": {
"type": "DataDomeSliderTask",
"websiteURL": "https://example.com/login",
"captchaUrl": "https://geo.captcha-delivery.com/captcha/?initialCid=...",
"userAgent": "Mozilla/5.0 ...",
"proxyType": "http",
"proxyAddress": "1.2.3.4",
"proxyPort": 8080
}
}).json()
if task["errorId"]:
raise SystemExit(task["errorCode"])
while True:
time.sleep(5)
r = requests.post(f"{API}/getTaskResult", json={"clientKey": KEY, "taskId": task["taskId"]}).json()
if r["errorId"]:
raise SystemExit(r["errorCode"]) # failed tasks are refunded
if r["status"] == "ready":
print(r["solution"]["cookie"])
breakin.php và res.php
Cùng tác vụ đó với API form kiểu cũ. Thêm json=1 để nhận phản hồi JSON; nếu không, phản hồi là văn bản thuần như OK|1001.
curl -s "https://unlock-api.com/in.php" -d "key=YOUR_API_KEY&method=datadome&captcha_url=CAPTCHA_URL&pageurl=https://example.com&userAgent=UA&proxy=login:[email protected]:8080&proxytype=HTTP&json=1" # {"status":1,"request":"1001"} curl -s "https://unlock-api.com/res.php?key=YOUR_API_KEY&action=get&id=1001&json=1" # {"status":0,"request":"CAPCHA_NOT_READY"} then {"status":1,"request":"ANSWER"}
Các loại CAPTCHA khác
- reCAPTCHA v2
- reCAPTCHA v2 Enterprise
- reCAPTCHA v3
- Cloudflare Turnstile
- GeeTest v3 / v4
- FunCaptcha (Arkose Labs)
- Amazon AWS WAF
- MTCaptcha
- Friendly Captcha
- Lemin Cropped Captcha
- KeyCaptcha
- Capy Puzzle
- Trang Cloudflare Challenge
- Cutcaptcha
- CyberSiARA
- atbCAPTCHA
- Tencent Captcha
- Prosopo Procaptcha
- CaptchaFox
- Altcha
- NetEase Yidun
- Yandex SmartCaptcha
- VK Captcha
- Binance Captcha
- Tác vụ tùy chỉnh (Imperva, Temu và các loại khác)
- Ảnh sang chữ
- Câu hỏi văn bản
- Lưới ảnh
- Tọa độ bấm
- Xoay ảnh
- Âm thanh
- Khoanh vùng vật thể
- Vẽ viền quanh
- Kéo và thả
- Tác vụ ảnh phức tạp