Audio CAPTCHA bypass API service
Code examples:
Read more - captcha solving API documentation.
$solver = new \TwoCaptcha\TwoCaptcha('YOUR_API_KEY'); $result = $solver->solveaudio('path/to/audio.mp3');
TwoCaptcha solver = new TwoCaptcha("YOUR_API_KEY"); byte[] bytes = Files.readAllBytes(Paths.get("src/main/resources/audio-en.mp3")); String base64EncodedAudio = Base64.getEncoder().encodeToString(bytes); Audio captcha = new Audio(); captcha.setBase64(base64EncodedAudio);
TwoCaptcha solver = new TwoCaptcha('YOUR_API_KEY'); AudioCaptcha captcha = new AudioCaptcha(); byte[] bytes = File.ReadAllBytes("/path/to/audio.mp3"); string base64EncodedAudio = Convert.ToBase64String(bytes); captcha.SetBase64(base64EncodedAudio);
require 'api_2captcha' client = Api2Captcha.new("YOUR_API_KEY") result = client.audio({ audio: 'path/to/audio.jpg', lang: "en" })