Join And Get Free Trial!

getToken#


The getToken API is designed to streamline the process of solving captcha challenges by creating a task and immediately returning the result. Unlike traditional methods that require the use of the getTaskResult endpoint to retrieve results, the getToken API eliminates this step, providing a more efficient and seamless experience.

API endpoint: https://api-v2.nextcaptcha.com/getToken

method: POST

Content type: application/json

Request properties#

nametypeRequiredDescription
clientKeyStringYesYour API key
taskObjectYesAn object that describes the captcha task. For specific types, please refer to the Captcha task type document.
callbackUrlStringNoThe URL of the registered web server used to receive and process the captcha solution results
softIdIntegerNoYour software ID registered in Our software catalog

Request example#

{
    "clientKey":"api key",
    "task": {
        "type":"Recaptchav2TaskProxyless",
        "websiteURL":"https://www.google.com/recaptcha/api2/demo",
        "websiteKey":"6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
    }
}

Response example#

This API simplifies workflows, enhances user experience, and offers a more streamlined approach to captcha handling. If successful, the API returns `0|TOKEN`; if it fails, it returns `1|ERROR_MSG`.
STATUS|TOKEN or ERROR_MSG

Success:
0|03AFcWeA7CFbZ7rbZac259n0RBO5L3Hs3_8TqBaXcgGWOUsqx3kfqdBbkC933g-GwJB8g6mN6eytpX6xb6KBT7V1B-0zyzya9eaoZfJ9c1ewZJS1swU1JGUw2ilPFs5Eb9MCW7cPHboWibfRpuIhn3bO4gL2sby7hFmWh9F6cBGcYGXEa-HQgNmSasfwlIN4C3U_sU29Mj6oh29rYQoN3-Q-mPyC4elNH7akJ1qKKRiIQWDAHTYfHwVrKIx6gmmPD_D1CrFbWxUAK74PrbQrLqSEBYNx_rXnb7L8oJnJTH2ScA37D5qLwzI0fRsnzbwX8hDSbH1vkm-yLKJEk3KztE_vpkpNhL5i9pwd0yGxkQOouZOUGWrsLjnAnbU4k_34LXQHS3dAC8U0ZF6WxwlGSoS0MlBCsf7nH15LieaSd41UCWwDhBTlbOAuRtnRrj-nhl8YNkJnQ0a-mv8Fd2O4z5W9AO5rDyKNbfzbPuhjVuqDdwvI1_dUkbPlLMYVyoV5GjBss9DP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Mqhnuvbmvvecf9oMB_x6nzTp9zQrfMJ4fIb46o0I_2EcwtmykNedHy21mJifva29oL2WamMmi6gOFXCYk3Z9EdciKDrhv2U8YoGjU2YcXD3P2kygD813jE_5m7NXSXLNYryxfSZVmSNGwGSgXHNreK36znbH9qq_U44uG_1Md3PlY_x8EKw4w_wXKWC4q_IToIdHlnDFdYr-CjN2IO0Wd48jm4Fzf8daguVHR7C95tmheBcy6Ea3xX49r5s5NiH4wNNsgjSaaNZcG8nPYwsaPjp2P_vcI3hk93nxYN3d1RnTif1_ap0R-91KEZF7gn693Bvy09KwZYwZaRPnt_-75oqfpFcAPH4yZkUtb7-Sy1DFosCflEJdAnND8pMSNvqQHapyzIDzdFBw8hSiC4pthumLFHvCvXhIu-ow

Failure:
1|The CAPTCHA challenge failed to be resolved.

Related Links#