QCaptcha v1.0 Powered by AI · Fast · Reliable READ DOCS →
Documentation

API Reference

Simple REST API. All endpoints require authentication.

Authentication

Include your API key in the Authorization header.

Authorization: Bearer qc_YOUR_API_KEY

Supported hCaptcha Task Types

QCaptcha supports all major hCaptcha visual challenges:

Click Tasks:

  • Click the shape that is different
  • Click THREE arrows that are different
  • Select objects made from material shown
  • Select items that are primarily metal
  • Pick objects that fold, crumple, or bend
  • Find identical elements

Drag Tasks:

  • Drag matching shape into place
  • Drag shape that fits the outline
  • Match characters to matching characters
  • Place correct puzzle piece
  • Drag foods to matching plates
  • Fix animal pattern placement
  • Character matching behind lines

New task types are added automatically as our AI learns.

POST /api/v1/solve

Submit captcha image for solving.

Request:

import requests

r = requests.post(
    "https://qcaptcha.ru/api/v1/solve",
    files={"image": open("captcha.png", "rb")},
    headers={"Authorization": "Bearer qc_YOUR_KEY"}
)
print(r.json())

Response:

{
  "success": true,
  "detections": [
    {
      "x": 245,
      "y": 380,
      "confidence": 0.85,
      "category": "click_shape_that_is_different"
    }
  ],
  "total_found": 1,
  "image_size": {"w": 520, "h": 570}
}

GET /api/v1/balance

Check your current balance and usage stats.

{
  "balance": 4500,
  "totalUsed": 500,
  "totalSolved": 480,
  "totalFailed": 20
}

GET /api/v1/stats

Detailed usage statistics for the last 30 days.

Error Codes

CodeDescription
401Invalid or missing API key
402Insufficient balance
413Image too large (max 5MB)
429Rate limit exceeded
500Server error