NoneCap
v0.13.0Solve hCaptcha and hCaptcha Enterprise challenges and get back a token, via the NoneCap API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
solve_hcaptcha Solve an hCaptcha
Solve an hCaptcha and return the token. Waits up to wait_seconds; if the solve is still running then, returns its id and status: call get_solve with the id rather than solving again. Only successful solves are charged.
| Parameter | Type | Description |
|---|---|---|
sitekey * | string | The hCaptcha sitekey on the page. |
url * | string | The URL of the page the captcha is on. |
proxy | string | Proxy to solve through, as a URL: scheme://user:pass@host:port (http, https, socks5, socks5h or socks4). |
rqdata | string | Enterprise only: the rqdata the site passes to its widget, if it passes one. |
type | string | hcaptcha (default) or hcaptcha_enterprise. |
user_agent | string | The user agent of the browser that loaded the page, as is. Leave out if you do not have it. |
wait_seconds | integer | Seconds to wait for the result, 0-50. Default 45. 0 returns right after submitting. |
get_solve Get a solve
Get a solve by id: its status, and the token once it is solved. Set wait_seconds to wait for it to finish.
| Parameter | Type | Description |
|---|---|---|
id * | string | The solve id (solve_…). |
wait_seconds | integer | Hold up to this many seconds (1-50) for the solve to finish. Omit to return at once. |
cancel_solve Cancel a solve
Cancel a pending or running solve. Cancelled solves are not charged.
| Parameter | Type | Description |
|---|---|---|
id * | string | The solve id (solve_…). |
list_solves List solves
List your recent solves, newest first.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size, 1-100. Default 20. |
starting_after | string | A solve id: return the page after it (the last id of the previous page). |
status | string | Only solves with this status. |
type | string | Only solves of this type. |
get_account Get account
Get your NoneCap account: credit balance, and your plan's solves left today.
report_solve_outcome Report a token's outcome
Tell NoneCap whether the site accepted a solve's token. Free; reporting the same solve again corrects it.
| Parameter | Type | Description |
|---|---|---|
outcome * | string | accepted or rejected by the site; unknown (submitted, verdict unclear); unused (never submitted); error (the site failed for a reason unrelated to the token). |
solve_id * | string | The id of a solved solve. |
context | string | Anything else about the attempt that would help diagnose it. |
reason | string | What the site returned when it refused the token. |