{
    "service_name": "CaptchaKings Captcha Solver API",
    "version": "2.1",
    "description": "Synchronous captcha solving API for AI agents and automation: image OCR, xCaptcha (2Captcha-compatible), Tencent, GeeTest v3/v4, MTCaptcha, and Amazon WAF image challenges.",
    "pricing": {
        "currency": "USD",
        "model": "usage_based",
        "rate_per_1000": 1.00,
        "ocr_rate_per_1000": 0.80,
        "free_tier": true,
        "free_credit_usd": 0.50
    },
    "endpoints": {
        "ocr": {
            "url": "https://captchakings.com/api/process.php",
            "method": "POST",
            "content_type": "multipart/form-data",
            "auth": "Authorization: Bearer YOUR_API_KEY (or X-API-Key header, or api_key form field)",
            "parameters": {
                "captcha": "image file (JPG, PNG, GIF, WebP; max 5MB)"
            },
            "response": "{\"success\": true, \"data\": {\"prediction\": \"...\"}, \"billing\": {...}}"
        },
        "xcaptcha_legacy": {
            "url": "https://captchakings.com/in.php",
            "method": "POST",
            "notes": "2Captcha-compatible submit/poll pair with res.php; xCaptcha only.",
            "parameters": {
                "key": "YOUR_API_KEY",
                "method": "userrecaptcha",
                "pageurl": "string",
                "sitekey": "string"
            }
        },
        "amazon": {
            "url": "https://captchakings.com/api/amazon.php",
            "method": "POST",
            "content_type": "multipart/form-data",
            "parameters": {
                "api_key": "YOUR_API_KEY",
                "target_class": "string (object class the challenge asks for)",
                "file": "challenge image",
                "is_retry": "optional, 'true' to avoid double billing on a retry of the same challenge"
            }
        },
        "other_native_solvers": {
            "tencent": "https://captchakings.com/api/tencent.php",
            "geetest": "https://captchakings.com/api/geetest.php",
            "mtcaptcha": "https://captchakings.com/api/mtcaptcha.php",
            "xcaptcha": "https://captchakings.com/api/xcaptcha.php"
        }
    },
    "performance": {
        "benchmarks_url": "https://captchakings.com/benchmarks",
        "ocr": {"accuracy": "up to 99.9%", "median_latency": "1.2s"},
        "geetest": {"accuracy": "97%", "median_latency": "0.4s"},
        "tencent": {"accuracy": "97%", "median_latency": "0.17s"},
        "amazon": {"accuracy": "97%", "median_latency": "8s"}
    },
    "compliance": {
        "gdpr": true
    }
}
