🤖
OMOcaptcha.com
  • Home
  • Tài liệu api
    • Kiểm tra số dư
    • ImageToTextTask
    • reCAPTCHA
      • RecaptchaV2TokenTask
      • RecaptchaV3TokenTask
      • RecaptchaV2ImageTask
    • FunCaptcha
      • FuncaptchaImageTask
    • Tiktok
      • Tiktok3DSelectObjectWebTask
      • Tiktok3DSelectObjectPhoneTask
      • TiktokRotateWebTask
      • TiktokSliderWebTask
      • TiktokSliderPhoneTask
    • Shopee
      • ShopeeSliderWebTask
    • Zalo
      • ZaloSliderPhoneTask
      • ZaloSelectObjectTask
    • Amzn Captcha
      • AmznSelectObjectTask
    • Geetest
      • GeetestSliderWebTask
  • Hướng dẫn
    • Cài extension từ file zip
    • Set API KEY cho extension
    • Cài extension tool Max Care và Max Hotmail
  • Cập nhật extension cho tool Max Tiktok Chrome
Powered by GitBook
On this page
  • 1.Tạo yêu cầu
  • 2.Nhận kết quả yêu cầu
  1. Tài liệu api
  2. Shopee

ShopeeSliderWebTask

PreviousShopeeNextZalo

Last updated 3 months ago

Captcha Shopee là một loại hình ảnh xác thực phổ biến trông giống như thế này

1.Tạo yêu cầu

Request

POST : https://omocaptcha.com/v2/createTask

Name
Type
Required
Description

clientKey

String

yes

Khóa tài khoản khách hàng

task.type

String

yes

Tên class dịch vụ captcha cần giải

task.imageBase64s

Array of String

yes

Loại ảnh
Image

Ảnh mask

Ảnh background

{
    "clientKey": "API_KEY",
    "task": {
        "type": "ShopeeSliderWebTask",
        "imageBase64s": ["BASE64_MASK_BODY_HERE", "BASE64_BACKGROUND_BODY_HERE"]
    }
}

Response

{
    "errorId": 0,
    "taskId": "49f9f60a-c809-4af0-93c0-0409b72e67e0"
}
  • Máy chủ sẽ trả về errorId = 0 và taskId thành công

{
    "errorId": 1,
    "errorCode": "",
    "errorDescription": ""
}
  • Máy chủ sẽ trả về errorId = 1 và errorCode mã lỗi

2.Nhận kết quả yêu cầu

Request

POST : https://omocaptcha.com/v2/getTaskResult

{
    "clientKey": "API_KEY",
    "taskId": "49f9f60a-c809-4af0-93c0-0409b72e67e0"
}

Response

{
    "errorId": 0,
    "status": "ready",
    "solution": {
        "end": {
            "x": 150,
        }
    }
}
  • Máy chủ sẽ trả về errorId = 0 và status = ready

  • Đọc kết quả trong solution

{
    "status": "processing",
    "errorId": 0,
    "errorCode": "",
    "errorDescription": ""
}
  • Máy chủ sẽ trả về errorId = 0 và status = processing yêu cầu đang được xử lý, xin vui lòng chờ 2 giây rồi yêu cầu lại

{
    "errorId": 1,
    "errorCode": "",
    "errorDescription": ""
}
  • Máy chủ sẽ trả về errorId = 1

Captcha kéo thả shopee