Skip to content
API
Faucet Captcha

Faucet Captcha

ภาพรวม

การแก้ faucet captcha ที่รวดเร็วเป็นพิเศษด้วยราคาที่ยอดเยี่ยม ให้บริการส่วนขยายแก้ antibot อัตโนมัติ Antibot captcha กำหนดให้ผู้ใช้เลือกรูปภาพตามลำดับที่ถูกต้องตามรูปภาพหลัก

💰

Antibot captcha ได้รับการออกแบบมาเพื่อป้องกันสแปมและบอทเรียกร้องสิทธิ์อัตโนมัติบนเว็บไซต์ faucet (faucet สกุลเงินดิจิทัล) ซึ่งผู้ใช้สามารถรับสกุลเงินดิจิทัลฟรีหลังจากทำแคปช่าเสร็จสิ้น

ภาพประกอบ

รูปภาพหลัก:

Antibot Captcha Main

รูปภาพตัวเลือก 4 รูป (หมายเลขตั้งแต่ 0 ถึง 3):

Image 0

รูปภาพ 0

Image 1

รูปภาพ 1

Image 2

รูปภาพ 2

Image 3

รูปภาพ 3

1. สร้างคำขอ

คำขอ

POST https://api.achicaptcha.com/createTask

พารามิเตอร์

ชื่อพารามิเตอร์ชนิดข้อมูลจำเป็น?คำอธิบาย
clientKeystringใช่คีย์ API
task.typestringใช่AntibotCaptchaTask
task.imagestringใช่base64 รูปภาพหลัก|base64 รูปภาพ 0|base64 รูปภาพ 1|base64 รูปภาพ 2|base64 รูปภาพ 3
task.subTypestringใช่ค่า: 0

ตัวอย่างคำขอ

POST /createTask HTTP/1.1
Host: api.achicaptcha.com
Content-Type: application/json
 
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "AntibotCaptchaTask",
    "image": "base64 main image|base64 image 0|base64 image 1|base64 image 2|base64 image 3",
    "subType": "0"
  }
}

การตอบกลับ

เมื่อสำเร็จ เซิร์ฟเวอร์จะส่งคืน errorId = 0 และ taskId

{
  "errorId": 0,
  "taskId": "f2fc70d6-c76b-4fba-9480-205ac1fe9fb9"
}

2. รับผลลัพธ์

คำขอ

POST https://api.achicaptcha.com/getTaskResult

พารามิเตอร์

ชื่อพารามิเตอร์ชนิดข้อมูลจำเป็น?คำอธิบาย
clientKeystringใช่คีย์ API
taskIdstringใช่TaskId จาก (1)

ตัวอย่างคำขอ

POST /getTaskResult HTTP/1.1
Host: api.achicaptcha.com
Content-Type: application/json
 
{
  "clientKey": "YOUR_API_KEY",
  "taskId": "f2fc70d6-c76b-4fba-9480-205ac1fe9fb9"
}

การตอบกลับ

{
  "errorId": 0,
  "status": "ready",
  "solution": "swamn"
}

คำอธิบายสถานะ

  • errorId = 0 และ status = ready: แก้ไขสำเร็จ อ่านผลลัพธ์ใน solution ซึ่งเป็นลำดับรูปภาพที่ต้องคลิก (เริ่มจาก 0)
  • errorId = 1 และ status = processing: กำลังแก้แคปช่า รอ 2 วินาทีแล้วลองอีกครั้ง
  • errorId > 1: ข้อผิดพลาดของระบบ ส่งคืนรหัสข้อผิดพลาดและคำอธิบาย

ตัวอย่างการรวมระบบ

import requests
import time
 
