NeuroCaptcha

Audio captcha

Audio captcha: parameters, request, response and the 2Captcha method of AudioTask.

On this page

A sound recording with spoken digits or words, such as the audio version of a captcha. Send it in base64 with its language and get the transcript in solution.text.

Statuscoming soon
Type codesAudioTask — without a proxy
Proxynot needed
Also accepted as—
Priceset when the type is switched on — see pricing

Parameters#

Fields of the task object in createTask:

type
stringrequired
Task type: AudioTask.
body
stringrequired
The captcha file in base64. Base64 sound (MP3, WAV, OGG, FLAC or WEBM), up to 1 MB decoded.
lang
string
Language spoken in the recording. One of en, fr, de, el, pt, ru.

Request#

A AudioTask task:

POST /createTask
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "AudioTask",
    "body": "SUQzBAAAAAAAI1RTU0UAAAAP…"
  }
}

Response#

getTaskResult once the task is solved:

getTaskResult
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "text": "x7k2p",
    "userAgent": ""
  },
  "cost": "0.000500",
  "ip": "198.51.100.7",
  "createTime": 1793370000,
  "endTime": 1793370012,
  "solveCount": 1
}

2Captcha in.php#

The same task through the 2Captcha API: method=audio, parameters → task fields:

in.phptask
bodybody
langlang

res.php returns text of the solution as text (OK|…), or in request with json=1.