Skip to content

type: hsw_hcaptcha

For hCaptcha sites that check harder.

Some sites run hCaptcha with its full browser check, called HSW. Send the page and site key with this type and get a token made for those sites.

hCaptcha Click on all cells where two lines overlap
Challenge
hCaptcha challenge: click on all cells where two lines overlap
Answer
hCaptcha challenge: click on all cells where two lines overlap, answered
3 clicks, passed hCaptcha checkcaptcha
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

What is hCaptcha HSW?

Every hCaptcha box does two jobs. The first one you can see: the checkbox and, sometimes, a picture puzzle. The second one you can’t see. While the box is open, hCaptcha runs a check inside your browser to make sure a real browser is there. hCaptcha calls this check HSW.

On many sites the check is light. On others, the site runs it in full, and hCaptcha looks much more closely at the browser before it hands out a token. To the person on the page, nothing looks different. To a script, it makes a big difference. Tokens that work fine on most sites can be refused on these.

This type is for those stricter sites. You send the same simple request as for normal hCaptcha, and you get a token made to pass the full check.

How to solve hCaptcha HSW with DraxonCloud

  1. Copy the page address and the hCaptcha site key.
  2. If the site sends rqdata, grab a fresh value.
  3. Send them to our API with the type hsw_hcaptcha.
  4. Wait for the answer in one request.
  5. Put the token in the form and submit it.

What you send

  • website_url: the full address of the page that shows the captcha.
  • website_key: the hCaptcha site key, a public ID that looks like 10000000-ffff-ffff-ffff-000000000001. Find it as data-sitekey in the page source, or as sitekey= in the requests the page sends to hcaptcha.com (developer tools, Network tab).
  • rqdata (optional): extra data some sites add to each challenge. If you see rqdata in the page’s requests to hcaptcha.com, send a fresh value. If not, leave it out.
  • invisible (optional): true if the widget has no checkbox.
  • proxy and user_agent (optional): only if you have a reason.

These are exactly the fields of standard hCaptcha. Moving between the two only means changing type.

What you get back

A solved task gives you solution.token, a long string that starts with P1_. If the answer also has solution.user_agent, use that value as your User-Agent when you submit.

Using the token is the same as for any hCaptcha:

  • Put it in the hidden h-captcha-response field.
  • Put it in g-recaptcha-response too, if the form has that field.
  • Submit the form. If the site sends the token another way, copy what the page does in the Network tab.
  • Use it quickly. It works once and expires soon.

A quick example

curl -s -X POST https://draxon.one/api/captcha/v1/tasks \
  -H "Authorization: Bearer $DRAXON_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "hsw_hcaptcha",
    "website_url": "https://example.com/login",
    "website_key": "10000000-ffff-ffff-ffff-000000000001"
  }'

Then wait for the result:

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

When it’s ready (some fields left out):

{
  "status": "solved",
  "solution": {
    "token": "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
  }
}

How to pick the right hCaptcha type

A simple way to decide:

  1. Start with standard hCaptcha. It covers most sites.
  2. If the site is a big platform on hCaptcha’s paid plan, often sending rqdata and caring about your proxy and browser, use hCaptcha Enterprise.
  3. If standard tokens are refused and the site runs the full browser check, use HSW (this page).

Because the fields are the same, you can test all three on a site by only changing the type.

Already using another service?

  • CapSolver and Anti-Captcha style: createTask with HCaptchaHSWTask or HCaptchaHSWTaskProxyless.
  • 2Captcha style: in.php with method=hcaptcha_hsw, sitekey and pageurl. Put rqdata in data.

Point your tool at our compatible address and use your DraxonCloud key. Details are on Compatible APIs.

When a token is refused

A refused token usually comes down to one of these:

  1. Wrong site key or page. Copy both from the exact page you submit on.
  2. Missing or old rqdata. If the site uses rqdata, send a fresh value for every task.
  3. A late submit. Tokens don’t last. Send the form right after you get the token.
  4. Missing fields. Fill h-captcha-response and, if present, g-recaptcha-response.
  5. The wrong type. If the site is a large platform on hCaptcha’s paid plan, try hCaptcha Enterprise.

You pay nothing for tasks that fail, so it is cheap to test which type a site needs.

What it costs

You pay for each solved HSW captcha. The live price is in the box at the top of this page and on the pricing page. The amount is set aside when you start the task, charged only when you get a token, and fully returned if the task fails or times out. You can never be charged twice for one task.

Tips that save you time

  • Test standard first. If it works on your site, you don’t need HSW.
  • Keep the site key and page address exact. A key from a different page of the same site may not work.
  • Send fresh rqdata when the site uses it, never an old value.
  • Submit right away. HSW tokens are single-use like every hCaptcha token.
  • Wait in one request with ?wait=60 instead of checking again and again.
  • Use an Idempotency-Key when you retry after a network error.

The full reference, with Python and Node.js code, is in the hCaptcha HSW docs.

hCaptcha HSW at a glance
type
hsw_hcaptcha
you send
website_url, website_key
optional
rqdata, proxy, user_agent
you get
hCaptcha response token (P1_…)
price
$0.005000 per solve, $5.00 per 1,000
not solved?
nothing is charged

Questions people ask

Short, plain answers. The docs have every detail.

What does HSW mean?

HSW is the name of hCaptcha's own browser check, the part that proves a real browser is behind the captcha. Some sites run it in full. This type is made for those sites.

How do I know I need HSW and not standard hCaptcha?

Try standard hCaptcha first. If the site keeps refusing those tokens even though the site key and page are right, switch the type to hsw_hcaptcha.

Do I send anything different?

No. It takes the same fields as standard hCaptcha: the page, the site key and, if the site uses it, rqdata. Only the type changes.

Where does the token go?

Same place as any hCaptcha token: the h-captcha-response field, and g-recaptcha-response if the form has it.

What happens if a solve fails?

You pay nothing. The price is held while the task runs, then given back if it fails or times out.

Does it work with my 2Captcha or CapSolver code?

Yes. Use HCaptchaHSWTask or HCaptchaHSWTaskProxyless in createTask, or method=hcaptcha_hsw on 2Captcha, with your DraxonCloud key.

Am I allowed to use this on any site?

Only on sites you have the right to automate. Some sites are blocked on our side. Please read the Terms before you start.

hCaptcha HSW without a browser of your own

What each way of getting a token asks of you, and the three steps this one takes.

Ways to get a hCaptcha HSW token, compared
Approach What you run Where the token comes from What tends to break
Your own browser automation A real browser per solve, with a driver and a display You answer the puzzle yourself, or you babysit it Puzzle layouts change and the script that clicked them stops working
A solver stack of your own Recognition models, a browser, and the plumbing between them Yours, as long as the models keep up with the puzzles Puzzles that need a browser session still need a browser session
DraxonCloud One HTTPS request from anything that can send one The hCaptcha HSW token, returned by the API Nothing you host; the response tells you why a task failed

Costs above are what each approach asks of you, not a claim about which is cheaper at every volume. The hCaptcha HSW docs list every field and every error code.

  1. 01

    Create a key

    Make an account and create an API key from the dashboard. It starts with drx_ and carries the scopes you pick.

  2. 02

    Send the hCaptcha HSW details

    One request with the page address, the site key and the type hsw_hcaptcha. Add rqdata, a proxy or a user agent only if the site needs them.

  3. 03

    Use the token

    The answer carries the token your form expects. Submit the form through the same proxy and user agent you solved with.

Start solving hCaptcha HSW today.

Make an account, add funds, create a key. If a captcha is not solved, you pay nothing.