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.
- Create an account and create an API key in your dashboard.
- Add credits (minimum ₹100).
- Call
POST /v1/solvewith 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
- You send a page address.
POST /v1/solvewithwebsiteURL. We open the page, look for a captcha, and read its settings (site key, action and so on). - 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.
- We solve it. The task goes to the best available solver and retries on another automatically if one fails.
- You collect the token.
GET /v1/tasks/{taskId}returnsprocessing, thencompletedwith your token, orfailed. - 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.
| Field | Description |
|---|---|
websiteURL * | Address of the page that shows the captcha. |
html | The page's source, for pages that add the captcha with JavaScript or need a login. We read this instead of fetching the page. |
websiteKey | The captcha's site key, if you have it. Helps when a page has several captchas or can't be read. |
prefer | If a page has more than one captcha, the type you want (for example recaptcha_v2). |
max_price_paise | A safety limit. If the captcha we find costs more, we don't solve it and you aren't charged. |
type | Skip recognition and name the type yourself (same as POST /v1/tasks). |
image | A base64 image, for image captchas. No page needed. |
| other fields | Settings 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.
| Field | Description |
|---|---|
type | One of the task types below. |
websiteURL | Full URL of the page showing the captcha. |
websiteKey | The 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 *.
type | Fields | result | Per 1,000 |
|---|---|---|---|
recaptcha_v2reCAPTCHA v2 | websiteURL*websiteKey*isInvisiblerecaptchaDataSValueapiDomain | token | ₹200 |
hcaptchahCaptcha | websiteURL*websiteKey*isEnterpriserqdata | tokenrespKeyuserAgent | ₹170 |
turnstileTurnstile | websiteURL*websiteKey*actiondatapagedata | tokenuserAgent | ₹300 |
recaptcha_v2_enterprisereCAPTCHA v2 Enterprise | websiteURL*websiteKey*enterprisePayloadisInvisibleapiDomain | token | ₹250 |
recaptcha_v3reCAPTCHA v3 | websiteURL*websiteKey*pageActionminScoreapiDomain | token | ₹250 |
recaptcha_v3_enterprisereCAPTCHA v3 Enterprise | websiteURL*websiteKey*pageActionminScoreapiDomain | token | ₹450 |
funcaptchaFunCaptcha (Arkose) | websiteURL*websitePublicKey*funcaptchaApiJSSubdomaindata | token | ₹600 |
geetestGeeTest v3 | websiteURL*gt*challenge*geetestApiServerSubdomain | challengevalidateseccode | ₹450 |
geetest_v4GeeTest v4 | websiteURL*initParameters* | captcha_idlot_numberpass_tokengen_timecaptcha_output | ₹450 |
aws_wafAmazon AWS WAF | websiteURL*websiteKey*iv*context*challengeScriptcaptchaScript | captcha_voucherexisting_token | ₹300 |
mtcaptchaMTCaptcha | websiteURL*websiteKey* | token | ₹500 |
leminLemin | websiteURL*captchaId*divId*leminApiServerSubdomain | answerchallenge_id | ₹450 |
capyCapy Puzzle | websiteURL*websiteKey* | captchakeychallengekeyanswerrespKey | ₹450 |
friendly_captchaFriendly Captcha | websiteURL*websiteKey*version | token | ₹400 |
cutcaptchaCutCaptcha | websiteURL*sitekeymiseryKeyapiKey | token | ₹450 |
image_to_textImage captcha | body*phrasecasenumericmathminLengthmaxLengthcomment | text | ₹150 |
text_captchaText captcha | comment* | text | ₹150 |
coordinatesClick captcha | body*commentminClicksmaxClicks | coordinates | ₹200 |
rotateRotate captcha | body*anglecomment | rotate | ₹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_EXISTorERROR_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" }.
| HTTP | error | Meaning |
|---|---|---|
| 400 | invalid_request | Missing or invalid field. |
| 401 | unauthorized | Missing, invalid or revoked API key. |
| 402 | insufficient_balance | Top up your credits. |
| 404 | not_found | Unknown task ID. |
| 422 | no_captcha_found | We couldn't find a supported captcha on the page. Send the page's html or its websiteKey. Not charged. |
| 422 | needs_more_info | We found the captcha but need one more value (the response lists it in missing). Not charged. |
| 422 | page_unreachable | We couldn't open the page. Send its html or websiteKey instead. Not charged. |
| 422 | invalid_url | That isn't a public web address we can open. Use a full https:// address. Not charged. |
| 409 | price_exceeds_max | The captcha we found costs more than your max_price_paise. Not charged. |
| 503 | service_unavailable | No solver could accept the task. You were not charged. |
Classic style (in.php / res.php)
| Response | Meaning |
|---|---|
CAPCHA_NOT_READY | Still solving. Check again in a few seconds. |
ERROR_WRONG_USER_KEY / ERROR_KEY_DOES_NOT_EXIST | Missing or unknown API key. |
ERROR_ZERO_BALANCE | Add credits. |
ERROR_WRONG_GOOGLEKEY / ERROR_PAGEURL | The site key or page URL is missing. |
ERROR_METHOD_DOES_NOT_EXIST | Unknown method, or a captcha type that isn't available yet. |
ERROR_BAD_PARAMETERS | A required field is missing. |
ERROR_NO_SLOT_AVAILABLE | No solver could take the task. Retry shortly. You were not charged. |
ERROR_CAPTCHA_UNSOLVABLE | Could not be solved. You were refunded. |
ERROR_WRONG_CAPTCHA_ID | Unknown 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.
Retries & timeouts
- A task that is not solved within 5 minutes fails and is refunded.
503 service_unavailablemeans 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.