DocumentationAPI v1
Captcha Recognition•Proxyless Vision / Audio AI~260ms avg99.4% accuracy$0.35 / 1k

Audio Captcha Recognition

POST/api/v1/tasks:solve
POST/api/v1/createTask

Fast (~260ms) audio challenge solving for accessibility audio captchas (reCAPTCHA v2 Audio, MTCaptcha Audio, custom MP3/WAV/OGG). Returns clean digits or phrases.

Supported Task Types & Modes

Task TypeModeRecommended ForRate / 1k
AudioToTextTaskAudio ChallengeConvert Base64 MP3/WAV/OGG audio captcha clips into exact text or digits$0.35
How to Locate Required Parameters
  1. Trigger the accessibility audio button on the captcha widget.
  2. Download the audio .mp3 or .wav file from the challenge response.
  3. Base64-encode the raw audio file bytes and pass them in audio_base64.

Request Parameters

ParameterTypeRequiredDescription
typestringRequired
Must be "AudioToTextTask".
Example: "AudioToTextTask"
audio_base64stringRequired
Base64-encoded MP3, WAV, or OGG audio file (max 2 MB).
Example: "SUQzBAAAAAAAI1RTU0U..."
options.languagestringOptional
ISO language hint (default "en").
Example: "en"
options.digits_onlybooleanOptional
Set true if the audio only speaks numbers to strip punctuation/words.
Example: true

Request Examples

Create & Poll Task
curl -X POST https://api.byecap.org/api/v1/createTask \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "type": "AudioToTextTask",
    "audio_base64": "SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4...",
    "options": { "language": "en", "digits_only": true }
  }'

Response Format

200 OK — Ready Solution
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "text": "58921"
  }
}
Response FieldTypeDescription
solution.textstringClean text or numeric sequence extracted from the audio clip.

Error Codes & Troubleshooting

Error CodeCommon CauseResolution
ERROR_AUDIO_TOO_LARGEAudio file exceeds 2 MB limit.Submit the original compressed MP3/OGG stream directly.
ERROR_UNSUPPORTED_AUDIOCorrupted or unsupported container format.Ensure standard MP3, WAV, or OGG bytes.
Best Practices & Billing Protection
  • Audio payloads are discarded immediately after solving and are never retained on disk.
  • Set digits_only: true for numeric voice captcha clips to return digits only.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →