How to easily pass any hCaptcha version using Capsolver
Tags: hcaptcha, tutorial, programming, python
Published: 2023-07-18 16:49:53

![How to solve any hCaptcha version using CapSolver](https://assets.capsolver.com/prod/images/post/2023-07-17/67cb4382-7460-4683-ae39-117069502d4a.png)

## 🎯 Overview
This tutorial will guide you through the process of solving any version of hCaptcha using Capsolver.

CapSolver is a Captcha Solving Service that helps you solve Captchas.

We use AI-powered Captcha Solving Algorithms, which result in faster solving speed and significantly reduced costs, providing an excellent developer experience.


The goal will be to solve the problem of solves not being accepted, with this tutorial you will fix that problem.

## ⚠️ Warning
Before you read this blog, it's recommended that you know the basic stuff of how to solve hCaptcha using our API. Check this documentation: [docs](https://docs.capsolver.com/guide/captcha/HCaptcha.html)

On most user case, directly requesting our hCaptcha will work normally. However, may no work or some data may be missing, causing your token to be invalid.

In this case, you can submit additional parameter information as described below to help obtain a more stable token score:

## 🔎 Step 1: Obtain the getCaptcha fetch value and convert to base64.
1. Go to the website where the hCaptcha appears.
2. Open `inspect element` (Button F12) and go to `network`
3. When you are on the `network` section, do F5 on the website of where hCaptcha appear.
4. You will be able to see a url that have `getCaptcha` in the URL
5. Right click the URL, copy and copy as fetch.
![How to obtain getCaptcha fetch value](https://assets.capsolver.com/prod/images/post/2023-07-17/35032875-c26d-4a88-8a70-580f399936e0.gif)
6. Convert to `base64` the value copied, you can use this site: [base64 encode website](https://www.base64encode.org/)
7. Save the base64 value into getCaptchaBase64.txt

## 🌟 Step 2: Send the base64 value in the following format
The new json parameter that you need to add to your current json configuration is:
`getCaptcha` and should be like **"getCaptcha":"The text that you put into getCaptchaBase64.txt"**
The 

This is a example JSON, keep in mind that there are **many** parameters that are **optional** so you may no require them. 
Read our documentation to understand each parameter.

```json
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    //Required. Can use HCaptchaTaskProxyless or HCaptchaTask
    "type": "HCaptchaTaskProxyLess",
    //Required
    "websiteURL": "https://hcaptcha.com/",
    // Required
    "websiteKey": "00000000-0000-0000-0000-000000000000",
    // Optional
    "isInvisible": true,
    // Optional
    "enterprisePayload": {
      //Optional, required if the site have HCaptcha Enterprise
      "rqdata": ""
    },
    //Optional, this is required if you use HCaptchaTask
    "proxy": "http:ip:port:user:pass",
    // socks5:ip:port:user:pass
    //Optional
    "getCaptcha": "fetch request base64 content",
    "userAgent": ""
  }
}

```
**⚠️ You just need to submit one time**

## 🌟 More information of how to solve hCaptcha
Documentation:
[hCaptcha documentation](https://docs.capsolver.com/guide/captcha/HCaptcha.html)

Blogs:
[How to solve hCaptcha Enterprise](https://www.capsolver.com/blog/how-to-solve-hcaptcha-enterprise)
[How to solve hCaptcha ](https://www.capsolver.com/blog/como-resolver-hcaptcha)

By adopting the strategies outlined above, you can effortlessly resolve the challenges of hcaptcha. We also offer detailed custom services to meet specific customer requirements. Should you have any inquiries, please reach out to us via our customer service system.

Capsolver Team 💜