MTCaptcha (With Proxy): solving MTCaptcha (With Proxy)
TIP Create the task with createTask method and get the result with getTaskResult method.
DANGER MtCaptchaTask requires a proxy.
Already using Anti-Captcha/CapSolver style APIs? Switch provider URLs to https://captcha.scrappey.com and keep the same flow.
Create Task
Create a recognition task with the createTask method.
Pricing
Pricing below applies to this endpoint only: https://captcha.scrappey.com.
| Task Type | Balance / Successful Solve | Balance / 1000 Solves |
|---|---|---|
| Cloudflare Turnstile | 0.6 | 600.0 |
| MTCaptcha (ProxyLess) | 1.0 | 1000.0 |
| MTCaptcha (With Proxy) | 1.0 | 1000.0 |
| PopulairCaptcha (ProxyLess) | 1.0 | 1000.0 |
| reCAPTCHA v2 (ProxyLess) | 0.6 | 600.0 |
| reCAPTCHA v2 (With Proxy) | 0.6 | 600.0 |
| reCAPTCHA v3 (ProxyLess) | 0.6 | 600.0 |
| reCAPTCHA v3 (With Proxy) | 0.6 | 600.0 |
| DataDome Slider / Interstitial | 1.0 | 1000.0 |
NOTE Balance pricing depends on how many you buy in one go. In general it's 1€ per 1000 balance, with up to 50% discount on higher purchases.
Task Object Structure
| Properties | Type | Required | Description |
|---|---|---|---|
type | String | Required | MtCaptchaTask |
websiteURL | String | Required | Web address of the target page. |
websiteKey | String | Required | Domain public key / captcha sitekey. |
proxy | String | Required | Your proxy string. Example: http://user:pass@host:port |
Example Request
POST https://captcha.scrappey.com/createTask
Host: captcha.scrappey.com
Content-Type: application/json
{
"clientKey": "YOUR_SCRAPPEY_API_KEY",
"task": {
"type": "MtCaptchaTask",
"websiteURL": "https://example.com",
"websiteKey": "MTPublic-xxxxxxxxx",
"proxy": "http://user:pass@host:port"
}
}Example Response
{
"errorId": 0,
"errorCode": "",
"errorDescription": "",
"status": "idle",
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}Getting Results
Submit the returned taskId to get recognition results.
Example Request
POST https://captcha.scrappey.com/getTaskResult
Host: captcha.scrappey.com
Content-Type: application/json
{
"clientKey": "YOUR_SCRAPPEY_API_KEY",
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}Example Response
{
"errorId": 0,
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006",
"status": "ready",
"errorCode": null,
"errorDescription": null,
"solution": {
"token": "TOKEN_VALUE",
"type": "mtcaptcha"
}
}Use SDK Request (Node.js)
// npm install axios
import axios from "axios";
const baseURL = "https://captcha.scrappey.com";
const clientKey = process.env.SCRAPPEY_API_KEY;
const { data: created } = await axios.post(`${baseURL}/createTask`, {
clientKey,
task: {
"type": "MtCaptchaTask",
"websiteURL": "https://example.com",
"websiteKey": "MTPublic-xxxxxxxxx",
"proxy": "http://user:pass@host:port"
}
});
const taskId = created.taskId;
while (true) {
await new Promise((r) => setTimeout(r, 1500));
const { data: result } = await axios.post(`${baseURL}/getTaskResult`, {
clientKey,
taskId
});
if (result.status === "ready") {
console.log("Token:", result.solution.token);
break;
}
if (result.status === "failed") {
throw new Error(`${result.errorCode}: ${result.errorDescription}`);
}
}