Loading...
Loading...
Solve your first hCaptcha in under a minute.
curl -X POST https://coresolver.lol/createTask \
-H "Content-Type: application/json" \
-d '{
"clientKey": "your-api-key",
"task": {
"type": "HCaptchaTask",
"websiteURL": "https://example.com/login",
"websiteKey": "your-hcaptcha-sitekey",
"proxy": "http://user:pass@host:port"
}
}'Response:
{
"errorId": 0,
"taskId": "a1b2c3d4e5f6..."
}curl -X POST https://coresolver.lol/getTaskResult \
-H "Content-Type: application/json" \
-d '{
"clientKey": "your-api-key",
"taskId": "a1b2c3d4e5f6..."
}'While processing:
{ "errorId": 0, "status": "processing" }When ready:
{
"errorId": 0,
"status": "ready",
"solution": {
"gRecaptchaResponse": "P1_eyJhbGci...",
"userAgent": "Mozilla/5.0 ..."
}
}Submit the gRecaptchaResponse value as the captcha solution to the target website. Include the userAgent in your request headers for best results.
{
"clientKey": "your-api-key",
"task": {
"type": "HCaptchaTask",
"websiteURL": "https://discord.com/register",
"websiteKey": "a9b5fb07-...",
"rqdata": "your-rqdata-value",
"proxy": "http://user:pass@host:port"
}
}import requests, time
API = "https://coresolver.lol"
KEY = "your-api-key"
def solve(sitekey, url, proxy, rqdata=None):
task = {
"type": "HCaptchaTask",
"websiteURL": url,
"websiteKey": sitekey,
"proxy": proxy,
}
if rqdata:
task["rqdata"] = rqdata
r = requests.post(f"{API}/createTask", json={
"clientKey": KEY, "task": task
}).json()
task_id = r["taskId"]
while True:
time.sleep(3)
r = requests.post(f"{API}/getTaskResult", json={
"clientKey": KEY, "taskId": task_id
}).json()
if r.get("errorId") != 0:
raise Exception(r.get("errorDescription"))
if r["status"] == "ready":
return r["solution"]["gRecaptchaResponse"]