Catalog npm
PACKAGE EXPLORERView in registry

24captcha

npm

A module to solve captchas using 24captcha.online

24captcha24captcha.onlinecaptchacaptchassolver
Versions collected3
Direct dependencies1From release 1.6.0
Last observed20 Oct, 19:03 UTC

README

Current package documentation

24captcha

A module to solve captchas using 24captcha.online

Usage

const CaptchaSolver = require('24captcha');

async function main() {
  const captcha = {
    captcha_sitekey: 'your_site_key',
     captcha_rqdata: 'your_request_data', // Optional
    pageurl: 'https://discord.com/',
  };

  const config = {
    apiKey: 'your_api_key',
    proxy: 'your_proxy', // username:password@hostname:port
    proxyType: 'HTTP', 
  };

  const solver = new CaptchaSolver(config);

  try {
 
    let captchaKey = await solver.solveCaptcha(captcha);
    console.log('Captcha solved successfully (json = 1, enterprise = true):', captchaKey);


    captchaKey = await solver.solveCaptcha(captcha, { json: 0, enterprise: false });
    console.log('Captcha solved successfully (json = 0, enterprise = false):', captchaKey);
  } catch (error) {
    console.error('Error solving captcha:', error);
  }
}

main();

Contact

Discord

Elminsterxld

Telegram

t.me/Elminsterxld

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 3

Collected releases
VersionPublishedDirect dependenciesOpen version
1.6.0Registry latest10 Jul 20241
1.5.09 Jul 20241
1.4.09 Jul 20240

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:03 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b7b0de7a4cbadcea8ae03c0d9a35bf6116b2e9605c0ecb5e83df48d4f52d0565