FunCaptchaTask#


Token-based method of funCaptcha. The method is very similar to reCAPTCHA V2.
API for bypassing FunCaptcha - method, Code examples

FunCaptchaTaskProxyLess Task object structure#

nametypeRequiredDescription
typeStringYesFunCaptchaTask
websiteURLStringYesComplete URL of the target page for loading the Captcha
websitePublicKeyStringYesFunCaptcha Website Key. Can be found in the data-pkey attribute of the FunCaptcha div element
dataStringNodata parameter, you can find it in the initialization function of funCaptcha
proxyTypeStringYesProxy type:`http`, `socks4`, `socks5`
proxyAddressStringYesProxy server IP address or hostname
proxyPortIntegerYesproxy port
proxyLoginStringNoProxy login name
proxyPasswordStringNoProxy login password

Request example#

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

method: POST

Content type: application/json

{
    "clientKey":"api key",
    "task": {
        "type":"FunCaptchaTask",
        "websiteURL":"https://example.com",
        "websitePublicKey":"1321AA23-3128-1B8A-9AA2-A25A21123A34",
        "data": "{\"blob\": \"lkjas13jasf23.azoiu21klzcasd12UaoSsf....\"}",
        "proxyType":"http",
        "proxyAddress":"your_proxy_address",
        "proxyPort":1234,
        "proxyLogin":"your_proxy_login",
        "proxyPassword":"your_proxy_password"
    }
}

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))
 

Related Links#