Multi-Captcha Solver Adapter - v1.1.2
    Preparing search index...

    Interface IMultiCaptchaSolver

    Defines the contract for a captcha solving service. Any service intending to solve captchas must implement this interface.

    IMultiCaptchaSolver

    interface IMultiCaptchaSolver {
        getBalance(): Promise<number>;
        solveHCaptcha(
            websiteURL: string,
            websiteKey: string,
            proxy?: ProxyOptions,
        ): Promise<string>;
        solveImageCaptcha(base64string: string): Promise<string>;
        solveRecaptchaV2(
            websiteURL: string,
            websiteKey: string,
            proxy?: ProxyOptions,
        ): Promise<string>;
        solveRecaptchaV3(
            websiteURL: string,
            websiteKey: string,
            minScore: number,
            pageAction: string,
            proxy?: ProxyOptions,
        ): Promise<string>;
    }
    Index

    Methods

    • Retrieves the current account balance from the captcha solving service.

      Returns Promise<number>

      A promise that resolves with the account balance in USD

    • Solves an hCaptcha challenge.

      Parameters

      • websiteURL: string

        The URL of the website where the hCaptcha is located

      • websiteKey: string

        The site key of the hCaptcha

      • Optionalproxy: ProxyOptions

        Optional proxy configuration for solving the captcha

      Returns Promise<string>

      A promise that resolves with the hCaptcha token

    • Submits an image captcha to the service and returns the solution.

      Parameters

      • base64string: string

        A base64 encoded string representing the captcha image

      Returns Promise<string>

      A promise that resolves with the text solution of the captcha

    • Solves a reCAPTCHA v2 challenge.

      Parameters

      • websiteURL: string

        The URL of the website where the reCAPTCHA is located

      • websiteKey: string

        The site key of the reCAPTCHA

      • Optionalproxy: ProxyOptions

        Optional proxy configuration for solving the captcha

      Returns Promise<string>

      A promise that resolves with the reCAPTCHA token

    • Solves a reCAPTCHA v3 challenge.

      Parameters

      • websiteURL: string

        The URL of the website where the reCAPTCHA is located

      • websiteKey: string

        The site key of the reCAPTCHA

      • minScore: number

        The minimum score required (0.1 to 0.9)

      • pageAction: string

        The action name for this request

      • Optionalproxy: ProxyOptions

        Optional proxy configuration for solving the captcha

      Returns Promise<string>

      A promise that resolves with the reCAPTCHA token