def solve_antibot_captcha(image_base64_string, api_key='YOUR_API_KEY'):
    """
    image_base64_string format: "base64 main image|base64 image 0|base64 image 1|base64 image 2|base64 image 3"
    """
    
    # Step 1: Create task
    create_task_url = 'https://api.achicaptcha.com/createTask'
    create_task_payload = {
        'clientKey': api_key,
        'task': {
            'type': 'AntibotCaptchaTask',
            'image': image_base64_string,
            'subType': '0'
        }
    }
    
    response = requests.post(create_task_url, json=create_task_payload)
    result = response.json()
    
    if result['errorId'] != 0:
        raise Exception(result['errorDescription'])
    
    task_id = result['taskId']
    
    # Step 2: Get result
    get_result_url = 'https://api.achicaptcha.com/getTaskResult'
    
    while True:
        time.sleep(2)  # Wait 2 seconds
        
        get_result_payload = {
            'clientKey': api_key,
            'taskId': task_id
        }
        
        response = requests.post(get_result_url, json=get_result_payload)
        result = response.json()
        
        if result['errorId'] == 0 and result['status'] == 'ready':
            # Returns the image sequence to click (starting from 0)
            return result['solution']
        
        if result['errorId'] == 1 and result['status'] == 'processing':
            # Processing, continue loop
            continue
        
        # Other error
        raise Exception(result.get('errorDescription', 'Unknown error'))
 
# Usage
image_string = 'base64main|base64img0|base64img1|base64img2|base64img3'
solution = solve_antibot_captcha(image_string, 'YOUR_API_KEY')
print('Antibot captcha solution:', solution)
# solution will be the image sequence to click, e.g.: "swamn"

รหัสข้อผิดพลาดทั่วไป

รหัสข้อผิดพลาดคำอธิบายหมายเหตุ
0successสำเร็จ
1processingกำลังประมวลผล
2missing required fieldsขาดฟิลด์ที่จำเป็น ตรวจสอบพารามิเตอร์อีกครั้ง
3task not supportedไม่รองรับประเภทงาน
4task creation failedการสร้างงานล้มเหลว
5client key does not existไม่มีคีย์ API ตรวจสอบคีย์ API อีกครั้ง
6insufficient account balanceยอดเงินในบัญชีไม่เพียงพอ เติมเครดิต
7task failed, please create a new taskงานล้มเหลว โปรดสร้างงานใหม่
8task ID does not existไม่มี ID งาน

แนวทางปฏิบัติที่ดีที่สุด

เพื่อให้ได้ผลลัพธ์ที่ดีที่สุดเมื่อใช้ Achicaptcha API ให้ปฏิบัติตามหลักการเหล่านี้:

1. คุณภาพของรูปภาพ

  • ใช้รูปภาพที่มีความละเอียดสูง
  • ตรวจสอบให้แน่ใจว่ารูปภาพไม่เบลอหรือมีจุดรบกวนมากเกินไป
  • จับภาพหรือครอบตัดพื้นที่ captcha ที่ถูกต้อง

2. การจำกัดอัตรา

  • Faucets มักจะมีเวลาจำกัดระหว่างการเรียกร้องสิทธิ์
  • เคารพช่วงเวลาขั้นต่ำของ faucet
  • อย่าสแปมคำขอเพื่อหลีกเลี่ยงการถูกแบน

3. ช่วงเวลาการตรวจสอบ

  • รออย่างน้อย 2 วินาทีระหว่างการตรวจสอบผลลัพธ์
  • อย่าสแปม API ด้วยคำขอที่ต่อเนื่องกันมากเกินไป
  • มีการหมดเวลาเพื่อหลีกเลี่ยงลูปไม่สิ้นสุด

4. ตรรกะการลองใหม่

  • ใช้การลองใหม่สำหรับข้อผิดพลาดชั่วคราว เช่น ERROR_NO_SLOT_AVAILABLE
  • ใช้ exponential backoff เมื่อลองใหม่
  • จำกัดจำนวนการลองใหม่สูงสุด

5. ความปลอดภัยของคีย์ API

  • อย่าฮาร์ดโค้ดคีย์ API ในโค้ด
  • ใช้ตัวแปรสภาพแวดล้อม
  • อย่าเปิดเผยคีย์ API ทางฝั่งไคลเอนต์

ลิงก์ที่มีประโยชน์: