Documentation

Captora API.

One API for every captcha. Create a task, poll for the result, use the token.

Quickstart

Captora solves captchas with one call. Send the address of a page that shows a captcha. We find the captcha, solve it and return the token. You never choose a captcha type.

  1. Create an account and create an API key in your dashboard.
  2. Add credits (minimum ₹100).
  3. Call POST /v1/solve with the page address, then check the task until it completes.
# Send the page address. Captora finds the captcha and solves it.curl -X POST https://api.captora.me/v1/solve \  -H "Authorization: Bearer YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{ "websiteURL": "https://example.com/login" }'

You get a task ID straight away, and we tell you what we found:

{  "taskId": "task_1a2b3c4d5e",  "status": "processing",  "detected": {    "type": "recaptcha_v2",    "label": "reCAPTCHA v2",    "auto": true,    "price_paise": 20,    "why": "reCAPTCHA v2 site key found on the page",    "websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"  }}

Check the task every few seconds:

curl https://api.captora.me/v1/tasks/task_1a2b3c4d5e \  -H "Authorization: Bearer YOUR_API_KEY"
{  "taskId": "task_1a2b3c4d5e",  "status": "completed",  "type": "recaptcha_v2",  "result": { "token": "03AFcWeA..." },  "usage": { "charged_paise": 20 }}

A complete example in JavaScript:

