Skip to content

MTCaptcha

MTCaptcha ImageToText Task

with this POST request you can solve Charecter Recognition image challenges.

Get ApiKey PRICING
POST https://api.nocaptchaai.com/createTask
Host: api.nocaptchaai.com
Content-Type: application/json

Module Name

"module": "mtcaptcha"

Request

{
"clientKey": "YOUR_API_KEY", // Get API_KEY from https://NoCaptchaAi.com
"task": {
"type": "ImageToTextTask",
"module": "mtcaptcha", // "module_001", "module_002", ...
"body": "base64image" or ["base64image", "base64image"], // string(single) or array(multiple) of base64 of the main images
"websiteURL": "website URL", // source url to improve accuracy
"case": true,
"minLength": 4,
"maxLength": 8,
},
"languagePool": "en"
}

Response

PATH : /getTaskResult
API ENDPOINT: https://api.nocaptchaai.com/getTaskResult
{
"errorId": 0,
"status": "ready",
"solution": {
"text": "hello world"
},
"cost": "0.00025",
"ip": "1.2.3.4",
"createTime": 1692808229,
"endTime": 1692808326,
"solveCount": 1
}

API Testing Example Scripts

(Copy, Edit and Implement)

const axios = require('axios');
const url = 'https://api.nocaptchaai.com/createTask';
const payload = {
clientKey: "userxx-2782xx2-065e-x-7daa-xxxxx",
task: {
type: "GeetestClassification",
images: [
"iVBORw0KGgoAAAANSUhEUgAAASwAAAD"
],
slice: "iVBORw0KGgoAAAANSUhEUgAAAFAAAA",
question: "slide",
websiteURL: "https://doamin.net/login"
}
};
axios.post(url, payload, {
headers: {
'Content-Type': 'application/json'
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error('Error:', error);
});