What are Tasks?
A task represents a single CAPTCHA challenge that needs to be solved. When you encounter a CAPTCHA on a website, you create a task with the relevant parameters, and AnySolver returns the solution.
Task Categories
AnySolver supports different categories of tasks based on what they return and how they're used.
Token Tasks
Token tasks return a string that you submit with your form data to bypass the CAPTCHA. This is the most common task type.
Use cases:
- Automation tools and scripts
- Form submission bots
- RPA (Robotic Process Automation)
- Protocol-level integrations
Examples: ReCaptchaV2Token, ReCaptchaV3Token, PopularCaptchaToken, TurnstileToken ...
Async Processing
All tasks are solved asynchronously. Create the task, then poll getTaskResult until the status is ready.
Recognition Tasks
Recognition tasks analyze images, audio, or other content using machine learning. They're used for OCR, image classification, and coordinate detection.
Use cases:
- OCR captcha solving (text extraction from images)
- Image classification challenges
- Click-based captchas (coordinate detection)
- Audio transcription challenges
Examples: ImageRecognition, AudioRecognition, CoordinatesRecognition ...
Cookie Tasks
Cookie tasks return browser cookies that you set in your requests to bypass protection systems. These are commonly used for Cloudflare and similar anti-bot services.
Use cases:
- Bypassing Cloudflare protection
- Browser automation with cookie injection
- Scraping protected websites
Examples: CloudflareChallengeCookie ...
ProxyLess vs Proxy Tasks
Many task types have two variants:
- ProxyLess - The provider uses its own built-in proxies to solve the CAPTCHA. Simpler to use.
- Proxy - You provide your own proxy. Required when the CAPTCHA is tied to your IP address.
When to use Proxy tasks
Use proxy tasks when the target website validates that the CAPTCHA was solved from the same IP that will submit the form. This is common for login pages and high-security sites. See the Proxy Configuration guide for details on proxy formats and best practices.
Choosing the Right Task Type
| Scenario | Recommended Task Type |
|---|---|
| Standard reCAPTCHA v2 checkbox | ReCaptchaV2Token or ReCaptchaV2TokenProxyLess |
| Invisible reCAPTCHA v3 | ReCaptchaV3Token or ReCaptchaV3TokenProxyLess |
| Cloudflare Turnstile widget | TurnstileToken or TurnstileTokenProxyLess |
| Cloudflare "checking your browser" | CloudflareChallengeCookie |
| PopularCaptcha checkbox or invisible | PopularCaptchaToken or PopularCaptchaTokenProxyLess |
| Image with text to read | ImageRecognition |
| Click on specific objects | CoordinatesRecognition |