Captcha solver API
for every challenge type
Change the type field, not your integration. Every challenge we support shares one request shape and one response shape.
POST https://api.captchano.com/v1/solve?wait=60
Authorization: Bearer cn-YOUR_API_KEY
Content-Type: application/json
{
"type": "recaptcha_v2",
"url": "https://example.com/login",
"sitekey": "6LcABC...",
"proxy": "http://user:pass@host:port",
"userAgent": "Mozilla/5.0 ..."
}200 OK
{
"id": "slv_3f9c0a7e1b2d4c6e8f0a1b2c",
"status": "ready",
"type": "recaptcha_v2",
"solution": {
"token": "03AGdBq25S...",
"userAgent": "Mozilla/5.0 ..."
},
"cost": "0.00598",
"solveTime": 12.4,
"createdAt": 1767225600000
}Quick start
Four steps from no account to a solved captcha. Plain HTTPS and JSON, so any language with an HTTP client works.
- Create an API key in the dashboard. To test before you pay, start the free trial of the Hobby plan: a card is required, and nothing is charged if you cancel before it ends.
- Send
POST /v1/solve?wait=60with the key as a Bearer token and a JSON body holding the challengetype, the pageurland thesitekey(orchallengeUrlorbody, depending on the type). - Read
solutionfrom the response: atokenfor reCAPTCHA and Turnstile, acookiefor DataDome, ortextfor an image captcha. - Submit it the way the page would, from the same proxy and with the
userAgentthe response returns.
Authentication
Send your key as Authorization: Bearer cn-… (or as an X-API-Key header). Create and revoke keys in the dashboard. Keys are shown once and stored hashed, so keep a copy somewhere safe.
Endpoints
POST /v1/solve— submit a challenge. Withoutwaitit returns202with anidandstatus: "solving". With?wait=N(up to 120 seconds) the request holds until the solve is ready and returns200, or returns202if it is still running when the wait expires.GET /v1/task/{id}— poll a task. Poll every five seconds; status moves fromsolvingtoreadyorfailed. A paid solution stays retrievable for ten minutes.GET /v1/balance— your remaining credit, in USD.
Challenge types
recaptcha_v2— url, sitekey; optional invisible. $0.00598 per successful solve.recaptcha_v3— url, sitekey; optional action, minScore. $0.00598 per successful solve.recaptcha_enterprise— url, sitekey; optional invisible — Enterprise checkbox-style widgets (score-based Enterprise keys are not supported). $0.00598 per successful solve.turnstile— url, sitekey; optional action, cData, pageData. $0.00435 per successful solve.datadome— url, challengeUrl, proxy (required), userAgent. $0.00435 per successful solve.geetest— url, sitekey (the gt value), challenge (a fresh value for every solve); optional apiServer. Returns solution.geetest with challenge, validate and seccode. $0.00598 per successful solve.geetest_v4— url, sitekey (the captcha_id); optional apiServer. Returns solution.geetest with captcha_id, lot_number, pass_token, gen_time and captcha_output. $0.00598 per successful solve.yandex_smartcaptcha— url, sitekey. Returns a token for the smart-token field. $0.00598 per successful solve.image— body (base64 image). $0.003 per successful solve.
Which captcha type to send
Each type of captcha leaves a recognisable trace in the page. Match it to the type field, or paste the URL into the captcha detector.
recaptcha_v2— an iframe from google.com/recaptcha/api2/anchor, a "I'm not a robot" checkbox, or an element with data-sitekey and no render= key.recaptcha_v3— api.js loaded with ?render=SITEKEY and a call to grecaptcha.execute, with no visible widget.recaptcha_enterprise— enterprise.js instead of api.js, with a checkbox-style widget. Score-based Enterprise keys are not supported.turnstile— a script from challenges.cloudflare.com/turnstile and an element with class cf-turnstile.datadome— a 403 response whose page loads an iframe from geo.captcha-delivery.com.geetest— a script from static.geetest.com and an initGeetest call with gt and challenge values.geetest_v4— gt4.js or gcaptcha4.geetest.com, with a captcha_id in the script URL or the initGeetest4 call.yandex_smartcaptcha— a script from smartcaptcha.yandexcloud.net and an element with class smart-captcha and a data-sitekey.image— a picture of distorted letters or digits next to a text field.
Response time: wait or poll
With ?wait=N the request stays open for up to N seconds (120 at most) and returns the solution as soon as it is ready. That is the simplest integration for scripts and agents.
Without it, the call returns 202 straight away with a task id. Poll GET /v1/task/{id} every five seconds until the status is ready or failed. A ready solution stays retrievable for ten minutes.
Every ready task reports solveTime in seconds, so you can measure response time on your own targets instead of relying on anyone's averages.
Fields that decide acceptance
proxy takes a string such as http://user:pass@host:port (http, socks4 and socks5 are accepted). It is optional on token-based challenges and required on DataDome. Passing the proxy that will submit the token is the single biggest lever on acceptance: a token minted behind a different IP is the most common reason a valid-looking token is rejected.
action and minScore apply to score-based reCAPTCHA. Send the action the page itself reports, or the score is discounted at verification. When the solution includes a userAgent, replay it exactly on submission.
Using the solution
- reCAPTCHA v2 and v3: put the token in the
g-recaptcha-responsefield or the request parameter the page sends, or pass it to the page's callback. - Turnstile: put the token in
cf-turnstile-responseand send the returneduserAgentwith the submission. - DataDome: set the
datadomecookie for the site's domain and repeat the blocked request through the same proxy. - Image: type the
textinto the captcha field in the same session that loaded the image.
Integration checklist
- Send the proxy that will submit the token, and replay the returned
userAgentexactly. - For reCAPTCHA v3, send the page's own
actionand the lowestminScorethe site accepts. - Solve just before you submit: reCAPTCHA tokens last about two minutes, Turnstile tokens up to five.
- Retry
unsolvableandcapacity_unavailablewith backoff; do not retryinvalid_api_keyorinsufficient_balance. - Use a separate API key per project or customer, so usage per key is visible in the dashboard.
Errors
Errors carry a stable machine-readable code and a human message, either as { "error": { "code", "message" } } or on a task with status: "failed". Anything that did not produce a usable solution is not billed.
invalid_api_key(401) — Key missing, revoked or wrong.insufficient_balance(402) — Balance cannot cover one solve. Top up.unsupported_type(400 / 422) — Unknown type, missing url, or a required field missing.invalid_sitekey(400 / 422) — The sitekey was rejected for that page.proxy_required(422) — DataDome was requested without a proxy.proxy_unreachable(400 / 422) — Proxy string malformed or the proxy refused the connection.unsolvable(422) — The challenge could not be solved. Not billed.capacity_unavailable(503 / 422) — Temporarily unable to accept solves. Retry with backoff.task_not_found(404) — No task with that id on your account.upstream_error(422) — The solve could not be completed. Not billed.
Billing
Every ready response reports its cost in USD, deducted from your prepaid balance. Failed solves cost nothing. Prices for every type are on the pricing page.
SDKs
The API is plain HTTPS and JSON, so no package is required. If you prefer one, the official open-source SDKs wrap every type, typed errors and the blocking wait: Python, Node.js and TypeScript, Go (Golang) and PHP.
Examples
Working examples for Selenium, Puppeteer, Playwright and Scrapy, and tool wrappers for AI agent frameworks, are in the docs.
Ready to build?
Start with a free 7-day trial of the Hobby plan, then pay per successful solve or keep the plan as your traffic grows. Cancel before the trial ends and you pay nothing.