reCAPTCHA Mobile ProxyLess#


Token-based automatic solving method for reCAPTCHA Mobile.
The received token can then be sent to the target website within the g-recaptcha-response form field or passed to a callback function.

RecaptchaMobileTaskProxyless Task object structure#

nametypeRequiredDescription
typeStringYesRecaptchaMobileTaskProxyless
appPackageNameStringYesThe package name of the loaded reCAPTCHA application. For example, com.company.app, you can get it in https://www.google.com/recaptcha/api3/mwv request
appKeyStringYesThe key to load the reCAPTCHA application is similar to the websiteKey of the web version
appActionStringYesFor additional parameters, you can search grecaptcha.execute to find the action parameters

Request example#

API endpoint: https://api.nextcaptcha.com/createTask

method: POST

Content type: application/json

{
    "clientKey":"api key",
    "task": {
        "type":"RecaptchaMobileTaskProxyless",
        "appPackageName":"com.company.app",
        "appKey":"6LfD3PIbAAAAAJs_eEHvoOl75_83eXSqpPSRFJ_u",
        "appAction":"login"
    }
}

Response example#

{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "gRecaptchaResponse": "03AGdBq26gJ8v3Z3J9z3..."
  },
  "createTime": 1701234567890,
  "endTime": 1701234567890
}

Sample Code#

# https://github.com/nextcaptcha/nextcaptcha-python
 
import os
import sys
from nextcaptcha import NextCaptchaAPI
 
client_key = os.getenv('NEXTCAPTCHA_KEY', "YOUR_CLIENT_KEY")
 
api = NextCaptchaAPI(client_key=client_key)
try:
  result = api.recaptcha_mobile(app_key="app_key", app_package_name="app_package_name", appAction="appAction")
 
except Exception as e:
  sys.exit(e)
 
else:
  sys.exit('solved: ' + str(result))
 

Related Links#