One parameter. That's the whole thing.
Add your softId to any createTask call. From that moment, every captcha your users solve through your app is attributed to you — and 10% of their spend lands in your balance. Your softId is issued at Tools → Developer Center.
// npm install @antiadmin/anticaptchaofficial // https://github.com/anti-captcha/anticaptcha-npm const ac = require("@antiadmin/anticaptchaofficial"); ac.setAPIKey('YOUR_API_KEY_HERE'); // Specify softId to earn 10% commission with your app. // Get your softId here: https://anti-captcha.com/clients/tools/devcenter ac.setSoftId(YOUR_SOFT_ID); ac.solveImage(captcha, true) .then(text => console.log('captcha text: ' + text)) .catch(err => console.log('error: ' + err));
# pip3 install anticaptchaofficial from anticaptchaofficial.imagecaptcha import * solver = imagecaptcha() solver.set_key("YOUR_API_KEY_HERE") # Specify softId to earn 10% commission with your app. # Get your softId here: https://anti-captcha.com/clients/tools/devcenter solver.set_soft_id(YOUR_SOFT_ID) captcha_text = solver.solve_and_return_solution("captcha.jpeg") if captcha_text != 0: print("captcha text " + captcha_text) else: print("task finished with error " + solver.error_code)
// git clone https://github.com/anti-captcha/anticaptcha-php.git include("anticaptcha.php"); include("imagetotext.php"); $api = new ImageToText(); $api->setKey("YOUR_API_KEY_HERE"); $api->setFile("captcha.jpg"); // Specify softId to earn 10% commission with your app. // Get your softId here: https://anti-captcha.com/clients/tools/devcenter $api->setSoftId(YOUR_SOFT_ID); if (!$api->createTask()) { echo "send failed: " . $api->getErrorMessage(); exit; }
// go get github.com/anti-captcha/anticaptcha-go package main import ( "fmt" "github.com/anti-captcha/anticaptcha-go" ) func main() { ac := anticaptcha.NewClient("API_KEY_HERE") // Specify softId to earn 10% commission with your app. // Get your softId here: https://anti-captcha.com/clients/tools/devcenter ac.SoftId = YOUR_SOFT_ID solution, err := ac.SolveImageFile("captcha.jpg", anticaptcha.ImageSettings{}) if err != nil { panic(err) } fmt.Println("Captcha Solution:", solution) }
// git clone https://github.com/anti-captcha/anticaptcha-java.git ImageToText api = new ImageToText(); api.setClientKey("YOUR_API_KEY_HERE"); api.setFilePath("captcha.jpg"); // Specify softId to earn 10% commission with your app. // Get your softId here: https://anti-captcha.com/clients/tools/devcenter api.setSoftId(YOUR_SOFT_ID); if (!api.createTask()) { DebugHelper.out("send failed: " + api.getErrorMessage(), DebugHelper.Type.ERROR); } else if (!api.waitForResult()) { DebugHelper.out("Could not solve.", DebugHelper.Type.ERROR); }
// git clone https://github.com/anti-captcha/anticaptcha-csharp.git var api = new ImageToText { ClientKey = "YOUR_API_KEY_HERE", FilePath = "captcha.jpg", // Specify softId to earn 10% commission with your app. // Get your softId here: https://anti-captcha.com/clients/tools/devcenter SoftId = YOUR_SOFT_ID }; if (!api.CreateTask()) DebugHelper.Out("send failed: " + api.ErrorMessage, DebugHelper.Type.Error); else if (!api.WaitForResult()) DebugHelper.Out("Could not solve.", DebugHelper.Type.Error);
curl -i -H "Accept: application/json" \ -H "Content-Type: application/json" \ -X POST -d '{ "clientKey": "YOUR_API_KEY_HERE", "task": { "type": "ImageToTextTask", "body": "BASE64_BODY_HERE" }, "softId": YOUR_SOFT_ID }' https://api.anti-captcha.com/createTask