Solve MTCaptcha

Logo of Capsolver

CapSolver Blogger

How to use capsolver


Solve MTCaptcha

Solveing MtCaptcha

How MTCaptcha looks

In this blog post, we'll focus on how to programmatically solve MtCaptcha using Capsolver API. This can be particularly useful for developers who are working on projects that require automating tasks that involve interacting with MtCaptcha protected websites.

Understanding MtCaptcha

MtCaptcha is a service that protects websites from bots and spam by presenting users with a challenge that needs to be solved to prove that they're human. Capsolver provides support for various types of MtCaptcha tasks. In this blog post, we'll be focusing on MtCaptchaTask and MtCaptchaTaskProxyLess types, the latter of which uses the server's built-in proxy.

Creating a Task for MtCaptcha

To solve MtCaptcha, the first step involves creating a task with the createTask method. This requires you to provide certain details like the type of task, the URL of the website using MtCaptcha, the public domain key, and more. Here's an overview of the task object structure:

  "type": "MtCaptchaTask",
  "websiteURL": "URL of the website using MtCaptcha",
  "websiteKey": "Public domain key",
  "proxy": "Proxy details",
  "userAgent": "Browser's User-Agent used in emulation"
Once you've submitted the task, you should receive a 'Task ID' in the response if it's successful.
## Retrieving the Result of the Task
After you've created the task, you can retrieve the result using the getTaskResult method. Depending on the system load, the results can be obtained within an interval of 5s to 30s.
Content-Type: application/json

  "clientKey": "YOUR_API_KEY",
  "taskId": "Task ID received from the createTask method"

Once the task status is ready, you should receive the result of the MtCaptcha challenge in the response.
Solution Token of MTCaptcha

Solving MtCaptcha with Python using Capsolver SDK

# pip install --upgrade capsolver
# export CAPSOLVER_API_KEY='...'

import capsolver

# capsolver.api_key = "..."
solution = capsolver.solve({
    "type": "MtCaptchaTask",
    "websiteKey": "MTPublic-tqNCRE0GS",
    "websiteURL": "",
    "proxy": "ip:port:username:password"

In the above code, YOUR_API_KEY should be replaced with your CapSolver API key, MTPublic-tqNCRE0GS should be replaced with the public key of the website with the MtCaptcha, and the "proxy" field should be replaced with the details of your proxy if you're using one. The solve function sends a request to create a task to solve the captcha, and it will return the solution when it's ready.


For information on pricing, please visit our pricing page.

Solve MtCaptcha in any programming language (C#/PYTHON/JAVASCRIPT/PHP):

Visit this page


Change the User-Agent in Selenium
Change the User-Agent in Selenium | Steps & Best Practices

Changing the User Agent in Selenium is a crucial step for many web scraping tasks. It helps to disguise the automation script as a regular browser...

The other captcha


web crawler in python
Web Crawler in Python and How to Avoid Getting Blocked When Web Crawling

Web crawling, also known as web scraping, is the automated process of navigating through websites, extracting data, and storing it for various purposes such as data analysis, market research, and content aggregation...

The other captcha


Web Scraping in C
Web Scraping in C#: Without Getting Blocked

Enhance your web scraping skills with C#. Master efficient data extraction using advanced libraries and techniques in our expert guide. Start now!

The other captcha


How to Solve DataDome 403
How to Solve DataDome 403 Forbidden Error in Web Scraping | Complete Solution

Unlock the secrets to overcoming DataDome's 403 Forbidden error in web scraping, ensuring uninterrupted access to your valuable data.

The other captcha


Scrapy vs. Beautiful Soup
Scrapy vs. Beautiful Soup | Web Scraping Tutorial 2024

Dive into the world of web scraping with Scrapy and Beautiful Soup, and master CAPTCHA challenges seamlessly with CapSolver.

The other captcha


How to Solve Imperva Incapsula
How to Solve Imperva Incapsula When Web Scraping in 2024 | Complete Guide

Web scraping with Imperva Incapsula's security is challenging. This guide explores identifying Imperva-protected sites, reverse engineering, network detection, and using CapSolver for efficient solving in 2024.

The other captcha