SparkCap API Documentation

Fast, credit-metered hCaptcha solving API for all non-enterprise Discord verification flows — $2.00 / 1,000 solves.

Email Verification Password Reset 2FA Recovery Phone Verification Login & Session Checks All Non-Enterprise Flows
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:

MethodExample
Bearer Header (Recommended)Authorization: Bearer sk_your_key
API Key HeaderX-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

CodeMeaningExample Response
200Request succeeded{"task_id": "a1b2c3d4e5f6"}
400Malformed JSON body{"error": "invalid json"}
401Missing or invalid API key{"error": "missing or invalid api key"}
402Key has 0 credits remaining{"error": "insufficient credits"}
403API key is disabled{"error": "api key disabled"}
404Task 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": "..."}.

FieldTypeDescription
captcha_sitekey / sitekeystringTarget hCaptcha sitekey (defaults to Discord sitekey if omitted).
url / captcha_siteurlstringPage URL where the captcha appears (e.g. https://discord.com/verify, https://discord.com/reset).
captcha_rqdata / rqdatastringLeave empty "" for standard non-enterprise Discord flows.
hoststringHostname override (inferred from url; defaults to discord.com).
proxystringOptional proxy (user:pass@host:port). Uses server pool if omitted.
user_agentstringOptional custom User-Agent string.
max_retriesintegerMax retry attempts on failure (default: 5).
Request & Response
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".

/api/task/status?task_id=...
// 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
}
/api/getResult/<id>
// 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
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

Live Output
Click a button above to test against this server.