reCAPTCHA Mobile Task#
Token-based automatic solving method for reCAPTCHA Mobile.
bypass reCAPTCHA Android/reCAPTCHA IOS API. reCAPTCHA Android solver API Document. reCAPTCHA IOS solver API Document
The received token can then be sent to the target website within the g-recaptcha-response form field or passed to a callback function.
RecaptchaMobileTask Task object structure#
name type Required Description type String Yes RecaptchaMobileTask
appPackageName String Yes The 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 appKey String Yes The key to load the reCAPTCHA application is similar to the websiteKey of the web version appAction String Yes For additional parameters, you can search grecaptcha.execute to find the action parameters appDevice String No ios | Android
proxyType String Yes Proxy type:`http`, `socks4`, `socks5` proxyAddress String Yes Proxy server IP address or hostname proxyPort Integer Yes proxy port proxyLogin String No Proxy login name proxyPassword String No Proxy login password
Request example#
API endpoint: https://api.nextcaptcha.com/createTask
method: POST
Content type: application/json
{
"clientKey" : "api key" ,
"task" : {
"type" : "ReCaptchaMobileTask" ,
"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))
// https://github.com/nextcaptcha/nextcaptcha-go
package main
import (
" fmt "
" log "
" github.com/nextcaptcha/nextcaptcha-go "
)
func main () {
api := nextcaptcha. NewNextCaptchaAPI ( "API_KEY" )
result, err := api. RecaptchaMobile ( "https://example.com" , "SITE_KEY" , nextcaptcha . RecaptchaV3Options {})
if err != nil {
log. Fatal (err);
}
fmt. Println ( "result " + result)
}
// https://github.com/nextcaptcha/nextcaptcha-csharp
string clientKey = "YOUR_CLIENT_KEY" ;
string solftId = "" ; // Optional
string callbackUrl = "" ; // Optional
bool openLog = true ; // Optional
var nextCaptchaAPI = new NextCaptchaAPI (clientKey, solftId, callbackUrl, openLog);
string appKey = "YOUR_APP_KEY" ;
string appPackageName = "" ; // Optional
string appAction = "" ; // Optional
var result = await nextCaptchaAPI. SolveRecaptchaMobileAsync (appKey, appPackageName, appAction);
Related Links#