한눈에 보기
- 1,000건당 가격
- $0.725 (1건당 $0.000725)
- createTask 이름
DataDomeSliderTask- in.php 방식
datadome- 보내는 것
- 페이지 주소, 차단 응답의 캡차 주소, 쓰는 user agent, 프록시
- 받는 것
- datadome 쿠키
값을 찾는 곳
DataDome은 내 프록시와 브라우징에 쓰는 것과 같은 user agent가 필요해요. captchaUrl은 차단 페이지의 geo.captcha-delivery.com 주소예요.
createTask와 getTaskResult
작업을 만들고 5초쯤 기다린 뒤, 상태가 ready가 될 때까지 5초마다 결과를 확인하세요. 작업이 실패하면 API가 오류로 답하고 비용은 잔액으로 돌아와요.
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와 res.php
같은 작업을 예전 폼 방식 API로 보내는 예시예요. json=1을 붙이면 JSON으로, 빼면 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"}
다른 캡차 종류
- 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
- Cloudflare 챌린지 페이지
- Cutcaptcha
- CyberSiARA
- atbCAPTCHA
- Tencent Captcha
- Prosopo Procaptcha
- CaptchaFox
- Altcha
- NetEase Yidun
- Yandex SmartCaptcha
- VK Captcha
- Binance Captcha
- 범용 작업 (Imperva, Temu 등)
- 이미지 글자
- 글자 질문
- 이미지 칸 고르기
- 클릭 좌표
- 이미지 회전
- 음성
- 영역 표시
- 테두리 그리기
- 끌어다 놓기
- 복합 이미지