Lấy kết quả giải captcha
Endpoint
POST https://api.anticaptcha.pro/v1/takeResultCác tham số body
Tên trường
Kiểu dữ liệu
Bắt buộc
Mô tả
apiKey
string
✔️
Api key sử dụng dịch vụ
taskId
string
✔️
taskId lấy được từ việc tạo yêu cầu giải captcha
Request mẫu
curl --location 'https://api.anticaptcha.pro/v1/takeresult' \
--header 'Content-Type: application/json' \
--data '{
"apiKey":"T8B13MX-ABCDEFG-Q0XNP00-NYKJM4N",
"taskId": "4d39c891-5107-4cae-b2ef-03759be62cd6"
}'const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
const raw = JSON.stringify({
"apiKey": "T8B13MX-ABCDEFG-Q0XNP00-NYKJM4N",
"taskId": "4d39c891-5107-4cae-b2ef-03759be62cd6"
});
const requestOptions = {
method: "POST",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://api.anticaptcha.pro/v1/takeresult", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));Các trường JSON trả về
Tên trường
Kiểu dữ liệu
Mô tả
success
boolean
Xác định kết quả của yêu cầu.
✔️ Thành công: true
❌ Thất bại: false
data.status
string
Chi tiết các tiến trình của yêu cầu giải captcha:
idle | progressing | failed | completed
data.msg
string
Mô tả chi tiết tiết trình giải captcha
data.solution
string | null
Chuỗi kết quả nếu giải thành công hoặc null nếu đang giải hoặc giải thất bại
Kết quả trả về
Last updated