Documentation v1.0

Developer API

Integrate our high-performance solver into your stack with just a few lines of code.

Authentication

All requests must include your api_key. You can find this in your dashboard.

Header: Authorization: Bearer YOUR_API_KEY

1. Create Task

POST /create_task
{
    "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:

hcaptcha_basic hcaptcha_enterprise recaptcha_v2

2. Get Result

GET /get_result/{task_id}?key=your_api_key

Poll this endpoint until status is solved.

{
    "status": "solved",
    "solution": "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}

Python SDK (Quickstart)

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)