示例图片

价格: 0.02元/次
该接口属人机或者人工接口,不支持报错!

注意:

类型: 如何绕过 Cloudflare 验证码和 Cloudflare Turnstile 验证码

只支持HTTP中的Post方法,同时Content-Type请设置为application/json或者application/x-www-form-urlencoded

跨平台http接口,请仔细查看各类型的http接口,仅支持post传参

http api 接口 文档

41.Cloudflare 获取凭证

关于如何找参数,分辨版本,请看开发文档-常见问题

41.1.请求地址    http://api.jfbym.com/api/YmServer/funnelApi

41.2参数列表

参数名称 传值类型 说明 是否必须
token string 用户中心密钥
type string 40012
sitekey string 您在页面上找到的 sitekey 参数的值
pageurl string 显示验证码的页面的完整 URL
action string action传递给turnstile.render调用的参数
data string cData 传递给turnstile.render调用的值
pagedata string chlPageData 传递给turnstile.render调用的值
userAgent  
string 浏览器版本

 

普通版本只需传 sitekey pageurl 

Cloudflare 挑战版本 

这是一个复杂得多的情况。您应该拦截调用turnstile.render并获取以下值:

  • cData
  • chlPageData
  • action

42.Cloudflare 获取凭证 根据凭证获取结果

42.1.请求地址    http://api.jfbym.com/api/YmServer/funnelApiResult

42.2参数列表

参数名称 传值类型 说明 是否必须
token string 用户中心密钥
captchaId string 41接口返回的captchaId凭证
recordId string 41接口返回的recordId记录号

42.3接口说明

    
本接口会有超时时间、请求次数、并发等限制

若接口返回10004和10009错误码,表示出发上述限制,可sleep几秒后在次请求

直到接口返回10001表示请求成功,10010表示请求失败才代表整个请求完成

    

6.反参

参数名称 传值类型 说明
code int 状态值
msg string 请求说明
data array 打码数据
--code int 打码服务状态
--data string 数英计算:答案; 滑块:像素距离; 旋转:角度; 坐标类型:按顺序坐标...
--time string 打码服务时长

7.code列表

7.1.code列表

code 说明
10000 识别成功
10001 参数错误
10002 余额不足
10003 无此访问权限
10004 无此验证类型
10005 网络拥塞
10006 数据包过载
10007 服务繁忙
10008 网络错误,请稍后重试
10009 结果准备中,请稍后再试
10010 请求结束

 

如何提取turnstile.render调用参数

要提取所需的参数,您可以重新定义该turnstile.rended方法,以便在调用该方法时拦截传递的参数。例如,您可以将以下 JavaScript 代码注入到页面中。该代码应在 Turnstile 小部件加载之前执行。

const i = setInterval(()=>{
  if (window.turnstile) {
    clearInterval(i)
    window.turnstile.render = (a,b) => {
      let p = {
        method: "turnstile",
        key: "YOUR_API_KEY",
        sitekey: b.sitekey,
        pageurl: window.location.href,
        data: b.cData,
        pagedata: b.chlPageData,
        action: b.action,
        json: 1        
      }
      console.log(JSON.stringify(p))
      window.tsCallback = b.callback
      return 'foo'
    }
  }
},50)  

结果: {
    "status": 1,
    "request": "0.4uMMZZdSfsVM8...610cd090",
    "useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
}    

或者开发者 debug api.js

 

 

 

在线充值在线咨询在线电话返回顶部

技术支持

电话咨询

19922193247

超10000+ 企业选择我们,快速体验!

温馨提示:我们将在您提交信息后的30分钟内与您取得联系,请您保持电话通畅,谢谢!