Skip to content

hCaptcha Enterprise

Solve hCaptcha Enterprise with the enterprise_hcaptcha type: rqdata, proxy, user agent and screen size, code samples, compatible names and fixes.

hCaptcha Drag the matching shape into place
Challenge
hCaptcha challenge: drag the matching shape into place
Answer
hCaptcha challenge: drag the matching shape into place, answered
piece placed, passed hCaptcha checkcaptcha

Use the enterprise_hcaptcha type for sites on hCaptcha’s Enterprise plan. It takes the same fields as standard hCaptcha, and it uses your proxy, user agent and screen size so the token matches the request you will send.

Overview

Enterprise hCaptcha looks like the normal widget, but the site has more checks turned on. Many Enterprise sites send rqdata, a value made fresh for each challenge. Many also compare the browser and network that earned the token with the ones that submit the form.

type enterprise_hcaptcha
Needs a site key Yes
Optional extras rqdata, proxy, user_agent, screen, invisible
You get solution.token (starts with P1_)

When to pick it: the site is a large platform, it sends rqdata, or tokens from standard_hcaptcha keep getting refused. For sites running hCaptcha’s full browser check, see hsw_hcaptcha.

Before you start

  1. Create an API key in the dashboard under API keys (starts with drx_) and add funds.
  2. Find the site key: search the page source for data-sitekey, or open the developer tools, Network tab, and look for sitekey= in requests to hcaptcha.com.
  3. Find the rqdata, if the site uses it:
    • In the Network tab, look at the requests to hcaptcha.com while the captcha loads. An rqdata value there means the site uses it.
    • Many sites get the value from their own API first (for example in the reply to a login or sign-up attempt). Find that reply and read the value from it.
    • rqdata is usually new every time. Get a fresh one for each task.
  4. Decide what your script will look like: the proxy it uses, its Chrome user agent and a screen size that fits it.

Request fields

Field Required What to put
type Yes enterprise_hcaptcha
website_url Yes The full address of the page with the captcha.
website_key Yes The hCaptcha site key.
rqdata No The site’s rqdata for this attempt. Up to 8,000 characters.
proxy No user:pass@host:port, host:port, or with a scheme: http://, https:// or socks5://. SOCKS works only without a login and password. The challenge is loaded through it. If it can’t be used, the task fails rather than running without it.
user_agent No A Chrome user agent. The solve uses it, along with the browser hints that match it. Empty means a normal device’s own browser.
screen No WIDTHxHEIGHT, for example 1920x1080. Each side 200 to 16384. Keep it believable for your user agent.
invisible No true for widgets without a checkbox.

Create the task

curl

curl -s -X POST https://draxon.one/api/captcha/v1/tasks \
  -H "Authorization: Bearer $DRAXON_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: signup-77120" \
  -d '{
    "type": "enterprise_hcaptcha",
    "website_url": "https://example.com/signup",
    "website_key": "10000000-ffff-ffff-ffff-000000000001",
    "rqdata": "F49aX930KlmQ...",
    "proxy": "http://user:[email protected]:8080",
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",
    "screen": "1920x1080"
  }'

Python

import os
import requests

API = "https://draxon.one/api/captcha/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['DRAXON_KEY']}"}
PROXY = "http://user:[email protected]:8080"
UA = ("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 "
      "(KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36")

task = requests.post(f"{API}/tasks", headers=HEADERS, timeout=30, json={
    "type": "enterprise_hcaptcha",
    "website_url": "https://example.com/signup",
    "website_key": "10000000-ffff-ffff-ffff-000000000001",
    "rqdata": fresh_rqdata,  # taken from the site right before this call
    "proxy": PROXY,
    "user_agent": UA,
    "screen": "1920x1080",
}).json()

while task["status"] in ("queued", "processing"):
    task = requests.get(f"{API}/tasks/{task['id']}", params={"wait": 60},
                        headers=HEADERS, timeout=90).json()

if task["status"] == "solved":
    token = task["solution"]["token"]
    # Submit the form through PROXY with User-Agent: UA

Node.js

const API = "https://draxon.one/api/captcha/v1";
const headers = {
  Authorization: `Bearer ${process.env.DRAXON_KEY}`,
  "Content-Type": "application/json",
};

