✨ NoCaptcha v2 is here — fresh look, API v2 & agentic solving.Read the changelog →
Image Tasks

MTCaptcha

Solve MTCaptcha image captchas with the NoCaptchaAI API.

Create a task

POST https://api.nocaptchaai.com/createTask

{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "MtCaptchaClassification",
    "websiteURL": "https://example.com",
    "images": ["base64-captcha-image"],
    "module": "mtcaptcha",
    "maxLength": 8
  }
}

Get the result

{ "errorId": 0, "solution": { "text": ["abcdefgh"] } }
  • solution.text[0] is the recognized captcha text.
  • Missing solution.text triggers a refresh.

Code example

import requests
API_KEY = "YOUR_API_KEY"; BASE = "https://api.nocaptchaai.com"
res = requests.post(f"{BASE}/createTask", json={
    "clientKey": API_KEY,
    "task": {
        "type": "MtCaptchaClassification",
        "websiteURL": "https://example.com",
        "images": ["base64-captcha-image"],
        "module": "mtcaptcha",
        "maxLength": 8
    }
}).json()
print(res)
const API_KEY = "YOUR_API_KEY", BASE = "https://api.nocaptchaai.com";
const res = await fetch(`${BASE}/createTask`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    clientKey: API_KEY,
    task: {
      type: "MtCaptchaClassification",
      websiteURL: "https://example.com",
      images: ["base64-captcha-image"],
      module: "mtcaptcha",
      maxLength: 8
    }
  })
}).then(r => r.json());
console.log(res);
curl -X POST https://api.nocaptchaai.com/createTask \
  -H "Content-Type: application/json" \
  -d '{
    "clientKey": "YOUR_API_KEY",
    "task": {
      "type": "MtCaptchaClassification",
      "websiteURL": "https://example.com",
      "images": ["base64-captcha-image"],
      "module": "mtcaptcha",
      "maxLength": 8
    }
  }'

Next steps

On this page

Content-Length: 0