async function solvePage(websiteURL) {  const headers = { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" };  const created = await fetch("https://api.captora.me/v1/solve", {    method: "POST",    headers,    body: JSON.stringify({ websiteURL }),  }).then((r) => r.json());  if (!created.taskId) throw new Error(created.error + ": " + created.message);  for (let i = 0; i < 60; i++) {    await new Promise((r) => setTimeout(r, 3000));    const task = await fetch(`https://api.captora.me/v1/tasks/${created.taskId}`, { headers }).then((r) => r.json());    if (task.status === "completed") return task.result.token;    if (task.status === "failed") throw new Error("Could not be solved (refunded)");  }  throw new Error("Timed out");}

Prefer a ready-made client? See the SDKs: one line, solveUrl("https://example.com/login").

How it works

  1. You send a page address. POST /v1/solve with websiteURL. We open the page, look for a captcha, and read its settings (site key, action and so on).
  2. We recognise it. reCAPTCHA (v2, v3, Enterprise), hCaptcha, Cloudflare Turnstile, FunCaptcha, GeeTest v4, MTCaptcha and Friendly Captcha are recognised automatically. The response tells you what we found and its price.
  3. We solve it. The task goes to the best available solver and retries on another automatically if one fails.
  4. You collect the token. GET /v1/tasks/{taskId} returns processing, then completed with your token, or failed.
  5. Billing. You pay only for solved captchas, at the price of the captcha we found. Failed tasks, and requests where we can't find a captcha, are not charged.

When the page can't be read by us

Some sites add the captcha with JavaScript after the page loads, or sit behind a login. In those cases send the page's html (from your browser or scraper), or its websiteKey, and we recognise the captcha from that instead.

# Pages that add the captcha with JavaScript, or that need a login:# send the page's HTML (from your browser or scraper) and we read it instead of fetching the page.curl -X POST https://api.captora.me/v1/solve \  -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \  -d '{ "websiteURL": "https://example.com/login", "html": "<html>…page source…</html>" }'
# Already know the site key? Send it. We work out the captcha from its shape.curl -X POST https://api.captora.me/v1/solve \  -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \  -d '{ "websiteURL": "https://example.com/login", "websiteKey": "0x4AAAAAAABS7vwvV6VFfMcD" }'

Authentication

Send your API key in the Authorization header on every request: Authorization: Bearer cap_…. Create and revoke keys in your dashboard. A key is shown only once when created, so store it securely and never put it in client-side code.

API reference

POST /v1/solve (recommended)

The one-call API. Send the page that shows a captcha. We recognise the captcha and solve it. Your balance is charged for the captcha we found, and refunded if it can't be solved. If we can't find a captcha, nothing is charged.

FieldDescription
websiteURL *Address of the page that shows the captcha.
htmlThe page's source, for pages that add the captcha with JavaScript or need a login. We read this instead of fetching the page.
websiteKeyThe captcha's site key, if you have it. Helps when a page has several captchas or can't be read.
preferIf a page has more than one captcha, the type you want (for example recaptcha_v2).
max_price_paiseA safety limit. If the captcha we find costs more, we don't solve it and you aren't charged.
typeSkip recognition and name the type yourself (same as POST /v1/tasks).
imageA base64 image, for image captchas. No page needed.
other fieldsSettings for the captcha we find, such as action or rqdata, if you want to set them yourself.

Returns 201 with taskId, status and detected (the type we found, why, and its price). Check the task like any other. If no captcha is found:

{  "error": "no_captcha_found",  "message": "We couldn't find a supported captcha in that page's HTML. …"}

POST /v1/tasks (advanced: you choose the type)

Creates a task for a captcha type you name. Use it when you already know exactly which captcha it is. Your balance is charged immediately and refunded if the task fails.

FieldDescription
typeOne of the task types below.
websiteURLFull URL of the page showing the captcha.
websiteKeyThe captcha's site key from that page.

Returns 201 with taskId and status: "processing".

GET /v1/tasks/{taskId}

Returns the task. status is processing, completed (with result.token) or failed. A task that isn't solved within 5 minutes fails and is refunded.

GET /v1/types

Public list of available types, fields and prices.

GET /v1/balance

Returns { "balance_paise": 20000 }. 100 paise = ₹1.

Task types

You don't need this list to use POST /v1/solve, which recognises the captcha for you. It's for POST /v1/tasks (or the type field of /v1/solve) when you want to name the type yourself. Send the fields below. Field names follow the familiar createTask conventions. Required fields are marked with *.

typeFieldsresultPer 1,000
recaptcha_v2
reCAPTCHA v2
websiteURL*websiteKey*isInvisiblerecaptchaDataSValueapiDomaintoken₹200
hcaptcha
hCaptcha
websiteURL*websiteKey*isEnterpriserqdatatokenrespKeyuserAgent₹170
turnstile
Turnstile
websiteURL*websiteKey*actiondatapagedatatokenuserAgent₹300
recaptcha_v2_enterprise
reCAPTCHA v2 Enterprise
websiteURL*websiteKey*enterprisePayloadisInvisibleapiDomaintoken₹250
recaptcha_v3
reCAPTCHA v3
websiteURL*websiteKey*pageActionminScoreapiDomaintoken₹250
recaptcha_v3_enterprise
reCAPTCHA v3 Enterprise
websiteURL*websiteKey*pageActionminScoreapiDomaintoken₹450
funcaptcha
FunCaptcha (Arkose)
websiteURL*websitePublicKey*funcaptchaApiJSSubdomaindatatoken₹600
geetest
GeeTest v3
websiteURL*gt*challenge*geetestApiServerSubdomainchallengevalidateseccode₹450
geetest_v4
GeeTest v4
websiteURL*initParameters*captcha_idlot_numberpass_tokengen_timecaptcha_output₹450
aws_waf
Amazon AWS WAF
websiteURL*websiteKey*iv*context*challengeScriptcaptchaScriptcaptcha_voucherexisting_token₹300
mtcaptcha
MTCaptcha
websiteURL*websiteKey*token₹500
lemin
Lemin
websiteURL*captchaId*divId*leminApiServerSubdomainanswerchallenge_id₹450
capy
Capy Puzzle
websiteURL*websiteKey*captchakeychallengekeyanswerrespKey₹450
friendly_captcha
Friendly Captcha
websiteURL*websiteKey*versiontoken₹400
cutcaptcha
CutCaptcha
websiteURL*sitekeymiseryKeyapiKeytoken₹450
image_to_text
Image captcha
body*phrasecasenumericmathminLengthmaxLengthcommenttext₹150
text_captcha
Text captcha
comment*text₹150
coordinates
Click captcha
body*commentminClicksmaxClickscoordinates₹200
rotate
Rotate captcha
body*anglecommentrotate₹150

Call GET /v1/types (no key needed) for the live list of types and prices.

Drop-in compatibility

Already integrated with another captcha-solving service? You don't need to rewrite anything. Captora accepts the two most common request styles. Change the host to api.captora.me and use your Captora API key. Billing, routing and refunds work exactly as in the native API.

Classic style: in.php / res.php

curl "https://api.captora.me/in.php?key=YOUR_API_KEY&method=hcaptcha&sitekey=SITE_KEY&pageurl=https://example.com&json=1"# {"status":1,"request":"task_1a2b3c4d5e"}
curl "https://api.captora.me/res.php?key=YOUR_API_KEY&action=get&id=task_1a2b3c4d5e&json=1"# {"status":0,"request":"CAPCHA_NOT_READY"}   (try again in a few seconds)# {"status":1,"request":"P1_..."}             (your token)

Supported method values: userrecaptcha (with version=v3 and enterprise=1), hcaptcha, turnstile, funcaptcha, geetest, base64 (image) and textcaptcha. Responses are plain text (OK|id) or JSON with json=1. Both GET and POST work.

Task style: createTask / getTaskResult

curl -X POST https://api.captora.me/createTask -H "Content-Type: application/json" -d '{  "clientKey": "YOUR_API_KEY",  "task": { "type": "HCaptchaTaskProxyless", "websiteURL": "https://example.com", "websiteKey": "SITE_KEY" }}'# {"errorId":0,"taskId":"task_1a2b3c4d5e"}curl -X POST https://api.captora.me/getTaskResult -H "Content-Type: application/json" -d '{  "clientKey": "YOUR_API_KEY", "taskId": "task_1a2b3c4d5e"}'# {"errorId":0,"status":"processing"}# {"errorId":0,"status":"ready","solution":{"gRecaptchaResponse":"P1_...","token":"P1_..."}}

Send JSON to POST /createTask, /getTaskResult and /getBalance with your key as clientKey. Common task names for all available types are recognized (for example RecaptchaV2TaskProxyless, ReCaptchaV2TaskProxyLess, HCaptchaTaskProxyless, TurnstileTaskProxyless, AntiTurnstileTaskProxyLess, ImageToTextTask).

Things to know

  • Only proxyless task variants are supported. Tasks that require your own proxy return ERROR_TASK_NOT_SUPPORTED.
  • Only captcha types marked Available are accepted. Others return ERROR_METHOD_DOES_NOT_EXIST or ERROR_TASK_NOT_SUPPORTED.
  • Balances are in Indian rupees (INR), not US dollars.
  • Task IDs are strings (for example task_1a2b3c4d5e), not numbers.
  • Common errors: ERROR_KEY_DOES_NOT_EXIST, ERROR_ZERO_BALANCE, ERROR_WRONG_GOOGLEKEY, ERROR_PAGEURL, CAPCHA_NOT_READY, ERROR_CAPTCHA_UNSOLVABLE, ERROR_NO_SLOT_AVAILABLE.

Errors

Errors return a JSON body such as { "error": "invalid_request" }.

HTTPerrorMeaning
400invalid_requestMissing or invalid field.
401unauthorizedMissing, invalid or revoked API key.
402insufficient_balanceTop up your credits.
404not_foundUnknown task ID.
422no_captcha_foundWe couldn't find a supported captcha on the page. Send the page's html or its websiteKey. Not charged.
422needs_more_infoWe found the captcha but need one more value (the response lists it in missing). Not charged.
422page_unreachableWe couldn't open the page. Send its html or websiteKey instead. Not charged.
422invalid_urlThat isn't a public web address we can open. Use a full https:// address. Not charged.
409price_exceeds_maxThe captcha we found costs more than your max_price_paise. Not charged.
503service_unavailableNo solver could accept the task. You were not charged.

Classic style (in.php / res.php)

ResponseMeaning
CAPCHA_NOT_READYStill solving. Check again in a few seconds.
ERROR_WRONG_USER_KEY / ERROR_KEY_DOES_NOT_EXISTMissing or unknown API key.
ERROR_ZERO_BALANCEAdd credits.
ERROR_WRONG_GOOGLEKEY / ERROR_PAGEURLThe site key or page URL is missing.
ERROR_METHOD_DOES_NOT_EXISTUnknown method, or a captcha type that isn't available yet.
ERROR_BAD_PARAMETERSA required field is missing.
ERROR_NO_SLOT_AVAILABLENo solver could take the task. Retry shortly. You were not charged.
ERROR_CAPTCHA_UNSOLVABLECould not be solved. You were refunded.
ERROR_WRONG_CAPTCHA_IDUnknown task ID.

Task style (createTask / getTaskResult)

Errors return errorId: 1 with an errorCode such as ERROR_KEY_DOES_NOT_EXIST, ERROR_ZERO_BALANCE, ERROR_TASK_NOT_SUPPORTED, ERROR_BAD_PARAMETERS, ERROR_NO_SLOT_AVAILABLE or ERROR_NO_SUCH_CAPCHA_ID. An unsolved task returns errorId: 12 with ERROR_CAPTCHA_UNSOLVABLE and is refunded.

Billing

Billing is prepaid in INR. Each completed task deducts its rate (see pricing). Failed tasks are refunded automatically and credits don't expire. See the refund policy.

Top up ₹2,000 or more in one payment and we add bonus credit: 3% from ₹2,000, 5% from ₹10,000 and 7% from ₹25,000.

Full examples

Python:

import time, requestsAPI = "https://api.captora.me"HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}def solve_page(website_url, **extra):    created = requests.post(f"{API}/v1/solve", headers=HEADERS,                            json={"websiteURL": website_url, **extra}).json()    if "taskId" not in created:        raise RuntimeError(f"{created.get('error')}: {created.get('message')}")    for _ in range(60):        time.sleep(3)        task = requests.get(f"{API}/v1/tasks/{created['taskId']}", headers=HEADERS).json()        if task["status"] == "completed":            return task["result"]        if task["status"] == "failed":            raise RuntimeError("Could not be solved (refunded)")    raise TimeoutError("Timed out")print(solve_page("https://example.com/login"))

The JavaScript version is in the quickstart. Each captcha type has its own example in the captcha reference.

SDKs

Single-file clients with no dependencies, for Python, JavaScript, PHP, Java, C#, Go, Ruby. Each one handles polling and errors for you.

Browse all SDKs

Retries & timeouts

  • A task that is not solved within 5 minutes fails and is refunded.
  • 503 service_unavailable means no solver could take the task and you were not charged. It is safe to retry after a few seconds.
  • 402 insufficient_balance: add credits in the dashboard, then retry.
  • Creating a task is not idempotent. If your request times out before you receive a taskId, check your balance before retrying to avoid a duplicate charge.

Security

  • API keys are stored hashed and shown once. Revoke a leaked key instantly.
  • Call the API from your server, never from a browser or mobile app.
  • All traffic uses HTTPS. Create separate keys per project to limit exposure.
  • See the privacy policy for how task data is handled.

Best practices

  • Poll every 3–5 seconds. Most tasks finish within a minute.
  • Use tokens immediately. Captcha tokens expire quickly.
  • Keep your API key on your server and revoke it if it leaks.
  • Only use Captora where you're authorized. See the terms.

Changelog

v1 · 27 Nov 2026 · Initial release with reCAPTCHA v2, hCaptcha and Turnstile, prepaid credits, API keys and the dashboard. Additional captcha types are rolling out.