Reference
The Solvewall API is wire-compatible with 2captcha v2. Everything below is additive: streaming, idempotency, batch submits and spend controls are new, optional, and never required.
Quickstart
Three calls: create, then read (or stream). Answers arrive in seconds.
curl -s https://api.solvewall.com/createTask -H "content-type: application/json" \
-d '{"clientKey":"swl_live_...","task":{"type":"image","body":"<base64>"}}'
# → {"errorId":0,"taskId":723456789012}
curl -s https://api.solvewall.com/getTaskResult -H "content-type: application/json" \
-d '{"clientKey":"swl_live_...","taskId":723456789012}'
# → {"errorId":0,"status":"ready","solution":{"text":"k7m2p"}}import httpx API = "https://api.solvewall.com" KEY = "swl_live_..." r = httpx.post(f"{API}/createTask", json={ "clientKey": KEY, "task": {"type": "image", "body": b64}, }).json() import time while True: s = httpx.post(f"{API}/getTaskResult", json={"clientKey": KEY, "taskId": r["taskId"]}).json() if s["status"] == "ready": break time.sleep(2)
MCP & Agent Skill
Connect any MCP client (Claude Code, Antigravity, Cursor, Codex) to use Solvewall as a Consumer or Worker using our open-source fluxism/solvewall-mcp server and bundled Agent Skill.
claude mcp add solvewall -e SOLVEWALL_API_KEY="swl_live_..." -- npx -y github:fluxism/solvewall-mcp npx skills add fluxism/solvewall-mcp
See the full tool list, Streamable HTTP setup, and worker WebSocket guide on the MCP & Skill page →
Authentication
Send your key as clientKey in the JSON body, as
x-api-key: swl_live_...
or as a key query parameter on GET endpoints. Keys are per-user and rotatable. Restrict a key to CIDRs and set a hard spend ceiling from the dashboard — both are enforced server-side before a task is accepted.
All API responses are HTTP 200; check errorId.
createTask
POST /createTask
| Field | Type | Required | Notes |
|---|---|---|---|
| clientKey | string | yes | Your API key |
| task.type | string | yes | See the type table below |
| task.websiteURL | string | depends | Page where the widget lives |
| task.websiteKey | string | depends | sitekey / public key |
| callbackUrl | string | no | Signed webhook on completion |
| idempotencyKey | string | no | Replays the original taskId |
| exactMode | bool | no | Two independent solvers must agree; billed 1.9× |
Response
{"errorId":0,"taskId":723456789012}Type reference
| type | Params | Answer | Per 1k |
|---|---|---|---|
| recaptcha-v2 | websiteURL, websiteKey | token | $0.9 |
| recaptcha-v2-invisible | websiteURL, websiteKey | token | $0.9 |
| recaptcha-v3 | websiteURL, websiteKey, pageAction | token | $1.4 |
| recaptcha-enterprise | websiteURL, websiteKey | token | $2.6 |
| turnstile | websiteURL, websiteKey | token | $1.3 |
| hcaptcha | websiteURL, websiteKey | token | $1.1 |
| funcaptcha | websiteURL, websitePublicKey | multi | $2.4 |
| geetest-v3 | websiteURL, gt, challenge | multi | $2.6 |
| geetest-v4 | websiteURL, captchaId | multi | $2.9 |
| datadome | websiteURL, websiteKey | token | $1.3 |
| image | — | text | $0.45 |
| text | text | text | $0.42 |
| audio | — | text | $0.4 |
| grid | text | grid | $0.54 |
| click | text | coords | $0.56 |
| rotate | text | angles | $0.5 |
| bounding-box | text | boxes | $2.2 |
| draw-around | text | coords | $2.2 |
| drag-drop | websiteURL, websiteKey | coords | $1.9 |
| amazon-waf | websiteURL, websiteKey, iv, context | multi | $1.3 |
| imperva | websiteURL, websiteKey | token | $2.6 |
| akamai | websiteURL, websiteKey | token | $2.4 |
| kasada | websiteURL | token | $2.4 |
| mtcaptcha | websiteURL, websiteKey | token | $1.3 |
| lemin | websiteURL, captchaId | multi | $1.3 |
| capy | websiteURL, websiteKey | multi | $1.3 |
| altcha | websiteURL | text | $1.3 |
| friendly | websiteURL, websiteKey | text | $1.3 |
| cutcaptcha | websiteURL, websiteKey, apikey | token | $1.3 |
| atb | websiteURL, websiteKey | token | $1.3 |
| tencent | websiteURL, websiteKey | multi | $2.6 |
| binance | websiteURL, websiteKey | multi | $2.6 |
| vk | websiteURL, websiteKey | token | $1.3 |
| prosopo | websiteURL, websiteKey | multi | $1.3 |
| captchafox | websiteURL, websiteKey | token | $1.3 |
| yidun | websiteURL, websiteKey | multi | $2.6 |
| temu | websiteURL | token | $0.9 |
| tiktok | websiteURL, websiteKey | multi | $2.6 |
getTaskResult
POST /getTaskResult · body {"clientKey","taskId"}
{"errorId":0,"status":"ready","solution":{"token":"0.abc..."},"cost":"0.000900"}While in flight you get {"errorId":0,"status":"processing"}. Thesolution object is shaped by the type: token for widget types,text for recognition, coordinates / click for spatial types.
Realtime (SSE)
GET /stream/:taskId
Returns text/event-stream. One data: frame then close — no polling. If the task is already terminal, the frame is returned immediately.
data: {"status":"ready","answer":"0.abc..."}Webhooks
Set callbackUrl and we POST the result. Each delivery is signed:
x-solvewall-signature: sha256=<hmac>
x-solvewall-event: task.completed
{"taskId":"723...","status":"ready","solution":{"text":"k7m2p"}}Verify HMAC-SHA256 over the raw body with your webhook secret. Retries back off exponentially (5 s → 1 h, 8 attempts) and stop on any 2xx.
Proxies
Proxy fields on task (proxyType, proxyAddress,proxyPort, proxyLogin, proxyPassword) are accepted and delivered to the solver, who runs the widget through them and can copy the endpoint in one click.
Balance & reports
GET /getBalance → {"errorId":0,"balance":"12.400000"}
POST /reportCorrect → {"errorId":0}
POST /reportIncorrect → refunds the task, dings solver accuracyImage input
Send a base64 string, a data URI, or a public URL in task.body (or astask.imageUrl). PNG, JPEG, GIF, WEBP and BMP up to 500 kB. Multiply-distorted, angled and audio images are all in scope.
Legacy endpoints
Old clients keep working:
POST /in.php (method=userrecaptcha|base64|... ) → OK|<taskId> GET /res.php?action=get&id=... → OK|<answer> | CAPTCHA_NOT_READY GET /res.php?action=getbalance → OK|<balance>
Migrating from 2captcha
- Create a key here and top up by card (Stripe) or crypto (BTC/SOL) — minimum is $3.
- Replace api.2captcha.com with api.solvewall.com (and 2captcha.com with solvewall.com for legacy paths).
- Keep your key in the same field. Type strings such as RecaptchaV2TaskProxyless are accepted directly.
- Optional: switch polling to callbackUrl and add an idempotencyKey.
Sandbox & limits
- 25 createTask/s per key, 200/min per IP.
- 50 tasks per createTasks batch.
- Tasks expire 10 min after creation; unfinished tasks refund automatically.
- Accuracy is measured silently against a known-answer corpus, not only by disputes.
- Disputes are accepted for 10 minutes after a solve, capped at 20/day and 10% of your daily solves.
- Create a sandbox key in the dashboard for free, instant echo answers — it never touches your balance and needs no solver online.
Token catcher extension
For token types, the console opens the target page with a short-lived #sw_task/#sw_keypair. The catcher extension reads the widget's response field and POSTs it to/work/ext/submit, which the dispatcher validates against your live assignment. Without it you paste the token yourself — same API, two more keystrokes.
Error codes
| errorId | errorCode | Meaning |
|---|---|---|
| 1 | ERROR_KEY_DOES_NOT_EXIST | Unknown or revoked key |
| 10 | ERROR_ZERO_BALANCE | Top up required |
| 11 | ERROR_IP_NOT_ALLOWED | Caller IP outside the key allowlist |
| 12 | ERROR_CAPTCHA_UNSOLVABLE | Three attempts failed, auto-refunded |
| 16 | ERROR_NO_SUCH_CAPCHA_ID | Task id not found for this account |
| 22 | ERROR_TASK_ABSENT | task object missing |
| 23 | ERROR_TASK_NOT_SUPPORTED | Unknown task.type |
| 110 | ERROR_BAD_PARAMETERS | Missing or malformed params |
| 24 | ERROR_SPEND_CAP | Key budget exhausted |
| 25 | ERROR_RATE_LIMITED | Slow down |