Chris

Back to homepage 中文文档

ReCaptcha

Frequently Asked Questions

Why Choose Us

Request URL (POST):

Version Interface URL
Universal Version http://api.nocaptcha.io/api/wanda/recaptcha/universal
Enterprise Version http://api.nocaptcha.io/api/wanda/recaptcha/enterprise
Steam http://api.nocaptcha.io/api/wanda/recaptcha/steam

Request Headers:

Parameter Name Description Required
User-Token User key, obtained from the homepage Yes
Content-Type application/json Yes
Developer-Id Developer ID, used by developer users. The string in the user homepage invitation link (e.g., xxx/register?c=abcdef, then abcdef is the developer ID) No

POST Data (JSON):

Parameter Name Type Description Required
sitekey String Google verification docking key (k value of the anchor/reload interface) Yes
referer String 🚨🚨🚨 Trigger page address. ✅Please copy the full address displayed on the browser✅. Do not alter it, and definitely don't search for it in developer tools❌. Yes
size String Validation type (e.g. invisible/normal, usually there are only these two choices, specifically check the size value of the anchor interface, they must match). Yes
title String Trigger the page's title (open the console with F12, type in document.title). Yes
action String For the verification code trigger page, search grecaptcha.execute(client, {action: action}), where the action value is only required for v3. No
ubd Boolean Check whether the verification route is the special 'ubd' type. The default is false. No
s String Steam project's 's' value. It's generally not required to be filled in. Currently, only the Steam project needs it to be filled in. No
sa String some website anchor interface route has 'sa'. It's generally not required to be filled in. Currently. only some Enterprise Version needs it to be filled in. No

Parameter Lookup Steps

  1. Method 2, Get Parameters Inside the Developer Tools.

anchor Example

[anchor Example])

JSON Example

{
  "referer": "https://www.trustpilot.com/",
  "sitekey": "6Lcxp2UaAAAAABkIC5izuDmTEeXYfgfaoQ9v69Q4",
  "size": "invisible",
  "title": "Login",
  "action": "login",
}

Response Data (JSON)

Parameter Name Type Description
status Integer Call success: 1 for success, 0 for failure. Please use this value to judge.
msg String Description of the call result in Chinese
id String Request ID for this call (unique, can be used for subsequent record queries)
data.token String Token returned upon successful verification
cost String Verification duration (in milliseconds)
{
  "cost": "1380.01ms",
  "data": {
    "token": "03AFY_a8UL3OTinrQHai6iE4c9l--oZAtVsDsAGBtijmv3QgBWmeOWWvbJvZ_DPT8p2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Hus7BxKZNanhTO34c_9s62t9FRrLaiQfTXy4ZUlCgVAkWt1f_6lrRwj9VZDQRiplJQwIIDpT2jhXrgGLdqIjOBtJ2Doy3Gx4dkpPCuquqhnzyvFCEJdyG-QKaONu4tbFjbUWB7TwIgREUVdrR5k3YN21sVTY2yvNZjc8YVCw-YXIYygZE6OpPJUIhxxXtB55xpxQ2THITBlkIu5QmBtQ4lXi3GBbq_UKB_Lxn5SVjK88yTZ3TD3m8nfH4WDdb4c36Ff4lpGEEIsZtS7U11FqTGu_xv-dgIYN0-t1tK8TKhJLHDG8nRwady2Xiq190yBXI3sDDcumMpCYqf2wE6Hmu2gnLRGlqPYdsnlC0JQMoeUTHhdEBslQb4iPV_0azLHp_kCEZvYZYalmyIibmmI2O9qY9gROUHt7NRLl_-T3mxr7cdRP2kG801i8Y87nY6PVllAs5JCVcRcMu3UXxvgianbXX_VVsuEf3Y-uxoRV7LKHYesm7tsxxcDwUtZiWzjY0PTCMUXgAjWrJDs-w9VUQGGeOWxqebTx-Mg_fTEXvqkmChhFTyBRDF0yQnMx0KaCnOogEK2XxI_ts_M-DWrXFBHUZa9a9a09T-73kpJqlVCcwgQjV-LhyaeQxUIT02_diqL-xM00AWhJmqwnojmmP6cXU34"
  },
  "id": "bc174976-81b2-418e-a6e3-9f7c0bbd41ae",
  "msg": "验证成功",
  "status": 1
}

CURL command

curl -L 'http://api.nocaptcha.io/api/wanda/recaptcha/universal' \
 -H 'User-Token: xxx' \
 -H 'Content-Type: application/json' \
 --data-raw '{"sitekey": "6Lcxp2UaAAAAABkIC5izuDmTEeXYfgfaoQ9v69Q4", "referer": "https://www.trustpilot.com/", "size": "invisible", "title": "Login", "action": "login", "internal": false}' 

Sample Calls

python

pip install -U pynocaptcha -i https://pypi.python.org/simple
from pynocaptcha import ReCaptchaUniversalCracker, ReCaptchaEnterpriseCracker, ReCaptchaSteamCracker

cracker = ReCaptchaUniversalCracker(
    user_token="xxx",
    sitekey="6Le6xNgUAAAAAHDXXUgcrCYACaq_K-iUTa-BIm4h",
    referer="https://visa-fr.tlscontact.com/gb/lon/login.php",
    size="invisible",
    action="login_form",
    title="Login",
    debug=True,
)
ret = cracker.crack()
print(ret)

cracker = ReCaptchaEnterpriseCracker(
    user_token="xxx",
    sitekey="6LcTV7IcAAAAAI1CwwRBm58wKn1n6vwyV1QFaoxr",
    referer="https://login.coinbase.com/",
    size="invisible",
    debug=True,
)

ret = cracker.crack()
print(ret)

cracker = ReCaptchaSteamCracker(
    user_token="xxx",
    sitekey="6LfNGb0ZAAAAAI_j6L2y1eXXWAoSbtjvccEcEq2P",
    referer="https://help.steampowered.com/zh-cn/wizard/HelpWithLoginInfo?issueid=406",
    size="normal",
    title="Steam 客服 - 我忘了我的 Steam 帐户登录名称或密码",
    debug=True,
    s=s,  # The 's' value returned by the Steam website API.
)

ret = cracker.crack()
print(ret)