NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

Glossary

MTCaptcha

MTCaptcha is a CAPTCHA service that shows a short distorted text image inside a widget and, once it is typed correctly, issues a verified token for the form.

What MTCaptcha is

MTCaptcha is an independent CAPTCHA provider that positions itself around privacy and accessibility, with options suited to sites that must meet GDPR and similar rules. Its widget looks like a classic text CAPTCHA: a small image with a few warped characters and an input box. Depending on the site's settings and the visitor's risk signals, the widget may show the image straight away or only after the visitor focuses the field, and low-risk visitors may pass with an easier challenge.

Unlike a plain image CAPTCHA, the typed answer is not what the site's server receives. The widget checks the answer with MTCaptcha and then writes a signed token into the form. The server verifies the token, not the text.

How to recognise it

  • A script loaded from service.mtcaptcha.com or service2.mtcaptcha.com, usually mtcv1/client/mtcaptcha.min.js.
  • A container element with the class mtcaptcha.
  • A global configuration object named mtcaptchaConfig defined in an inline script.
  • A hidden input named mtcaptcha-verifiedtoken that fills after a pass.

The site key

The site key sits in mtcaptchaConfig under sitekey and always starts with MTPublic-. A typical configuration looks like this:

<script>
  var mtcaptchaConfig = {
    "sitekey": "MTPublic-abCDEFJAB",
    "lang": "en",
    "renderQueue": ["mtcaptcha-box"]
  };
</script>

Some sites also set an action value in the config. It is less common than with reCAPTCHA, but when it is present the server may compare it during verification, so keep a note of it.

The verified token

A pass produces a token that begins with v1( and includes the site key in its body. The widget writes it into the hidden mtcaptcha-verifiedtoken input, and the form sends it on submit. The site's backend calls MTCaptcha's check endpoint with its private key and the token. Tokens are single use and short lived, in line with other widget types, so use each one for one submission straight after you get it.

Solving MTCaptcha through the API

Create an MtCaptchaTaskProxyLess task with the page URL and the MTPublic- key. The solution holds a token that you place in the mtcaptcha-verifiedtoken field before submitting.

import requests

mt_job = {"type": "MtCaptchaTaskProxyLess", "websiteKey": "MTPublic-abCDEFJAB",
          "websiteURL": "https://forum.example.com/register"}
body = {"task": mt_job, "clientKey": "YOUR_API_KEY"}
resp = requests.post("https://gatesolver.com/createTask", json=body, timeout=30)
mt_task = resp.json()["taskId"]

MTCaptcha is priced at $2.10 per 1,000 solved tasks and usually returns under 5 seconds. Poll the result every three seconds, as with other token tasks.

Injecting the token

For an HTTP client, add mtcaptcha-verifiedtoken=<token> to the form body. In a browser, set the hidden input's value with a script and submit the form. Some sites listen for the widget's verified-callback and enable the submit button there; if the button stays disabled, call that callback as described in CAPTCHA callback function.

Why not send the image to OCR instead?

You could read the image text with an Image to Text task and type it into the widget, but that only works in a browser and still depends on the widget accepting the typed answer. The token task skips the image entirely and gives you the value the server actually checks, which is simpler and works the same in browserless code. Use OCR only when you must drive the visible widget for a test that covers the typing step itself.

Accessibility and testing notes

MTCaptcha offers an audio option and keyboard navigation for visitors who cannot read the image, which is part of why some public sector and education sites pick it. If you run automated accessibility audits on such a site, solving the widget through the API lets the rest of the audit continue past the form. For your own staging environment, ask the team that owns the site whether a test key or allow list exists, since that removes the challenge without any solving cost.

Common questions

What does an MTCaptcha site key look like?

It starts with MTPublic- followed by a short string, and it is set in the mtcaptchaConfig object on the page.

Which field receives the MTCaptcha token?

A hidden input named mtcaptcha-verifiedtoken, which the form submits with its other fields.

Can I reuse an MTCaptcha token?

No. Like other widget tokens it is checked once and expires soon, so solve one per submission.

Does the token task need a proxy?

No. The MTCaptcha task is proxyless; you only send the page URL and the site key.

Is MTCaptcha the same as a plain text image CAPTCHA?

It shows a text image, but the server checks a signed token rather than the typed characters, so the token task is the usual route.

Keep reading