Cutcaptcha bypass API service
Request examples:
Method: createTask
API endpoint:https://api.2captcha.com/createTask
CutCaptchaTaskProxyless
{ "clientKey": "YOUR_API_KEY", "task": { "type": "CutCaptchaTaskProxyless", "miseryKey": "a1488b66da00bf332a1488993a5443c79047e752", "apiKey": "SAb83IIB", "websiteURL": "https://example.cc/foo/bar.html" } }
CutCaptchaTask
{ "clientKey": "YOUR_API_KEY", "task": { "type": "CutCaptchaTask", "miseryKey": "a1488b66da00bf332a1488993a5443c79047e752", "apiKey": "SAb83IIB", "websiteURL": "https://example.cc/foo/bar.html", "proxyType": "http", "proxyAddress": "1.2.3.4", "proxyPort": "8080", "proxyLogin": "user23", "proxyPassword": "p4$w0rd" } }
Response example
{ "errorId": 0, "status": "ready", "solution": { "token": "BazM23cpFUUyAAAdqPwNEDZx0REtH3ss" }, "cost": "0.00299", "ip": "1.2.3.4", "createTime": 1692863536, "endTime": 1692863556, "solveCount": 1 }
Using the token
Use the returned token as a value for "input" with "id = cap_token", then submit it's parent form, for example:
document.querySelector('input#cap_token').value='BazM23cpFUUyAAAdqPwNEDZx0REtH3ss' document.querySelector('form').submit()
If there's a callback function defined, you can call it passing the token as argument:
capResponseCallback('BazM23cpFUUyAAAdqPwNEDZx0REtH3ss')