Dashboard

API Docs

v2.0.0
Info

Base URL

http://localhost:8199

Auth: header X-Gateway-Token (opsional)

Provider Support

Provider mana yang support apa?

FeatureCapsolver2CaptchaAntiCaptcha
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

Speed

CapSolver 1-5s 2Captcha 5-15s AntiCaptcha 5-15s

Endpoint

POST /v1/solve

Main endpoint. Kirim captcha task, terima solution.

{
  "provider": "auto",
  "task_type": "HCaptchaTaskProxyless",
  "body": "site-key-here",
  "website_url": "https://target.com",
  "extra": {}
}
Response

Success:

{
  "success": true,
  "solution": "03AGdBq26...",
  "provider_used": "capsolver",
  "key_id": "CAP-F1E9..."
}

Error:

{
  "success": false,
  "error": "No available keys"
}
Task Types

task_type yang tersedia

task_typebody =website_url
ImageToTextTaskBase64 gambar
ReCaptchaV2TaskProxylessSite key Wajib
ReCaptchaV3TaskProxylessSite key Wajib
HCaptchaTaskProxylessSite key Wajib
TurnstileTaskProxylessSite key Wajib
FunCaptchaTaskProxylessPublic key Wajib
GeeTestTaskProxylessGT key Wajib
Endpoint

GET /v1/balance

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

Endpoint

GET /v1/keys

List semua key di pool (tanpa hit provider API).

curl http://localhost:8199/v1/keys
Endpoint

POST /v1/keys/add

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"
Endpoint

POST /v1/keys/{key_id}/disable

Disable key tertentu.

curl -X POST http://localhost:8199/v1/keys/CAP-F1E9.../disable
Endpoint

GET /v1/stats

Gateway stats: total keys, balance, success rate, providers.

curl http://localhost:8199/v1/stats
Endpoint

GET /health

Quick health check.

{"status":"ok","keys":12,"active":12}
Endpoint

GET /v1/capabilities

Full capabilities matrix — all task types and providers.

curl http://localhost:8199/v1/capabilities

Returns list of all 30 supported task types, 18 providers, and per-provider type mappings.

Endpoint

GET /v1/capabilities/{task_type}

Which providers support a specific task type.

curl http://localhost:8199/v1/capabilities/HCaptchaTaskProxyless

Returns list of providers that can handle the given task_type.

Endpoint

GET /v1/capabilities/provider/{provider}

All task types supported by a specific provider.

curl http://localhost:8199/v1/capabilities/provider/capsolver

Returns list of task types the provider handles + API protocol used.

All 30 Task Types

Supported task_type values

ImageToTextTask RecaptchaV2Task RecaptchaV2TaskProxyless RecaptchaV3Task RecaptchaV3TaskProxyless RecaptchaV2EnterpriseTask RecaptchaV2EnterpriseTaskProxyless RecaptchaV3EnterpriseTask HCaptchaTask HCaptchaTaskProxyless HCaptchaEnterpriseTask HCaptchaEnterpriseTaskProxyless FunCaptchaTask FunCaptchaTaskProxyless TurnstileTask TurnstileTaskProxyless GeeTestTask GeeTestTaskProxyless GeeTestTaskV4 GeeTestTaskV4Proxyless DataDomeTask AWSWafTask MTCaptchaTask FriendlyCaptchaTask CyberSiaraTask TencentCaptchaTask BinanceCaptchaTask YidunCaptchaTask ImpervaTask CaptchaFoxTask
18 Providers

Provider → Task Type Matrix

ProviderTypesAPI
capsolver27createTask
2captcha232captcha
rucaptcha232captcha
yescaptcha22createTask
capmonster20createTask
anticaptcha17createTask
omocaptcha17createTask
solvecaptcha13createTask
anticaptcha_top92captcha
azcaptcha82captcha
freecaptchabypass72captcha
jfbym1custom
deathbycaptcha1custom
truecaptcha1custom
nopecha1custom
imagetyperz1custom
endcaptcha1custom
bypasscaptcha1custom
Example

Solve hCaptcha

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"
  }'
Example

Solve Image (OCR)

curl -X POST http://localhost:8199/v1/solve \
  -H "Content-Type: application/json" \
  -d '{
    "task_type": "ImageToTextTask",
    "body": "data:image/png;base64,iVBORw0K..."
  }'
Example

Solve reCAPTCHA v2

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"
  }'
Example

Python

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"]
Logic

Key Rotation

Background

Auto-Hunter

Key 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.

Errors

HTTP Status Codes