What are Tasks?
How AnySolver represents a CAPTCHA challenge, the categories of tasks, and when to use proxy or proxyless variants.
A task represents a single CAPTCHA challenge that needs to be solved. You create a task with the relevant parameters, AnySolver returns the solution.
All tasks are async: create the task, then poll getTaskResult every 2 to 3 seconds until status is ready or failed.
Categories
Token tasks
Return a string token you submit with your form data to bypass the CAPTCHA. The most common task type.
Examples: ReCaptchaV2Token, ReCaptchaV3Token, PopularCaptchaToken, CastleToken, HuntCaptchaToken, IPQSToken.
Action tasks
Drive a multi-step flow on the platform side. Used when a CAPTCHA cannot be solved standalone and depends on a session or registration step.
Examples: PopularPlatformSessionAction (creates a Discord or Riot session before solving the CAPTCHA), PopularSessionAction (Epic Games session), DiscordAccountRegisterAction (full Discord registration flow).
ProxyLess vs Proxy
Many task types come in two flavors:
- ProxyLess uses the provider's own proxies. Simpler. Use when the target site does not check that the IP that solved matches the IP that submits.
- Proxy uses a proxy you provide. Required when the target site validates IP. Pass the proxy in the
task.proxyfield. See Proxy Configuration.
Pick the right task type
| Scenario | ProxyLess | With your proxy |
|---|---|---|
| reCAPTCHA v2 checkbox | ReCaptchaV2TokenProxyLess | ReCaptchaV2Token |
| Invisible reCAPTCHA v3 | ReCaptchaV3TokenProxyLess | ReCaptchaV3Token |
| reCAPTCHA v2 Enterprise | ReCaptchaV2EnterpriseTokenProxyLess | ReCaptchaV2EnterpriseToken |
| reCAPTCHA v3 Enterprise | ReCaptchaV3EnterpriseTokenProxyLess | ReCaptchaV3EnterpriseToken |
| hCaptcha (PopularCaptcha) | PopularCaptchaTokenProxyLess | PopularCaptchaToken |
| Invisible hCaptcha | PopularCaptchaInvisibleTokenProxyLess | PopularCaptchaInvisibleToken |
| hCaptcha Enterprise (Discord, Riot, Epic) | PopularCaptchaEnterpriseTokenProxyLess | PopularCaptchaEnterpriseToken |
| Castle bot detection | CastleTokenProxyLess | CastleToken |
| Hunt CAPTCHA | HuntCaptchaToken, HuntXHDToken | |
| IPQualityScore device fingerprint | IPQSToken | |
| Discord/Riot session step | PopularPlatformSessionAction | |
| Epic Games session step | PopularSessionAction | |
| Discord account registration | DiscordAccountRegisterAction |