Integrate our high-performance solver into your stack with just a few lines of code.
All requests must include your api_key. You can find this in your dashboard.
{
"key": "your_api_key",
"type": "hcaptcha_basic",
"data": {
"sitekey": "4c672d35-0701-42b2-88c3-78380b0db560",
"siteurl": "https://discord.com",
"proxy": "user:pass@ip:port"
}
}
Supported Types:
Poll this endpoint until status is solved.
{
"status": "solved",
"solution": "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}
import requests, time
API = "https://api.9captcha.pridesmp.fun"
KEY = "your_api_key"
# 1. Submit
resp = requests.post(f"{API}/create_task", json={
"key": KEY, "type": "hcaptcha_basic",
"data": {"sitekey": "...-...", "siteurl": "discord.com"}
})
task_id = resp.json()["task_id"]
# 2. Poll
while True:
res = requests.get(f"{API}/get_result/{task_id}?key={KEY}").json()
if res['status'] == 'solved':
print(f"Solved: {res['solution']}")
break
time.sleep(1)