---
title: "hCaptcha: the \"I am human\" check that blocks your bot"
description: "hCaptcha shows a checkbox or image grid when a visit looks automated. What it means, why your scraper gets it, and how to fix it."
url: "https://scrapenews.com/errors/hcaptcha"
updated: "2026-11-16T00:00:00Z"
---

# hCaptcha: the "I am human" check that blocks your bot

CAPTCHAs · hCaptcha

Published 16 Nov 2026

**Made by**

hCaptcha

**Variants**

checkbox · invisible · image grid · area select · multi-round · 99.9% Passive (Pro, Enterprise) · Passive (Enterprise) · accessibility text challenge

What you see

- `I am human`
- `Please click each image containing a bus`
- `Protected by hCaptcha`
- `h-captcha-response`

**More error strings (6)**

- `<div class="h-captcha" data-sitekey=`
- `https://js.hcaptcha.com/1/api.js`
- `invalid-input-response`
- `expired-input-response`
- `already-seen-response`
- `sitekey-secret-mismatch`

## What it means

The site uses hCaptcha to check if you’re a person. Your visit looked automated, so it asked for proof: a click, or a grid of pictures. Until you pass, the form or page won’t go through.

## Why it happens

hCaptcha watches your browser, network and how you interact, then decides whether to challenge you. A clean session may pass with one click. A flagged one gets round after round of image grids. Usual reasons it flags you:

1. **Headless or automated browser.** The FuckCaptcha field guide says headless Chrome is “heavily penalized”.
2. **A fresh, empty profile.** No cookies or history looks odd, the same guide says.
3. **A suspicious IP or mismatch.** A datacenter IP, or an IP country that doesn’t match the browser’s language and timezone.
4. **The site turned the difficulty up.** Each site sets its own level per sitekey (the site’s public ID for the widget).
5. **Enterprise risk score.** On hCaptcha Enterprise the site gets a score for each visit and sets its own cut-off. A solved puzzle can still be rejected if the score misses it.

You may never see a puzzle at all. New Pro sitekeys start in “99.9% Passive” mode, which aims to challenge fewer than 0.1% of real people. Enterprise sites can go fully passive: no visible challenge, only the score.

**Accessibility:** image grids shut out many people with low vision or blindness, dyslexia or motor impairments. An accessibility review graded hCaptcha C. hCaptcha offers a text challenge (if the site turns it on) and an accessibility cookie you get by signing up.

How hard the check is depends a lot on the site’s plan. On a basic (Publisher) account the site picks one of 4 levels: Easy, Medium, Difficult or Auto. hCaptcha calls it “Always Challenge”. Auto means every visitor gets a puzzle, just harder or easier ones.

So a perfect setup can still get a puzzle every time. That’s the site’s setting, not your mistake.

Paid plans work the other way round. Pro adds “99.9% Passive”. Enterprise adds that plus “Passive”, and a risk score: hCaptcha’s guess at how likely the visit is fraud or abuse, with reasons attached.

Why more rounds? hCaptcha says it depends on how sure it is you’re human, the site’s level, and other security signals. Fail one and you get a new one.

The accessibility cookie can break too. Ad blockers and settings that block cross-site cookies stop it, because it’s an hcaptcha.com cookie read on another site.

## Fix it

Avoid the check first. Solving puzzles comes last.

1. **Slow down and look like one visitor.** Fewer requests per minute, one session per task.
2. **Use a real, headful browser with a saved profile.** Keep JavaScript, cookies and WebGL on. Reuse the profile between runs.
3. **Match your IP to your browser.** A residential IP (borrowed from someone’s home internet) in the same country as the browser’s language and timezone.
4. **Wait on passive pages.** If no box appears, give the hidden `h-captcha-response` field time to fill by itself.
5. **Checkbox shown?** Click it like a person would, then wait.
6. **Use the token right away.** It lasts 120 seconds and works once. Don’t reload the widget after you get it.
7. **Still stuck? Use a tool that runs the widget for you.** Sorted A–Z, not ranked:
   - Bright Data Browser API: its built-in CAPTCHA solver has an hCaptcha setting.
   - Camoufox and Patchright: stealth browsers that often get passive approval, says the FuckCaptcha guide.
   - ZenRows: says its API gets past hCaptcha without a separate solver.

