EzCaptcha
    EzCaptcha
    • ReCaptchaV2创建任务
      POST
    • ReCaptchaV3创建任务
      POST
    • 获取结果
      POST

      ReCaptchaV2创建任务

      POST
      https://api.ez-captcha.com/createTask

      请求参数

      Body 参数application/json
      clientKey
      string 
      必需
      账号的clientKey
      task
      object 
      任务参数对象
      必需
      websiteURL
      string 
      必需
      出现reCaptcha的页面
      websiteKey
      string 
      必需
      目标网站reCaptcha的sitekey
      type
      string 
      必需
      要使用的reCaptcha的类型
      isInvisible
      boolean 
      必需
      是否是invisible类型
      示例
      {
        "clientKey": "cc9c18d3e263515c2c072b36a7125eecc078618f",
        "task": {
          "websiteURL": "https://www.google.com/recaptcha/api2/demo",
          "websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
          "type": "ReCaptchaV2TaskProxyless",
          "isInvisible": false
        }
      }

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://api.ez-captcha.com/createTask' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "clientKey": "cc9c18d3e263515c2c072b36a7125eecc078618f",
          "task": {
              "websiteURL": "https://www.google.com/recaptcha/api2/demo",
              "websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
              "type": "ReCaptchaV2TaskProxyless",
              "isInvisible": false
          }
      }'

      返回响应

      🟢200结果
      application/json
      Body
      errorId
      integer 
      必需
      errorCode
      string 
      必需
      errorDescription
      string 
      必需
      taskId
      string 
      必需
      示例
      {
        "errorId": 0,
        "errorCode": "string",
        "errorDescription": "string",
        "taskId": "string"
      }
      下一页
      ReCaptchaV3创建任务
      Built with