hcap协议接口
点击进入【丹里科技官网】注册即送1000点数,加微信好友再送5000点数
如果获取token失败,请联系客服,进行网站开通。
根据目标网站对评分要求,分为通用和高分接口。可以先尝试通用接口,,如果通用接口不能过再测试使用高分接口
请求地址
通用接口:http://api.zjdanli.com/hcaptcha/getToken 消耗15点
高分接口:http://api.zjdanli.com/hcaptcha/getTokenM1 消耗25点
POST
application/json
请求参数
属性 | 类型 | 必须 | 说明 |
---|---|---|---|
appid | String | 是 | 【丹里科技官网】注册之后获得 |
host | string | 是 | 网站域名。如:www.zjdanli.com。不能携带http |
sitekey | string | 是 | hCaptcha 网站接入码,固定值 |
expectNum | Int | 否 | 近期期待获取量,能加速获取。最大值为vip等级*5 |
请求示例
{
"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": "0",
"msg": "成功",
"data": "P0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNza2V5IjoibzQ2Uk55N2t6L0RXQ0NObVprdTlMTDhXbjZiejlYZGNiSFhpTHlzbVoxOC9wNTNSTEtuY2RmenZYR20vQjVZWDJwN3hlV1BkbTZjMlRvbUF4TjdUMG4xK2IzbnhEZFdiTGdnUFp3czJLYlNrczR2ZE1yL0FyTTlnSWtzQk5lSWFWZFRLZnR0TXJHblROcjdzTTF6aXluSFNoZ1IreEl6aFpMdVRkdkVSWFo0MHBYM0pXT3lQOHR1YUpxeVhXZHZrbkNMbVBFeVpaSDkrK242UStRYXVEMmZ4N0R6VzUyVGdlSldZMDdUWlFydGlocTNrb0NjUDNIakJFeFBBSGZsZW1kZEtLZnJqdllkUXF5SDJxbHM3OTQ0c0NCQU94YXVnaE1NWlZmOVFlZE82dHkxZkF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