Tóm tắt
- Giá cho 1.000 lượt
- $0.45 ($0.00045 mỗi tác vụ)
- Loại createTask
RecaptchaV2TaskProxyless, RecaptchaV2Task- Phương thức in.php
userrecaptcha- Bạn gửi
- URL trang và site key (data-sitekey)
- Bạn nhận
- Token cho g-recaptcha-response
Tìm các giá trị ở đâu
Mở trang có CAPTCHA và tìm data-sitekey trên phần tử reCAPTCHA hoặc tham số k= trong địa chỉ của khung anchor. websiteURL là địa chỉ đầy đủ của trang có CAPTCHA.
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": "RecaptchaV2TaskProxyless",
"websiteURL": "https://example.com/login",
"websiteKey": "6LcR_RsTAAAAAFJR_5ZdbQd0SMxL7yIDmSXH1-lo"
}
}).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"]["gRecaptchaResponse"])
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=userrecaptcha&googlekey=SITE_KEY&pageurl=https://example.com/login&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 Enterprise
- reCAPTCHA v3
- Cloudflare Turnstile
- GeeTest v3 / v4
- FunCaptcha (Arkose Labs)
- Amazon AWS WAF
- MTCaptcha
- Friendly Captcha
- Lemin Cropped Captcha
- DataDome
- 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