API Reference
Everything you need to send your first hCaptcha solve request and handle every response.
Quickstart
Send a POST request with your forward proxy and the challenge's rqdata to the endpoint corresponding to your target flow.
http://localhost:3000 (or your deployment domain)
import requests
r = requests.post(
"http://localhost:3000/solve",
headers={
"x-api-key": "unk_live_your_api_key_here",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
},
json={
"type": "phoneVerify", # Choice: "phoneVerify" or "redeem"
"proxy": "http://user:pass@127.0.0.1:8080",
"sitekey": "4c672d35-0701-42b2-88c3-78380b0db560",
"rqdata": "your_challenge_rqdata", # Optional for redeem flows
},
timeout=60,
)
data = r.json()
if data["success"]:
print("Valid Token:", data["token"])
Authentication
Authenticate by passing your key in the x-api-key request header, or via the key property within the JSON request body.
User-Agent header.
Endpoints & Subdomain
You can send requests either to our API Subdomain (https://api.unksolver.cc/solve) or directly to the root domain. All solving requests are processed via POST /solve with your chosen challenge type:
Unified solving endpoint. Specify your target challenge type in the JSON payload via "type": "phoneVerify" or "type": "redeem".
https://api.unksolver.cc/solve)
"type": "phoneVerify")
$6.00 / 1k ($0.006 / solve)
High-throughput pipeline tuned specifically for phone verification challenges and SMS flows.
"type": "redeem")
$14.00 / 1k ($0.014 / solve)
Advanced enterprise challenge solving for Discord Nitro, gifts, redeems, joins, and complex rqdata flows.
Request body
Send a JSON payload with your proxy and challenge parameters:
| Field | Type | Required | Description |
|---|---|---|---|
type |
string | Yes | Choice of challenge solver: "phoneVerify" ($0.006) or "redeem" ($0.014) |
proxy |
string | Yes | Forward proxy in format http://user:pass@host:port |
sitekey |
string | Yes | The hCaptcha UUID sitekey from target application |
rqdata |
string | Optional | Challenge contextual telemetry payload (recommended for redeem flows) |
url |
string | Optional | Target site URL (defaults to https://discord.com) |
key |
string | Optional | Alternative to passing x-api-key in HTTP headers |
Response
Successful solves return an immediate HTTP 200 JSON object with status, cost, solve time, and token:
{
"success": true,
"status": "solved",
"token": "P1_eyJpc3MiOiJoY2FwdGNoYS5jb20iLCJ0eXAiOiJoY2FwdGNoYV90b2tlbiIs...\",
"time_taken_seconds": 1.51,
"cost": 0.006,
"currency": "USD",
"remaining_balance": 24.994,
"remaining_solves": 4165,
"solver": "Solver PhoneVerify",
"task_id": "unk_task_98a72b14e2"
}
Errors
When an error occurs, the API returns a structured HTTP error with status code:
| Status | Error Name | Cost | Reason |
|---|---|---|---|
400 |
Bad Request | $0.00 | Missing proxy or sitekey parameter |
401 |
Unauthorized | $0.00 | Missing or invalid x-api-key |
402 |
Payment Required | $0.00 | Account USD balance is depleted |
429 |
Too Many Requests | $0.00 | API key exceeded its allocated concurrent thread limit |
500 |
Solver Timeout | $0.00 | Challenge could not be resolved within timeout (Free / not charged!) |
⚡ Live API Playground
Test the solve endpoints directly from your browser. Responses are processed live by the engine:
// Ready. Click "Execute Live Solve Test" to invoke solver.
Changelog
v3.2 — Enterprise Model Perception Upgrade
Enhanced detection avoidance and lowered average latency on Solver Enterprise to ~4.6s.
v3.0 — Per-Key Concurrency Thread Limit Controls
Instant reject on thread overflow (429) to avoid latency lag queues across distributed bot clusters.