Captcha solver avatar

Captcha solver

Pricing

Pay per usage

Go to Apify Store
Captcha solver

Captcha solver

Loads a URL, solves the image CAPTCHA via 2captcha, then returns the page content as markdown in the dataset. Input: URL and 2captcha API key.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Davide La Manna

Davide La Manna

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Share

Captcha Page Scraper

Solves image CAPTCHAs with 2captcha and returns the unlocked page content as markdown. Input: URL and 2captcha API key.

Input

FieldTypeRequiredDescription
startUrlstringYesURL of the page with image CAPTCHA (e.g. eTenders Malta CFT page).
twoCaptchaApiKeystringYesYour 2captcha.com API key. Stored as secret.

Output

The Actor pushes a single object to the dataset:

FieldTypeDescription
urlstringThe requested URL.
successbooleanWhether the CAPTCHA was solved and the page was scraped.
errorstring or nullError message if something failed; null on success.
markdownstring or nullPage content in markdown format; null on failure.

Example

Input:

{
"startUrl": "https://www.etenders.gov.mt/epps/prepareCurrentOpportunities.do?currentType=cft",
"twoCaptchaApiKey": "YOUR_2CAPTCHA_API_KEY"
}

Output (success):

{
"url": "https://www.etenders.gov.mt/epps/prepareCurrentOpportunities.do?currentType=cft",
"success": true,
"error": null,
"markdown": "# Page content\n\n## Simple search\n\n..."
}

Requirements

  • A valid 2captcha account and API key.
  • The target page must use a normal image CAPTCHA (distorted text); the Actor looks for a captcha image and a text input to submit the solution.

How it works

  1. Opens the given URL in headless Chrome.
  2. Locates the CAPTCHA image and sends it to 2captcha.
  3. Waits for the solution, then fills the form and submits.
  4. Extracts the page content (headings, paragraphs, tables, lists) and returns it as markdown.