Skip to Content
AnySolver logo
AnySolver
Token

MtCaptchaTokenProxyLess

Solve an MTCaptcha widget without a proxy and get the verified token to submit with your form. Shows the request schema, an example and provider prices.

MtCaptchaTokenProxyLess solves an MTCaptcha widget from the provider network and returns the verified token to submit with your form. MTCaptcha is a text-and-audio CAPTCHA: the visitor reads distorted characters from an image and types them into an input under the widget. When a visitor passes the CAPTCHA, the widget creates that token, and the site's backend validates it with MTCaptcha (MTCaptcha quick start).

If the site validates the token against the address that submits it, use MtCaptchaToken with your proxy.

Find websiteKey

The sitekey is the sitekey value of the mtcaptchaConfig object the page defines before it loads the MTCaptcha script, as in the quick start. It starts with MTPublic-. Open the page source, or the Elements tab in DevTools, and search for mtcaptchaConfig or sitekey.

MTCaptcha code builder showing the mtcaptchaConfig object with sitekey and action

The screenshot is MTCaptcha's code builder, which shows the config a site embeds. The demo key MTPublic-DemoKey9M is the one used in the generated request example. Send the URL of the page that shows the widget as websiteURL. The provider does not need to open it as a logged-in user.

Optional parameters

Only CapMonster accepts these two fields: it sends them as pageAction and isInvisible of its MTCaptchaTask. Other providers ignore them.

  • pageAction: the value of the action key of mtcaptchaConfig, if the config has one (the code builder above shows login). MTCaptcha limits an action to 30 characters, and the site can read it back from the tokeninfo.action field when it validates the token (MTCaptcha action guide).
  • isInvisible: set it to true when the site uses an invisible CAPTCHA, where MTCaptcha shows no visible challenge and still creates a verified token. MTCaptcha can run an extra verification on an invisible widget when it suspects a bot.

Use the token

The token has the form v1(...). Per MTCaptcha's token validation guide, the widget inserts the verified token into the form as a hidden input named mtcaptcha-verifiedtoken. The page script can also read it with mtcaptcha.getVerifiedToken(), or from status.verifiedToken in the verified callback. Submit your token as the mtcaptcha-verifiedtoken field of the form request. If the page sends the token in a different request parameter, submit the form once in a browser with the DevTools Network tab open and find the parameter that carries it.

The same guide sets two limits on a token. The site's server can check it once, unless the site raises tokenDuplicateCallMaxCount. Per the token validation guide, a token expires after 120 seconds unless the site extends it with tokenExpireMiniSec. Submit the token as soon as the task returns.

If the site rejects the token, check that websiteKey and websiteURL come from the page that shows the widget. MTCaptcha's validation response reports the client IP (tokeninfo.ip) and the hostname the CAPTCHA was served under, so a site can compare them with the request that submits the token.

Check Provider stats for live success rates and solve times before you pick a provider.

Supported Providers

ProviderPrice per 1,000Routing
CapSolver
$3.00
2Captcha
$1.45
CapMonster
$1.50
SolveCaptcha
$1.45

Request Schema

FieldTypeRequiredDescription
clientKey*
stringYes

Your API key. Create one in a workspace of the AnySolver dashboard.

Example: your-api-key-from-dashboard

task*
objectYes

The task body. Required fields depend on the task type. See Tasks for per-task schemas.

View task properties
settings
objectNo

Per-request settings for routing, Auto Retry, Auto Fallback, proxy reuse, response statistics and detailed analytics. Each field overrides the API key's value. See Routing modes.

View settings reference

Task Object Properties

The task field accepts an object with the following properties:

FieldTypeRequiredDescription
type*
Yes
websiteURL*
URLYes

Full URL of the page where the CAPTCHA is displayed.

Example: https://service.mtcaptcha.com/mtcv1/demo/index.html

websiteKey*
stringYes

The MTCaptcha sitekey, starting with MTPublic-, from the page code.

Example: MTPublic-DemoKey9M

pageAction
stringNo

The action value from the widget configuration (the action key of mtcaptchaConfig), if the site sets one. Only CapMonster accepts it, as pageAction; other providers ignore it.

Example: login

isInvisible
booleanNo

Set true when the widget is invisible, meaning it has a hidden confirmation field. MTCaptcha may then run an extra verification if it suspects a bot. Only CapMonster accepts it.

Example: false

{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "MtCaptchaTokenProxyLess",
        "websiteURL": "https://service.mtcaptcha.com/mtcv1/demo/index.html",
        "websiteKey": "MTPublic-DemoKey9M"
    }
}

Optional fields are not guaranteed across providers

Required fields are guaranteed across every provider that supports this task. Optional fields may be honored by some providers and silently ignored by others. AnySolver does not document per-provider parameter support, so before relying on an optional field, check that provider's own docs for the task you are using.

Response Schema

FieldTypeRequiredDescription
status*
Yes

Task status: "processing", "ready", or "failed".

Example: ready

errorId*
Yes

0 on success; 1 or 2 on an error. Branch on errorCode: Error IDs explains the two error groups.

Example: 0

taskId
stringNo

Unique identifier returned when the task was created.

Example: 01KFNDF328KAN2AJ3BNHCQYE88

errorCode
No

Machine-readable error code.

Example: CAPTCHA_UNSOLVABLE

errorDescription
stringNo

Human-readable error message with resolution hints.

Example: The captcha could not be solved.

cost
numberNo

Actual cost charged for this task in USD.

Example: 0.002

taskType
No

The type of CAPTCHA task to solve.

Example: ReCaptchaV2TokenProxyLess

provider
No

Provider that handled this task. While processing, the provider currently solving it.

Example: Multibot

solution
objectNo

Solution Object Properties

The solution field contains an object with the following properties:

FieldTypeRequiredDescription
token*
stringYes

The solved CAPTCHA token to submit with your form.

Example: v1(00cc43a5,1adfe4b4,MTPublic-DemoKey9M,0080ab49...IJexMsishqlg**)

raw*
Record<string, unknown>Yes

Raw provider response data for advanced use cases.