Heads-up: none of the classic solver APIs we checked list hCaptcha in their docs now (2Captcha, Anti-Captcha, CapMonster Cloud, CapSolver, Death By Captcha, NopeCHA; checked 2026-11-16). NopeCHA’s extension started showing “This API endpoint has been discontinued” for hCaptcha on 2026-10-02, a user reported.

Why avoid first? Because the puzzle is only the visible part. Even when no image grid shows, hCaptcha keeps other checks running on every request, including proof-of-work (small computing jobs your browser has to finish). A plain HTTP script runs no JavaScript, so it never does that work.

The profile, IP and timezone steps all raise how sure hCaptcha is that you’re a person. More sure means fewer puzzles.

On Enterprise sites, solving more grids won’t save a bad session. The FuckCaptcha guide puts it bluntly: the risk score can’t be forged, so work on session quality instead.

And on an “Always Challenge” site, you will get a puzzle no matter what. There, your choices are a person, or a tool that solves it inside a real browser.

Our advice: treat each new challenge as a signal. Slow down and fix the setup before you retry.

Paste this into your AI

```
My scraper hits hCaptcha (the "I am human" checkbox or an image grid) on <site URL pattern>.
What I see: <checkbox only / image grid / nothing, but the form fails>.
Siteverify or form error, if any: <e.g. invalid-input-response>.
Explain in plain words why hCaptcha picked my session.
Then list the likely causes in order, most likely first.
For each cause, give one way to test it and one fix.
My setup: <language + library or browser tool>, <headless or headful>,
<proxy type and country>, <browser language and timezone>,
<do I keep cookies and profile between runs: yes/no>, <requests per minute>.
```

## Dev details

Spot it in the HTML:

```html
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
<div class="h-captcha" data-sitekey="..."></div>
<textarea name="h-captcha-response"></textarea>
```

Other signs: an iframe from `hcaptcha.com` or `newassets.hcaptcha.com`, a “Protected by hCaptcha” link, and sometimes a `g-recaptcha-response` field too (hCaptcha copies reCAPTCHA’s API).

Detect it and wait for a passive token (Playwright):

```js
const hasHcaptcha = await page.locator(".h-captcha, iframe[src*='hcaptcha.com']").count() > 0;
if (hasHcaptcha) {
  // passive / 99.9% Passive: the token may fill on its own
  await page.waitForFunction(() => {
    const t = document.querySelector("[name='h-captcha-response']");
    return t && t.value.length > 0;
  }, null, { timeout: 30_000 });
}
```

Token flow:

1. The page loads `api.js` and renders the widget with the sitekey.
2. hCaptcha scores the session and shows a challenge only if needed.
3. On a pass, the token lands in `h-captcha-response` and goes out with the form.
4. The site’s server checks it with a form-encoded POST (not JSON, not GET):

```bash
curl https://api.hcaptcha.com/siteverify \
  -X POST \
  -d "secret=YOUR-SECRET&remoteip=CLIENT-IP&response=CLIENT-RESPONSE"
```

The JSON answer has `success`, `challenge_ts`, `hostname` and `error-codes`. Enterprise adds `score` and `score_reason`.

| error code | what it means |
| --- | --- |
| `missing-input-response` | no token sent |
| `invalid-input-response` | token is broken or fake |
| `expired-input-response` | token older than 120 s (default) |
| `already-seen-response` | token was already used once |
| `sitekey-secret-mismatch` | sitekey not registered with that secret |

Edge cases:

- **Invisible mode** (no checkbox) is open to all plans; the site calls `hcaptcha.execute()` on a button click.
- **Sitekey binding.** If the server sends the `sitekey` field, a token from another sitekey fails. hCaptcha recommends it so nobody can solve an easy sitekey and redeem the token on a harder one.
- **`hostname` can be `"not-provided"`** when a site gets unusually heavy challenge traffic.
- **Image prompts change often**, the FuckCaptcha guide warns, so self-trained image models need retraining.

