本API接口对应的会员中心页面:
https://www.wechaturl.us/user/index.html#business_management/url_cycle_check
请求URL:
https://wechaturl.us/api/UrlCycleCheck.json
请求方式:
POST 或者GET(如果用GET,特殊字符串需要url编码)
参数:
参数名 | 必选 | 类型 | 说明 |
appid | 是 | int | http://www.wechaturl.us/user/index.html 去免费获取appid |
appkey | 是 | string | http://www.wechaturl.us/user/index.html 去免费获取appkey |
url | 是 | string | 输入http(s)://开头的网址 |
type | 是 | string | 值:add |
frequency | 否 | int | 秒钟,目前支持 1×60,2×60, 5×60,10×60,30×60, 120×60,1440×60, 2880×60, 默认是你会员权限对应的最小值,查看https://www.wechaturl.us/user/userinfo/user_packages.html |
is_monitor | 否 | bool | 值只能是0和1,默认为0. 如果是1,马上启动,按照你设置的频率开始监控,如果有异常会通过手机短信,邮箱,微信通知你. 设置通知方式请查看https://www.wechaturl.us/user/index.html#userinfo/alert_setting |
返回示例
https://wechaturl.us/api/UrlCycleCheck.json?appid=37****15&appkey=a50d38748960******80ae1a725b7c95&url=http://www.baidu.com&type=add&frequency=60&is_monitor=0
{"code": 1,"message": "添加成功!"}