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 every 1–2s until status is solved.
{
"status": "solved",
"solution": "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}
import requests, time
API = "https://9captcha-api.pridesmp.fun/captcha/api"
KEY = "your_api_key"
# 1. Submit task
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 for result
while True:
res = requests.get(f"{API}/get_result/{task_id}?key={KEY}").json()
if res["status"] == "solved":
print(f"Token: {res['solution']}")
break
time.sleep(1.5)
const API = "https://9captcha-api.pridesmp.fun/captcha/api";
const KEY = "your_api_key";
async function solve() {
const { data } = await axios.post(`${API}/create_task`, {
key: KEY, type: "hcaptcha_basic",
data: { sitekey: "...", siteurl: "discord.com" }
});
while (true) {
const res = await axios.get(
`${API}/get_result/${data.task_id}?key=${KEY}`
);
if (res.data.status === "solved") return res.data.solution;
await new Promise(r => setTimeout(r, 1500));
}
}