createTask vs the legacy in.php format, both accepted

G
gio_ioNov 2, 2026 · 55 views · 0 comments

Small thing that saved me time, you do not have to pick a format up front. My older scraper used the legacy in.php and res.php endpoints, while a newer tool of mine was written around createTask and getTaskResult.

Both talk to Unlock API fine. The modern createTask takes a JSON body with your clientKey and returns something like an errorId of 0 with a taskId, then you poll getTaskResult every five seconds until status reads ready. The legacy in.php and res.php form fields are accepted too, which is why old 2captcha and Anti Captcha code runs with just the URL and key swapped. It is credit based, no monthly fee, failures refunded automatically.

Caveat, mixing styles in one codebase gets confusing, so I standardized on createTask for anything new. And either way it only clears the captcha, the SMS verification is still a separate step.

Learn more at unlock-api.com
♥ 2 people found this helpful

0 Comments