Automatic Captcha Solving
ScrAPI can automatically detect and solve CAPTCHAs that block access to website content. When enabled, the browser identifies captcha challenges on the page, solves them, and waits for any redirects to complete before returning the final content.
Supported Captcha Types
- reCAPTCHA v2 and v3 - click challenges, invisible, and enterprise variants
- hCaptcha - normal and invisible variants
- Cloudflare - Turnstile widgets and full challenge pages
Need support for a different captcha provider? Contact us at hello@scrapi.tech and we’ll prioritize it.
When To Use This
- Cloudflare-protected sites - Many sites use Cloudflare’s challenge page as a first line of defense. Enable captcha solving to get past it automatically.
- Data behind login forms - Some login or registration pages include a CAPTCHA that must be solved before submitting credentials.
- Search engines and directories - Google, Bing, and other search engines frequently present CAPTCHAs to automated traffic.
- Rate-limited scraping - After many requests, some sites start presenting CAPTCHAs. Combine with sessions to persist clearance cookies and reduce repeat challenges.
Performance note: Only enable
solveCaptchaswhen you know the target site presents CAPTCHAs. The detection mechanism adds processing time to every request, even when no captcha is present. For sites without CAPTCHAs, leave this disabled for faster response times.
How It Works
- The real browser loads the page (automatically enabled if not set).
- ScrAPI scans for known captcha elements on the page.
- Detected captchas are solved - potentially multiple times if the page has several challenges.
- The browser waits for any post-captcha redirects to complete.
- The final page content is returned.
Each captcha solved costs 30 credits. The captchasSolved field in the response shows which types were solved and how many times. See Credit Usage for full pricing details.
Example Request
GET https://api.scrapi.tech/v1/scrape?url=https://deventerprise.com&useBrowser=true&solveCaptchas=true
POST https://api.scrapi.tech/v1/scrape
{
"url": "https://deventerprise.com",
"useBrowser": true,
"solveCaptchas": true
}Related Features
- Real Browser - Required for captcha solving (enabled automatically).
- Sessions - Persist captcha clearance cookies to avoid re-solving on subsequent requests.
- Browser Commands - Interact with the page after captchas are solved.
- Residential Proxy - Residential IPs are less likely to trigger captcha challenges.
- Credit Usage - Captcha solving costs 30 credits per captcha solved.
Testing
Test this request in the Playground or view the OpenAPI specification.