🎯 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
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.
- Go to the website where the hCaptcha appears.
- Open
inspect element
(Button F12) and go tonetwork
- When you are on the
network
section, do F5 on the website of where hCaptcha appear. - You will be able to see a url that have
getCaptcha
in the URL - Right click the URL, copy and copy as fetch.
- Convert to
base64
the value copied, you can use this site: base64 encode website - 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.
{
"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
Blogs:
How to solve hCaptcha Enterprise
How to solve 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 💜