What is MTCaptcha?
MTCaptcha is a text captcha. A small box on the form shows a picture with a few letters and numbers, usually four to six, written in mixed fonts over a photo. Some of the characters sit inside a colored oval that flips their colors, which makes them harder to read. You type what you see, and the box turns green.
Behind the box, MTCaptcha also runs a few quiet checks on the browser. When it trusts the visitor, it may skip the picture completely. Either way, the result is a verified token that the form sends with your data. The website then asks MTCaptcha if the token is real.
You will find MTCaptcha on sign-up pages, login pages, school and learning platforms, government and public service forms, and shops. A script that sends the form without a token is refused, and that is the part DraxonCloud takes care of.
How to solve MTCaptcha with DraxonCloud
- Open the page with the MTCaptcha box and copy its address.
- Copy the site key. It starts with
MTPublic-. - Send both to our API with the type
mtcaptcha. - Wait for the answer in one request.
- Put the token in the
mtcaptcha-verifiedtokenfield and submit the form.
There is nothing to install and no browser to run.
What you send
website_url: the full address of the page that shows the captcha, likehttps://example.com/signup. MTCaptcha checks that the page’s domain belongs to the site key, so use the real page.website_key: the MTCaptcha site key. It is a public ID the site gives its widget, and it looks likeMTPublic-xxxxxxxxx. To find it:- Open the browser console on the page and type
mtcaptchaConfig.sitekey. - Or open the page source and search for
MTPublic-.
- Open the browser console on the page and type
action(optional): some sites tag the widget with an action name. Open the developer tools, go to the Network tab, reload, and look at the request togetchallenge.json. If itsactvalue is something other than$, send that value asaction.proxy(optional): your proxy, asuser:pass@host:portor with a scheme likehttp://. MTCaptcha makes the text longer and harder for an address that asks for lots of captchas, so a rotating proxy helps at high volume.
What you get back
A solved task gives you solution.token. It looks like v1(0a1b2c3d,4e5f6a7b,MTPublic-xxxxxxxxx,…).
To use it:
- Put it in the hidden form field named
mtcaptcha-verifiedtokenand submit the form. - If the site sends the token another way, for example in a JSON body, watch the Network tab once while you pass the captcha by hand, and do the same.
- Use the token soon. It is made for one form and expires after a short time.
A quick example
Start a task:
curl -s -X POST https://draxon.one/api/captcha/v1/tasks \
-H "Authorization: Bearer $DRAXON_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "mtcaptcha",
"website_url": "https://example.com/signup",
"website_key": "MTPublic-xxxxxxxxx"
}'
Wait for the answer:
curl -s -H "Authorization: Bearer $DRAXON_KEY" \
"https://draxon.one/api/captcha/v1/tasks/<id>?wait=60"
When it is ready (some fields left out):
{
"status": "solved",
"solution": {
"token": "v1(e892d5ff,8d46b596,MTPublic-xxxxxxxxx,87941a5c0c68...)"
}
}
Already using another service?
- CapSolver and 2Captcha (new API) style:
createTaskwith the typeMtCaptchaTaskorMtCaptchaTaskProxyless, pluswebsiteURLandwebsiteKey. - 2Captcha style:
in.phpwithmethod=mt_captcha,sitekeyandpageurl.
Change the address to ours and use your DraxonCloud key. The formats are on Compatible APIs.
What it costs
You pay for each solved MTCaptcha. The live price is in the box at the top of this page and on the pricing page. The price is held when the task starts, charged only when you get a token, and returned in full if the task fails or runs out of time. A task is never charged twice.
Tips that save you time
- Copy the site key from the page you submit on. It must match the page’s domain.
- Send the action if the page uses one. Check the
actvalue ingetchallenge.json. - Give the wait some room. MTCaptcha makes every visitor wait a few seconds before an answer counts, so use
?wait=60. - Spread your traffic. Lots of captchas from one address get longer text and take longer. A rotating proxy keeps them short.
- Submit right after you get the token.
- Retry with an
Idempotency-Keyafter a network error, so you never pay twice.
Every field, code sample and error is in the MTCaptcha docs.