Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

点击进入【丹里科技官网】注册即送1000点数,加微信好友再送5000点数

...

如果获取token失败,请联系客服,进行网站开通。

获取hcap的Token流程必须通过请求服务端并且正确识别9宫格的图像通过之后返回获取。该流程收到网络等各方面影响快的话5秒慢的话半分钟。根据目标网站对评分要求,分为通用和高分接口。可以先尝试通用接口,,如果通用接口不能过再测试使用高分接口

所以如果需要获取token,有两种方式:

  • 普通模式:

    • 一般先创建一个任务

    • 然后过一段时间再来获取结果

目前该接口把创建任务和获取结果的接口二合一。所以第一次请求一般会失败,失败之后隔3-5秒再次请求即可获取到争取的cookie。所以失败是正常现象。

如果想快速的获取数据,注意填写expectNum 后面期望获取的token数量,后台会同步创建期望值的任务数来生成Token,如果不来获取也不会扣点。

如果发现某账号恶意请求而不获取数据,将可能降权或冻结处理。VIP等级越高expectNum值越大

  • 极速模式:

    • 由于普通模式存在一定的滞后性,所以极速模式专门解决滞后性问题而产生

    • 极速模式开启之后,后台将随时随刻保持一定可用数量的token供调用。达到数据秒回效果。

由于该模式会占用大量资源,当每天请求量达到一定量级或VIP等级达标或缴纳一定费用可联系管理员开启极速模式。

请求地址

请求地址

通用接口:http://api.zjdanli.com/hcaptcha/getToken

Status
colourBlue
title消耗15点

高分接口:http://api.zjdanli.com/hcaptcha/getTokenM1

Status
colourBlueRed
title消耗15点消耗25点

POST application/json

请求参数

属性

类型

必须

说明

appid

String

【丹里科技官网】注册之后获得

host

string

网站域名。如:www.zjdanli.com。不能携带http

sitekey

string

hCaptcha 网站接入码,固定值

expectNum

Int

近期期待获取量,能加速获取。最大值为vip等级*5

请求示例

Code Block
{
    "appid":"test",
    "host":"www.zjdanli.com",
    "sitekey": "55159327-40d2-4fdb-b5c7-aeefe3139ceb",
    "expectNum": 5,
}

响应参数

属性

类型

必须

说明

code

String

0:成功

appid_err:appid认证失败

points_not_enough:可用点数不足

msg

string

返回值中文说明

data

string

token

返回示例

Code Block
{
    "code": "0",
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