Friendly CAPTCHA bypass API service
Request examples:
Method: createTask
API endpoint:https://api.2captcha.com/createTask
FriendlyCaptchaTaskProxyless
{ "clientKey": "YOUR_API_KEY", "task": { "type": "FriendlyCaptchaTaskProxyless", "websiteURL": "https://example.com", "websiteKey": "2FZFEVS1FZCGQ9" } }
FriendlyCaptchaTask
{ "clientKey": "YOUR_API_KEY", "task": { "type": "FriendlyCaptchaTask", "websiteURL": "https://example.com", "websiteKey": "2FZFEVS1FZCGQ9", "proxyType": "http", "proxyAddress": "1.2.3.4", "proxyPort": "8080", "proxyLogin": "user23", "proxyPassword": "p4$w0rd" } }
Response example
{ "errorId": 0, "status": "ready", "solution": { "token": "f8b10f4ad796484bae963b1ebe3ce2bb.ZXL8Z...AAAAAA.AgAD" }, "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 `name = frc-captcha-solution`, then submit it's parent form, for example:
document.querySelector('input.frc-captcha-solution').value='f8b10f4ad796484bae963b1ebe3ce2bb.ZXL8Z...AAAAAA.AgAD' document.querySelector('form').submit()