SparkCap API Documentation
Fast, credit-metered hCaptcha solving API for all non-enterprise Discord verification flows — $2.00 / 1,000 solves.
Base URL
https://www.krypticboosts.cc
Pricing & Billing
$2 / 1K solves (1 credit/task; auto-refunded on failure).
Authentication & Credits
Every solve and balance request requires an active SparkCap API key (sk_...). Pass your key using any of these methods:
| Method | Example |
|---|---|
| Bearer Header (Recommended) | Authorization: Bearer sk_your_key |
| API Key Header | X-API-Key: sk_your_key |
| JSON Body | {"clientKey": "sk_your_key"} (also accepts api_key or key) |
| Query Parameter | ?api_key=sk_your_key or ?key=sk_your_key |
Atomic Credit Reservation: 1 credit is reserved when a task starts. If the solve fails after retries, that 1 credit is automatically refunded.
HTTP Status Codes
| Code | Meaning | Example Response |
|---|---|---|
200 | Request succeeded | {"task_id": "a1b2c3d4e5f6"} |
400 | Malformed JSON body | {"error": "invalid json"} |
401 | Missing or invalid API key | {"error": "missing or invalid api key"} |
402 | Key has 0 credits remaining | {"error": "insufficient credits"} |
403 | API key is disabled | {"error": "api key disabled"} |
404 | Task ID or route not found | {"error": "task ... not found"} |
Create Solve Task
POST
/api/task/create
also: POST /api/createTask
Queues a new non-enterprise solve task and returns a task ID immediately. Use /api/task/create for {"task_id": "..."} or /api/createTask for {"taskId": "..."}.
| Field | Type | Description |
|---|---|---|
captcha_sitekey / sitekey | string | Target hCaptcha sitekey (defaults to Discord sitekey if omitted). |
url / captcha_siteurl | string | Page URL where the captcha appears (e.g. https://discord.com/verify, https://discord.com/reset). |
captcha_rqdata / rqdata | string | Leave empty "" for standard non-enterprise Discord flows. |
host | string | Hostname override (inferred from url; defaults to discord.com). |
proxy | string | Optional proxy (user:pass@host:port). Uses server pool if omitted. |
user_agent | string | Optional custom User-Agent string. |
max_retries | integer | Max retry attempts on failure (default: 5). |
curl -X POST __BASE__/api/task/create \
-H "Authorization: Bearer sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"sitekey": "a9b5fb07-92ff-493f-86fe-352a2803b3df",
"url": "https://discord.com/verify",
"rqdata": ""
}'
# Response (200 OK):
# {"task_id": "9f8e7d6c5b4a"}
Get Task Result
GET
/api/task/status?task_id=<id>
also: GET /api/getResult/<id>
Poll every 1–2 seconds until status is no longer "solving".
// Solving
{"status": "solving", "elapsed": 2.4}
// Completed
{
"status": "completed",
"success": true,
"result": {
"x-captcha-key": "P1_eyJ0eXAi...",
"token": "P1_eyJ0eXAi..."
},
"elapsed": 6.8
}
// Failed (credit refunded)
{
"status": "failed",
"success": false,
"message": "...",
"elapsed": 12.1
}
// Solving
{"status": "solving", "elapsed": 2.4}
// Success
{
"status": "success",
"solution": {
"token": "P1_eyJ0eXAi..."
},
"token": "P1_eyJ0eXAi...",
"elapsed": 6.8
}
// Failed (credit refunded)
{
"status": "failed",
"error": "..."
}
Check Credit Balance
GET
/api/balance
also: POST /api/balance, POST /api/getBalance
curl __BASE__/api/balance -H "X-API-Key: sk_your_api_key"
# Response:
# {"balance": 100, "credits": 100, "used": 12}
Health Check
GET
/health
Returns server health and active tracked tasks: {"status": "ok", "tasks": 0}.
Quickstart Examples
import time
import requests
BASE = "__BASE__"
API_KEY = "sk_your_api_key"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1. Create solve task (Email Verify / Password Reset / 2FA / Phone)
r = requests.post(f"{BASE}/api/task/create", headers=HEADERS, json={
"sitekey": "a9b5fb07-92ff-493f-86fe-352a2803b3df",
"url": "https://discord.com/verify",
"rqdata": "",
})
r.raise_for_status()
task_id = r.json()["task_id"]
# 2. Poll for solution
while True:
res = requests.get(f"{BASE}/api/task/status", params={"task_id": task_id}).json()
if res["status"] == "completed":
print("Solved token:", res["result"]["token"])
break
if res["status"] == "failed":
raise RuntimeError(res.get("message", "solve failed"))
time.sleep(1.5)
Live Playground
Click a button above to test against this server.