hCaptcha Solver : Solve any version of hCaptcha with the help of a captcha solver.
Tags: hcaptcha, javascript, tutorial, python
Published: 2023-07-15 11:05:03

# What is hCaptcha Enterprise?
hCaptcha Enterprise is an advanced bot detection and mitigation solution provided by Intuition Machines, Inc. The service offers a robust set of features designed to protect websites, applications, and APIs from harmful bot traffic, while also ensuring a positive user experience for legitimate users. 

The "h" in hCaptcha stands for "human," as the system is designed to distinguish human users from bots. hCaptcha Enterprise goes beyond traditional CAPTCHA systems, which typically require users to solve puzzles or identify objects in images to prove they are human. Instead, hCaptcha Enterprise employs a wide range of techniques and technologies to deliver superior protection.

One of the standout features of hCaptcha Enterprise is its use of machine learning and artificial intelligence. These technologies allow hCaptcha to learn from each interaction and continually improve its ability to detect bots. This adaptive approach helps the system stay ahead of evolving threats and adapt to new forms of bot behavior.

hCaptcha Enterprise also focuses on user privacy. Unlike some other CAPTCHA providers, hCaptcha does not track users across websites or sell user data. This commitment to privacy makes hCaptcha Enterprise a choice for organizations that value both security and user privacy.

Another distinctive feature of hCaptcha Enterprise is the concept of "Privacy Pass." This feature allows users to solve a CAPTCHA once and then use the generated pass on other websites that also use hCaptcha, reducing the number of CAPTCHAs a user has to solve. This not only enhances the user experience but also respects the user's time and effort.

hCaptcha Enterprise is easily integrated with various platforms and can be customized to suit the unique needs of each business. It offers a flexible API that developers can use to implement the service in their applications or websites.

In terms of reporting and analytics, hCaptcha Enterprise provides detailed insights about traffic and threats. This data can help businesses understand the nature and extent of the bot traffic they face and make informed decisions about their security strategies.

Here's a textual representation of what an hCaptcha challenge might look like:

```
----------------------------------------------------------
|                      hCaptcha                          |
----------------------------------------------------------
|                                                        |
|   To access this website, please complete the          |
|   security check.                                      |
|                                                        |
|   [ hCaptcha Widget ]                                  |
|                                                        |
|   Please identify the objects in the image or solve    |
|   the presented puzzle.                                |
|                                                        |
|   [ 'Submit' Button ]                                  |
|                                                        |
----------------------------------------------------------
```

In the representation above, the hCaptcha Widget could involve identifying objects in an image, solving a puzzle, or any other type of challenge that hCaptcha has deemed appropriate.

In summary, hCaptcha Enterprise is an advanced, adaptive, and privacy-focused solution for bot protection. It uses a combination of AI, machine learning, and user-friendly CAPTCHA challenges to protect websites and applications from harmful bot traffic, while also prioritizing the privacy and user experience of legitimate visitors.

# How to solve hCaptcha Enterprise
Before we start solving hCaptcha Enterprise, there are some requeriments and points that we need to be aware that they are needed to know
**Requeriments:**
- Capsolver Key
- Proxy (Optional, recommended [https://metaproxies.net/](https://metaproxies.net/))

**Points to be aware that if you don't follow, solution will be invalid:**
- `HCaptchaTurboTask / HCaptchaTurboTaskProxyless` is for sites that require a high score scenario.
- `HCaptchaEnterpriseTask / HCaptchaEnterpriseTaskProxyless` is for sites that require a medium score scenario.
- Recommended to use the same `proxy` used for solve the captcha
- Recommended to use the same `user-agent` used for solve the captcha
- Some websites may require a `extra data`, usually called rqdata that you can send like:
```json
"enterprisePayload": {
      //Optional, required if the site have HCaptcha Enterprise
      "rqdata": ""
    },
```
Capsolver offer various types of hCaptcha solves such as hCaptcha normal, hCaptcha invisible, hCaptcha enterprise, depends on the site, will require a different task type and also different parameters, the captcha token received can be verified by submitting it to the relevant site.  

**For solve hCaptcha enterprise, please use one of these task types:**
- `HCaptchaEnterpriseTaskProxyless`: is using the server's built-in proxy
- `HCaptchaEntepriseTask`: this task type require your own proxies
- `HCaptchaTurboTaskProxyless`: is using the server's built-in proxy
- `HCaptchaTurboTask`: this task type require your own proxies
You can find the documentation here: [link](https://docs.capsolver.com/guide/captcha/HCaptcha.html)

The first method that you need to use from the documentation is `createTask`, this method need the parameters of the picture, some are required and some are optional, depends on the site that we want to use.
![](https://assets.capsolver.com/prod/images/post/2023-05-11/65d1d3c5-2d76-4630-89a5-7ba18950ed64.png)
# Step 1: Submitting the information to capsolver
Use the method `createTask` to submit the information required:
```json
POST https://api.capsolver.com/createTask
Host: api.capsolver.com
Content-Type: application/json

{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "HCaptchaEnterpriseTaskProxyLess",
    "websiteURL": "https://hcaptcha.com/",
    "websiteKey": "00000000-0000-0000-0000-000000000000"
  }
}
```
After you submit the task to us, you should receive in the response a ‘Task id’ if it’s successful. Please read errorCode: full list of errors if you didn’t receive the task id.

### Example response
```json
{
    "errorId": 0,
    "errorCode": "",
    "errorDescription": "",
    "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}
```

# Step 2: Getting the results
To verify the results, you'll need to continuously poll the `getTaskResult` API endpoint until the captcha is resolved. 

Depending on the system load, you will get the results within the interval of 1s to 10s

### Example request
```json
POST https://api.capsolver.com/getTaskResult
Host: api.capsolver.com
Content-Type: application/json

{
    "clientKey": "YOUR_API_KEY",
    "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}
```

### Example response
```json
{
  "errorId": 0,
  "errorCode": null,
  "errorDescription": null,
  "solution": {
    //userAgent used to solve the captcha
    "userAgent": "xxx",
    //expireTime of the token
    "expireTime": 1671615324290,
    "timestamp": 1671615024290,
    "captchaKey": "E0_xxx",
    //token of the captcha
    "gRecaptchaResponse": "3AHJ....."
  },
  "status": "ready"
}
```
> ⚠️ **If the token is rejected, it may indicate that some information is missing or incorrect. We recommend thoroughly checking whether the hcaptcha is standard or enterprise and whether it requires additional parameters listed as optional in our documentation.**

**You can solve hCaptcha with any programming language such as: Node.JS, PHP, Python, C#, Typescript, GO.**

### How to solve hCaptcha with Node.JS
https://github.com/0qwertyy/capsolver-npm
https://www.npmjs.com/package/capsolver

### How to solve hCaptcha with Python
https://github.com/AndreiDrang/python3-captchaai
https://github.com/alperensert/captchaai_python
https://github.com/Matthew17-21/Captcha-Tools

### How to solve hCaptcha with Typescript
https://github.com/Furry/CapSolver

### How to solve hCaptcha with Puppeter
https://github.com/0qwertyy/puppeteer-extra-plugin-capsolver

### How to solve hCaptcha with C#
https://github.com/alperensert/Capsolver

Or you can integrate yourself using the documentation.

And that is how easily you can bypass  hCaptcha enterprise / hCaptcha invisible using the [best captcha solving service](https://www.capsolver.com/)

Capsolver Team 💜