getTaskResult
JSON 방식 메서드
토큰 작업
- reCAPTCHA v2
- 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
- Cloudflare 챌린지 페이지
- Cutcaptcha
- CyberSiARA
- atbCAPTCHA
- Tencent Captcha
- Prosopo Procaptcha
- CaptchaFox
- Altcha
- NetEase Yidun
- Yandex SmartCaptcha
- VK Captcha
- Binance Captcha
- 범용 작업 (Imperva, Temu 등)
getTaskResult
작업 상태를 돌려줘요. 푸는 동안은 status가 processing이에요. 끝나면 status가 ready가 되고 solution에 답이 들어 있어요. 실패한 작업은 errorId 1과 이유를 돌려주고, 비용은 이미 잔액으로 돌아와 있어요.
POSThttps://unlock-api.com/getTaskResult
작업을 만들고 5초쯤 기다린 뒤 5초마다 확인하세요. 5분 안에 못 푼 작업은 ERROR_CAPTCHA_UNSOLVABLE로 실패해요.
요청 항목
clientKeyString필수
계정 화면에 있는 32자 API 키예요.
taskIdInteger필수
createTask가 돌려준 작업 번호예요.
요청
POST /getTaskResult
{
"clientKey": "YOUR_API_KEY",
"taskId": 1001
}응답
{
"errorId": 0,
"status": "processing",
"taskId": 1001
}{
"errorId": 0,
"taskId": 1001,
"status": "ready",
"solution": {
"token": "0.zrSnRHO7h0HwSjSCU8oyzbjEtD8p..."
},
"cost": "0.00055",
"createTime": 1791640000,
"endTime": 1791640011,
"solveCount": 1
}{
"errorId": 1,
"errorCode": "ERROR_CAPTCHA_UNSOLVABLE",
"errorDescription": "The task could not be solved. Its cost was returned to your balance.",
"taskId": 1001
}응답 항목
errorIdInteger
요청이 성공하면 0, 실패하면 1이에요.
taskIdInteger
작업 번호예요.
statusString
푸는 동안은 processing, 끝나면 ready예요.
solutionObject
답이에요. 들어 있는 항목은 작업 종류에 따라 달라요.
costString
이 작업의 가격(미국 달러)이에요.
createTimeInteger
작업을 만든 Unix 시간이에요.
endTimeInteger
작업을 푼 Unix 시간이에요.
solveCountInteger
작업을 푼 횟수예요. 항상 1이에요.
errorCodeString
errorId가 1일 때 오류 이름이에요.
errorDescriptionString
오류를 영어로 짧게 설명해요.
코드 예시
curl -s https://unlock-api.com/getTaskResult \
-H "Content-Type: application/json" \
-d '{"clientKey":"YOUR_API_KEY","taskId":1001}'import requests
r = requests.post("https://unlock-api.com/getTaskResult", json={
"clientKey": "YOUR_API_KEY",
"taskId": 1001
}).json()
print(r)const r = await fetch("https://unlock-api.com/getTaskResult", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"clientKey": "YOUR_API_KEY",
"taskId": 1001
}),
}).then((res) => res.json());
console.log(r);이 메서드가 돌려주는 오류
키가 틀렸어요. 계정 화면에서 다시 복사하세요. (in.php, res.php에서는 ERROR_WRONG_USER_KEY)
계정의 허용 목록에 없는 IP에서 온 요청이에요. 계정 화면에서 IP를 추가하세요.
이 계정은 막혀 있어요. 계정 화면에서 고객 지원에 문의하세요.
요청이 너무 많아요. 결과 확인을 5초 간격으로 줄이세요.
내 계정에 그 번호의 작업이 없어요.
시간 안에 못 풀었어요. 비용은 잔액으로 돌아왔어요.