FunCaptchaTaskProxyLess#
Token-based method of funCaptcha. The method is very similar to
reCAPTCHA V2 .
API for bypassing FunCaptcha without going through a proxy server - method, Code examples
FunCaptchaTaskProxyless Task object structure#
name type Required Description type String Yes FunCaptchaTaskProxyless
websiteURL String Yes Complete URL of the target page for loading the Captcha websitePublicKey String Yes FunCaptcha Website Key. Can be found in the data-pkey attribute of the FunCaptcha div element data String No data parameter, you can find it in the initialization function of funCaptcha
Request example#
API endpoint: https://api.nextcaptcha.com/createTask
method: POST
Content type: application/json
{
"clientKey" : "api key" ,
"task" : {
"type" : "FunCaptchaTaskProxyless" ,
"websiteURL" : "https://example.com" ,
"websitePublicKey" : "1321AA23-3128-1B8A-9AA2-A25A21123A34" ,
"data" : "{ \" blob \" : \" lkjas13jasf23.azoiu21klzcasd12UaoSsf.... \" }"
}
}
Response example#
{
"errorId" : 0 ,
"status" : "ready" ,
"solution" : {
"token" : "98017b84e6d33af83.1206263802|r=us-west-2|meta=3|meta_width=558|meta_height=523|metabgclr=transparent|metaiconclr=%23555555|guitextcolor=%23000000|lang=en|pk=2CB16598-CB82-4CF7-B332-5990DB66F3AB|at=40|ag=101|cdn_url=https%3A%2F%2Fclient-api.arkoselabs.com%2Fcdn%2Ffc|lurl=https%3A%2F%2Faudio-us-west-2.arkoselabs.com|surl=https%3A%2F%2Fclient-api.arkoselabs.com|smurl=https%3A%2F%2Fclient-api.arkoselabs.com%2Fcdn%2Ffc%2Fassets%2Fstyle-manager"
},
"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.funcaptcha( website_public_key = "WEBSITE_PUBLIC_KEY" )
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. FunCaptcha ( "WEBSITE_PUBLIC_KEY" , nextcaptcha . FunCaptchaOptions {})
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 websitePublicKey = "YOUR_WEBSITE_PUBLIC_KEY" ;
string websiteUrl = "" ; // Optional
string data = "" ; // Optional
var result = await nextCaptchaAPI. SolveFunCaptchaAsync (websitePublicKey, websiteUrl, data);
Related Links#