let task = await (await fetch(`${API}/tasks`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    type: "enterprise_hcaptcha",
    website_url: "https://example.com/signup",
    website_key: "10000000-ffff-ffff-ffff-000000000001",
    rqdata: freshRqdata,
    proxy: "http://user:[email protected]:8080",
    user_agent: userAgent,
    screen: "1920x1080",
  }),
})).json();

while (task.status === "queued" || task.status === "processing") {
  task = await (await fetch(`${API}/tasks/${task.id}?wait=60`, { headers })).json();
}

Get the result

Use ?wait=60 (0 to 120 seconds) to wait for the answer in one request.

curl -s -H "Authorization: Bearer $DRAXON_KEY" \
  "https://draxon.one/api/captcha/v1/tasks/<id>?wait=60"

A solved task (cost fields left out):

{
  "id": "3f0d9a7e-2c41-4f8b-9d3a-6a1e5b7c2d90",
  "type": "enterprise_hcaptcha",
  "status": "solved",
  "website_host": "example.com",
  "attempts": 1,
  "created_at": "2026-10-30T10:00:00Z",
  "completed_at": "2026-10-30T10:00:21Z",
  "solution": {
    "token": "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
  },
  "error": null
}

If the answer includes solution.user_agent, use that exact value when you submit.

Use the answer

  • Put solution.token in h-captcha-response, and in g-recaptcha-response if the form has it. If the site sends the token in JSON or a header, do what the page does.
  • Submit through the same proxy you sent, with the same user agent. Matching is the whole point of this type.
  • Submit right away. Tokens are single-use and expire quickly.
  • If the site uses rqdata, the token belongs to that rqdata. Use it for the attempt the rqdata came from.

Compatible API names

Change your tool’s address to https://draxon.one/api/captcha/compat and use your DraxonCloud key as the client key.

Service style Name for this type
CapSolver / Anti-Captcha createTask HCaptchaEnterpriseTask, HCaptchaEnterpriseTaskProxyless, or HCaptchaTask / HCaptchaTaskProxyless with "isEnterprise": true
2Captcha in.php method=hcaptcha with enterprise=1

rqdata is read from task.enterprisePayload.rqdata, then task.rqdata, then task.data. On 2Captcha it goes in data. The user agent goes in userAgent, and the proxy in proxy or the split proxyType / proxyAddress / proxyPort / proxyLogin / proxyPassword fields.

curl -s -X POST https://draxon.one/api/captcha/compat/createTask \
  -H "Content-Type: application/json" \
  -d '{
    "clientKey": "'"$DRAXON_KEY"'",
    "task": {
      "type": "HCaptchaEnterpriseTask",
      "websiteURL": "https://example.com/signup",
      "websiteKey": "10000000-ffff-ffff-ffff-000000000001",
      "enterprisePayload": {"rqdata": "F49aX930KlmQ..."},
      "proxy": "http://user:[email protected]:8080",
      "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) ... Chrome/141.0.0.0 Safari/537.36"
    }
  }'

See Compatible APIs for result formats.

Errors and fixes

When you create a task:

Error What it means What to do
422 validation_error on website_key The site key is missing. Copy it from the page.
422 validation_error on website_url Not a full http(s):// address, or too long. Send the full page address.
422 validation_error on screen The size is not WIDTHxHEIGHT within 200 to 16384. Send something like 1920x1080.
422 validation_error on rqdata, proxy or user_agent The value is too long. Send only the value itself.
422 target_blocked This website is not served. Pick a site you are allowed to automate.
402 insufficient_balance / spend_cap_reached Not enough funds, or the key’s daily limit. Add funds or raise the limit.

When a task ends without a token:

error.code What it means What to do
solve_failed The captcha could not be passed. Get fresh rqdata and try a new task.
Proxy failure Your proxy could not be used (wrong address or login, offline, or SOCKS with a password). Check the proxy, or use an http:// proxy if you need a login.
expired Not finished within about 3 minutes. Try again.

You are not charged for failed or expired tasks. The site refuses the token? Most of the time the rqdata was old, or the form was sent from a different IP or user agent than the solve. More codes on the errors page.

Price and billing

Enterprise has its own price, shown on the pricing page and in GET /api/captcha/v1/families. Creating a task holds that amount, a solved task is charged, and a failed or expired task is released at no cost.