SolveHub
v0.1.0CAPTCHA and anti-bot solving for Turnstile, DataDome, Akamai, PerimeterX and Imperva.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
solve_captcha
Create a SolveHub task and wait until it finishes, then return the token, cookie or recognised text. Use this for a site you own or are authorized to test. Typical Turnstile fields: websiteURL and websiteKey; DataDome/Imperva/Akamai need a proxy.
| Parameter | Type | Description |
|---|---|---|
task * | object | Challenge fields sent as POST /v1/tasks task object, for example {websiteURL, websiteKey, action?, cdata?}. |
type * | string | Challenge type. turnstile/interstitial (Cloudflare), datadome, akamai, perimeterx (HUMAN), imperva (reese84 or UT.mvc), aws_waf, alibaba (CAPTCHA 2.0), funcaptcha (Arkose), image (OCR of a base64 imag… |
idempotency_key | string | Optional key so a retried create is not billed twice. A random UUID is used when omitted. |
proxy | string | Optional proxy URL, for example http://user:pass@host:port. Required by most cookie-based challenges (DataDome, Imperva, Akamai, PerimeterX). |
timeout_seconds | integer | How long to wait for the solution. Default 120, maximum 600. |
create_task
Create a SolveHub task and return its id without waiting. Use get_task or wait_for_task afterwards. Billing happens only when the task completes, and the price is frozen at creation.
| Parameter | Type | Description |
|---|---|---|
task * | object | Challenge fields, same shape as solve_captcha. |
type * | string | Challenge type. turnstile/interstitial (Cloudflare), datadome, akamai, perimeterx (HUMAN), imperva (reese84 or UT.mvc), aws_waf, alibaba (CAPTCHA 2.0), funcaptcha (Arkose), image (OCR of a base64 imag… |
idempotency_key | string | Optional key so a retried create is not billed twice. |
proxy | string | Optional proxy URL. |
get_task
Read one task: status (queued, processing, uncertain, done, failed, cancelled) and, once done, its solution. uncertain means the challenge could not be judged yet and can still resolve; poll again.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task id returned by create_task or solve_captcha. |
wait_for_task
Poll one existing task until it is done, failed or cancelled, or until timeout_seconds pass. Returns the task in either case, with timedOut true when the budget ran out.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task id to poll. |
timeout_seconds | integer | Polling budget in seconds. Default 120, maximum 600. |
cancel_task
Cancel a queued or running task. The reserved amount is refunded.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task id to cancel. |
list_tasks
List the most recent tasks, newest first, with status and type.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many tasks to return. Default 20, maximum 100. |
get_balance
Current account balance in USD: available and reserved (held by unfinished tasks).
get_prices
Live price catalogue: per-task cost for every supported challenge type. Public, does not need a task.