http://localhost:8199
Auth: header X-Gateway-Token (opsional)
| Feature | Capsolver | 2Captcha | AntiCaptcha |
|---|---|---|---|
| reCAPTCHA v2 | |||
| reCAPTCHA v3 | |||
| hCaptcha | |||
| Turnstile (CF) | |||
| ImageToText | |||
| FunCaptcha | |||
| GeeTest v3/v4 | |||
| AWS WAF | |||
| DataDome | |||
| CF Challenge | |||
| KeyCaptcha | |||
| Grid/Click |
Recommendation: pakai provider: "auto" — gateway otomatis pilih key dengan balance terbanyak
CapSolver 1-5s 2Captcha 5-15s AntiCaptcha 5-15s
Main endpoint. Kirim captcha task, terima solution.
{
"provider": "auto",
"task_type": "HCaptchaTaskProxyLess",
"body": "site-key-here",
"website_url": "https://target.com",
"extra": {}
}
provider — auto, capsolver, 2captcha, anticaptchatask_type — captcha type (lihat tabel bawah)body — base64 image (OCR) atau site keywebsite_url — URL halaman captchaSuccess:
{
"success": true,
"solution": "03AGdBq26...",
"provider_used": "capsolver",
"key_id": "CAP-F1E9..."
}
Error:
{
"success": false,
"error": "No available keys"
}
| task_type | body = | website_url |
|---|---|---|
ImageToTextTask | Base64 gambar | |
ReCaptchaV2TaskProxyLess | Site key | Wajib |
ReCaptchaV3TaskProxyLess | Site key | Wajib |
HCaptchaTaskProxyLess | Site key | Wajib |
TurnstileTaskProxyLess | Site key | Wajib |
FunCaptchaTaskProxyLess | Public key | Wajib |
GeeTestTaskProxyLess | GT key | Wajib |
Force-refresh balance semua key. Auto-disable key yang balance-nya $0.
curl http://localhost:8199/v1/balance
Response: list semua key + balance masing-masing
List semua key di pool (tanpa hit provider API).
curl http://localhost:8199/v1/keys
Tambah key baru ke pool. Auto-check balance saat add.
curl -X POST "http://localhost:8199/v1/keys/add\
?provider=capsolver\
&api_key=CAP-XXXX"
Disable key tertentu.
curl -X POST http://localhost:8199/v1/keys/CAP-F1E9.../disable
Gateway stats: total keys, balance, success rate, providers.
curl http://localhost:8199/v1/stats
Quick health check.
{"status":"ok","keys":12,"active":12}
curl -X POST http://localhost:8199/v1/solve \
-H "Content-Type: application/json" \
-d '{
"provider": "auto",
"task_type": "HCaptchaTaskProxyLess",
"body": "10000000-ffff-ffff-ffff-000000000001",
"website_url": "https://example.com"
}'
curl -X POST http://localhost:8199/v1/solve \
-H "Content-Type: application/json" \
-d '{
"task_type": "ImageToTextTask",
"body": "data:image/png;base64,iVBORw0K..."
}'
curl -X POST http://localhost:8199/v1/solve \
-H "Content-Type: application/json" \
-d '{
"provider": "capsolver",
"task_type": "ReCaptchaV2TaskProxyLess",
"body": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
"website_url": "https://google.com/recaptcha/demo"
}'
import requests
resp = requests.post("http://localhost:8199/v1/solve", json={
"provider": "auto",
"task_type": "HCaptchaTaskProxyLess",
"body": "site-key-here",
"website_url": "https://target.com"
})
token = resp.json()["solution"]
provider → filter by providerKey baru otomatis dicari dari GitHub tiap 30 menit:
Target: repo obscure/low-star (lebih jarang di-revoke). Key live otomatis masuk gateway + report ke Telegram.