In a pipeline, make “hCaptcha shown” a named outcome, not a crash. Check each page for the markers above, log the URL, and count hits per domain. A sudden jump means the site raised its level or flagged your setup.

Never send a page that still shows the widget on to parsing. Retry later or mark it missing.

Why `g-recaptcha-response` sometimes? hCaptcha’s methods are built to match reCAPTCHA’s, so sites can switch with few code changes.

If you run the site:

- A token in the browser proves nothing. hCaptcha says only a `success: true` from siteverify should allow the action.
- Send `remoteip`. It’s optional, but it improves accuracy, and on Enterprise it turns on risk scores.
- Don’t trust `hostname` for security. It comes from the user’s browser.
- Using a Content Security Policy? Allow `https://hcaptcha.com` and `https://*.hcaptcha.com`. Don’t hard-code `newassets.hcaptcha.com`: the asset hosts change.

## Open questions

- 2Captcha hasn’t said whether hCaptcha support is gone for good. A user asked on 2026-11-01; no answer yet.
- NopeCHA hasn’t explained the “endpoint discontinued” error users first reported on 2026-10-02.

Why it matters: code can still call these services for hCaptcha. 2Captcha’s Python SDK still has hCaptcha functions, the user who asked noted, even though the docs list none. If support has ended, that code fails or spins in retries, like the NopeCHA extension did, without a clear error.

Until a vendor says otherwise, plan as if a token API for hCaptcha may not be there. Lean on fewer challenges and on tools that run the widget in a real browser. Check a solver’s current docs before you build on it.

## Questions

### Does 2Captcha still solve hCaptcha?

Its API v2 docs list no hCaptcha method (checked 2026-11-16). A user asked on its Python SDK repo on 2026-11-01 whether hCaptcha is still supported; the issue had no answer when we checked.

### How long is an hCaptcha token valid?

120 seconds by default, and only once. After that, siteverify answers expired-input-response or already-seen-response, and you need a new token.

## scrapenews difficulty

**55**/100 · Moderate  (from 4 of 8 factors)

