Skip to main content

Util::ReCaptcha2 - recognition of reCaptcha

Parser Overview

This parser is used only as a connectable component in other parsers, where it may be necessary to solve Google ReCaptcha v2, for example: SE::GoogleSE::Google, SE::Google::ImagesSE::Google::Images, SE::Google::ByImageSE::Google::ByImage, as well as custom JavaScript parsers.

The principle of operation of this parser is to send reCaptcha data (usually it is sitekey and the URL of the page where the reCaptcha was received) to the solving service and receive a token in response, consisting of numbers and letters. The correctness of solving depends only on the solving service, usually the services almost always solve captchas correctly.

Details of the connection and configuration process of this parser are described in the article ReCaptcha Settings

Parser Use Cases

Example of setting up solving via Xevil

In Xevil, it is recommended to choose the API type Antigate (Anti-Captcha). In the settings of Util::ReCaptcha2Util::ReCaptcha2 in the Provider url field, you need to specify the ip:port of Xevil:

Provider url in Xevil for the Util parser::ReCaptcha2

In the Provider field, select Xevil (AntiGate):

Configuring the Provider url for the Util parser::ReCaptcha2


  • Supports working with services such as: AntiCaptcha, RuCaptcha, 2captcha, XEvil, CapMonster,, CapSolver,
  • Ability to configure response waiting time and status check delay

Usage Options

  • Recognition of captchas in embedded parsers, where it is optionally or mandatory to solve captchas to obtain results
  • Recognition of captchas in custom JS parsers


The parser accepts two types of requests:

  • sitekey url
  • sitekey url proxy user-agent

The parameters are separated by a space and mean:

  • sitekey - the sitekey of the captcha
  • url - the page where the captcha is located
  • proxy - the proxy through which the captcha was obtained. The parameter must be in the format login:pass@ip:port@type for authenticated proxies or ip:port@type for unauthenticated proxies
    • type can be http, https, socks4, socks5
  • user-agent - the user agent with which the captcha was obtained

Output Results Options

  • $resp - captcha response
  • $error - if an error occurred, its description

Captcha Token Output

Result format:


Example result:


Possible Settings

The Provider parameter is used to select the service.

For online services (AntiCaptcha, RuCaptcha, 2captcha,, CapSolver,, the Client key parameter must be set.

ParameterDefault ValueDescription
Client keyClient key for online captcha solving services
Provider urlProvider URL, allows to override the domain. Multiple URLs can be specified separated by commas, the scraper will use each of them in random order. Can be empty, the scraper automatically uses the necessary one depending on the selected captcha solving service
ProviderAntiCaptchaCaptcha solving service
Wait between get status5Delay between getting status
Max wait time300Maximum waiting time for solving
Threshold % for ( threshold (used only in