Capy Puzzle CAPTCHA bypass API service
Find the value of
capy_captchakeyparameter in the source code of the page or in the script source link that looks like:https://api.capy.me/puzzle/get_js/?k=PUZZLE_Abc1dEFghIJKLM2no34P56q7rStu8v
Also find the root part of the script URL, for example:https://api.capy.me/and use it inapi_serverparameter.Submit a HTTP
GETorPOSTrequest to our API URL:http://2captcha.com/in.phpwith method set tocapyand provide the values found on previous step ascaptchakeyandapi_serverand the full page URL as value forpageurl. You can find the full list of parameters in the table below.Request URL example ->
http://2captcha.com/in.php?key=1abc234de56fab7c89012d34e56fa7b8&method=capy&captchakey=PUZZLE_Abc1dEFghIJKLM2no34P56q7rStu8v&pageurl=http://mysite.com/If everything is fine server will return the
IDof your captcha as plain text, like:OK|2122988149or as JSON{"status":1,"request":"2122988149"}ifjsonparameter was used. Otherwise server will return an error code.Make a 15-20 seconds timeout then submit a HTTP
GETrequest to our API URL:http://2captcha.com/res.phpto get the result. The full list of parameters is in the table below.If captcha is already solved server will respond in JSON and return the answer containing three values:
captchakey,challengekeyandanswer.If captcha is not solved yet server will return
CAPCHA_NOT_READYresult. Repeat your request in 5 seconds.If something went wrong server will return an error code.
{ "captchakey": "PUZZLE_Abc1dEFghIJKLM2no34P56q7rStu8v", "challengekey": "y1Pu234nCwq56WnqB7y8TSZq0Qzp0ltK", "answer": "0xax8ex0xax84x0xkx7qx0xux7qx0xux7gx0x18x7gx0x1sx76x0x26x6ix0x2qx6ix0x3ex68x0" }Use the values returned in your request to the target website passing them in the corresponding request fields:
capy_captchakey,capy_challengekey,capy_answer.Code examples:
Read more - captcha solving API dоcumentation.
// https://github.com/2captcha/2captcha-php $solver = new \TwoCaptcha\TwoCaptcha('YOUR_API_KEY'); try { $result = $solver->capy([ 'sitekey' => 'PUZZLE_Abc1dEFghIJKLM2no34P56q7rStu8v', 'url' => 'https://www.mysite.com/captcha/', 'api_server' => 'https://jp.api.capy.me/' ]); } catch (\Exception $e) { die($e->getMessage()); } die('Captcha solved: ' . $result->code);