| Factor | What we found | Source |
| --- | --- | --- |
| Smallest client that gets through | a headless browser | [github.com](https://github.com/vsmutok/FuckCaptcha/blob/main/docs/captchas/hcaptcha.md) |
| Checks stacked | JavaScript challenge, IP reputation, mouse and behaviour | [github.com](https://github.com/vsmutok/FuckCaptcha/blob/main/docs/captchas/hcaptcha.md) |
| Scraper API credits | 20 Scrapfly credits per solved CAPTCHA | [scrapfly.io](https://scrapfly.io/docs/cloud-browser-api/captcha-solver) |
| Steps for a human | 1 step | [github.com](https://github.com/vsmutok/FuckCaptcha/blob/main/docs/captchas/hcaptcha.md) |

Our analysis of 4 sourced facts; measured runs replace them as they come. [How we rate difficulty](https://scrapenews.com/rating.md)

## Related

- [Why am I blocked? How to avoid getting blocked while scraping](https://scrapenews.com/guides/how-to-avoid-getting-blocked-scraping.md)  (Guide)
- [CAPTCHA solvers](https://scrapenews.com/compare/captcha-solvers.md)  (Compare)
- [HUMAN "Press & Hold"](https://scrapenews.com/errors/human-press-and-hold.md)  (Error)
- [Request unsuccessful. Incapsula incident ID](https://scrapenews.com/errors/imperva-incapsula.md)  (Error)
- [reCAPTCHA v2](https://scrapenews.com/errors/recaptcha-v2.md)  (Error)
- [reCAPTCHA v3 and Enterprise](https://scrapenews.com/errors/recaptcha-v3.md)  (Error)

## Tools that get past it

| Tool | Price |
| --- | --- |
| [Bright Data Browser API](https://scrapenews.com/compare/bright-data.md): Remote browsers from Bright Data with unblocking and proxies built in; drive them with Playwright or Puppeteer. Billed per GB. | $8.00/GB |
| [Camoufox](https://scrapenews.com/compare/camoufox.md): Anti-detect browser built on Firefox that changes fingerprints to look like a real user; works with Playwright. | Free |
| [Patchright](https://scrapenews.com/compare/patchright.md): Drop-in patched version of Playwright that hides common automation signs. | Free |
| [ZenRows](https://scrapenews.com/compare/zenrows.md): Scraping API with JavaScript rendering and premium proxies, priced in credits per page. Free plan with 5,000 credits a month. | $0.42/1k req |

## Sources

1. [hCaptcha docs: Developer Guide (widget, siteverify, error codes)](https://docs.hcaptcha.com/) docs.hcaptcha.com
2. [hCaptcha docs: Invisible vs. Passive, 99.9% Passive mode](https://docs.hcaptcha.com/invisible) docs.hcaptcha.com
3. [hCaptcha docs: Pro Features (99.9% Passive is the default for new Pro sitekeys)](https://docs.hcaptcha.com/pro) docs.hcaptcha.com
4. [hCaptcha docs: Enterprise Overview (risk scores)](https://docs.hcaptcha.com/ent_overview) docs.hcaptcha.com
5. [hCaptcha docs: FAQ (difficulty levels, multiple captchas, session length)](https://docs.hcaptcha.com/faq) docs.hcaptcha.com
6. [hCaptcha: Accessibility (text challenge, accessibility cookie)](https://www.hcaptcha.com/accessibility) hcaptcha.com
7. [FuckCaptcha (CC0): hCaptcha field guide](https://github.com/vsmutok/FuckCaptcha/blob/main/docs/captchas/hcaptcha.md) github.com
8. [a11yboost: Are CAPTCHA systems failing accessibility? (hCaptcha graded C)](https://a11yboost.com/articles/are-captcha-systems-failing-accessibility) a11yboost.com
9. [Bright Data docs: Browser API CAPTCHA solver config (HCaptcha entry)](https://docs.brightdata.com/products/scraping-browser/cdp-functions/custom) docs.brightdata.com
10. [ZenRows: CAPTCHA bypass (says it handles hCaptcha)](https://www.zenrows.com/bypass/captcha) zenrows.com
11. [2Captcha API v2 docs (no hCaptcha method listed, checked 2026-11-16)](https://2captcha.com/api-docs) 2captcha.com
12. [2captcha-python issue #151: Is hCaptcha officially supported?](https://github.com/2captcha/2captcha-python/issues/151) github.com
13. [NopeCHA extension issue #364: hCaptcha solving fails, "This API endpoint has been discontinued" (2026-10-02)](https://github.com/NopeCHALLC/nopecha-extension/issues/364) github.com
14. [NopeCHA extension issue #368: hCaptcha endpoint discontinued (2026-10-02)](https://github.com/NopeCHALLC/nopecha-extension/issues/368) github.com
15. [NopeCHA docs: Supported CAPTCHAs (no hCaptcha, checked 2026-11-16)](https://developers.nopecha.com/captcha/) developers.nopecha.com
16. [CapSolver docs: Supported task types (no hCaptcha, checked 2026-11-16)](https://docs.capsolver.com/en/guide/api-support/) docs.capsolver.com
17. [CapMonster Cloud docs: captcha types (no hCaptcha, checked 2026-11-16)](https://docs.capmonster.cloud/docs/captchas/) docs.capmonster.cloud
18. [Anti-Captcha API docs (no hCaptcha, checked 2026-11-16)](https://anti-captcha.com/apidoc) anti-captcha.com
19. [Death By Captcha API (no hCaptcha, checked 2026-11-16)](https://deathbycaptcha.com/api) deathbycaptcha.com

## Up

- [Home](https://scrapenews.com/index.md)
- [Errors & CAPTCHAs](https://scrapenews.com/errors.md)
