网址大全API 接口说明
呆错网址大全是汇集全网优质网址及资源的中文上网导航,及时收录影视、音乐、小说、游戏等分类的网址和内容,让您的网络生活更简单精彩。
网址大全数据接口共有三个,分别为网址大全栏目分类API、网址大全内容列表API、网址大全内容详情API,如有需要请先免费注册获取TOKEN即可使用。
网址大全API接口介绍:
- 栏目分类API(apis/wzdq/category),返回网址大全的所有分类
- 数据列表API(apis/wzdq/detail),分页返回内容数据列表
- 内容详情API(apis/wzdq/index),按ID返回网站详情
网址大全API请求示列:
网址大全API(内容详情接口)
- 请求协议:http/https
- 请求方式:get/post
- 返回类型:json
- 请求接口:http://api.daicuo.cc/apis/wzdq/index/
- 请求示例:http://api.daicuo.cc/apis/wzdq/index/?token=xxxxxx&id=14
- 消耗积分:1
- 数据福利:可免费获取前(500)条内容详情数据、超出免费额度后则需要支付相应积分(1个积分/条)
请求参数
参数名 | 类型 | 必填 | 示例值 | 描述 |
---|---|---|---|---|
token | string | 是 | xxxxxx | API令牌(登录后会自动获取) |
id | intval | 是 | 14 | 呆错网址大全内容ID |
响应参数
参数名 | 类型 | 示例值 | 描述 |
---|---|---|---|
code | number | 200 | 状态码 |
msg | string | 成功 | 返回状态提示 |
data | array | [...] | 返回的短网址 |
info_id | intval | 123456 | 自增ID |
info_name | string | 呆错后台管理框架 | 标题 |
info_slug | string | daicuo | 唯一值 |
info_module | string | cms | 插件名 |
info_controll | string | detail | 控制器名 |
info_action | string | 1 | 操作名 |
info_excerpt | string | 呆错(DaiCuo)是一款基于ThinkPHP、Bootstrap、Jquery的自适应后台管理框架! | 摘要 |
info_content | string | DaiCuo采用Html5、Jquery、Bootstrap作为网页的脚本开发与UI界面开发。 | 详情 |
info_create_time | string | 2022-03-15 15:49:37 | 添加时间 |
info_update_time | number | 2022-03-16 15:12:57 | 更新时间 |
info_order | number | 0 | 权重值 |
info_type | string | index | 属性 |
info_views | number | 1895 | 人气值 |
info_hits | number | 1895 | 点击值 |
image_ico | string | https://cdn.daicuo.cc/images/daicuo/380x380.png | 小图片 |
image_level | string | https://cdn.daicuo.cc/images/daicuo/640x380.png | 封面 |
info_up | number | 103 | 喜欢 |
info_down | number | 123 | 讨厌 |
info_referer | string | https://www.daicuo.org | 网址 |
info_unique | string | ac036db7dcd7ea717933b0c31b90cccd | 唯一标识 |
info_area | string | 重庆 | 地区 |
category_id | array | [...] | 分类ID列表 |
category_name | array | [...] | 分类名称列表 |
tag_id | array | [...] | 标签ID列表 |
tag_name | array | [...] | 标签名称列表 |
响应示例
{
"code": 200,
"msg": "成功",
"time": "1647784153",
"data": {
"info_id": 14,
"info_name": "呆错后台管理框架",
"info_slug": "daicuo",
"info_module": "daohang",
"info_controll": "detail",
"info_action": "index",
"info_excerpt": "呆错(DaiCuo)是一款基于ThinkPHP、Bootstrap、Jquery的自适应后台管理框架!",
"info_content": "DaiCuo采用Html5、Jquery、Bootstrap作为网页的脚本开发与UI界面开发。",
"info_create_time": "2022-03-20 20:53:06",
"info_update_time": "2022-03-20 20:56:45",
"info_order": 0,
"info_type": "recommend",
"info_views": 4,
"info_hits": 1,
"info_referer": "https://www.daicuo.org",
"info_down": "0",
"info_up": "0",
"image_level": "https://cdn.daicuo.cc/images/daicuo/640x380.png",
"image_ico": "https://cdn.daicuo.cc/images/daicuo/380x380.png",
"info_color": "text-dark",
"info_domain": "daicuo.org",
"info_unique": "ac036db7dcd7ea717933b0c31b90cccd",
"info_tpl": "",
"info_area": "重庆",
"tag_id": [143, 144],
"tag_name": ["DaiCuo", "呆错"],
"category_id": {
"2": 121
},
"category_name": {
"2": "网络科技"
}
}
}
网址大全API(数据列表接口)
- 请求协议:http/https
- 请求方式:get/post
- 返回类型:json
- 请求接口:http://api.daicuo.cc/apis/wzdq/detail/
- 请求示例:http://api.daicuo.cc/apis/wzdq/detail/?token=xxxxxx&pageNumber=8
- 消耗积分:免费
请求参数
参数名 | 类型 | 必填 | 示例值 | 描述 |
---|---|---|---|---|
token | string | 是 | xxxxxx | API令牌(登录后会自动获取) |
pageNumber | number | 是 | 8 | 分页ID,默认值为1 |
sortOrder | string | 否 | asc | 排序方式(asc|desc) |
termId | number | 否 | 135 | 栏目分类ID(可通过后文的分类列表API接口获取所有的分类ID) |
响应参数
参数名 | 类型 | 示例值 | 描述 |
---|---|---|---|
code | number | 200 | 状态码 |
msg | string | 成功 | 状态提示 |
data | array | [...] | 数据列表 |
total | number | 10086 | 总记录数 |
per_page | number | 10 | 分页数量 |
current_page | number | 8 | 当前分页值 |
last_page | number | 1331 | 最大分页值 |
list | array | [...] | 当前分页列表 |
info_id | number | 63 | 内容ID |
info_name | string | 电视猫 | 网站标题 |
info_type | string | recommend | 属性值 |
info_update_time | number | 2023-01-07 08:29:39 | 更新时间 |
info_unique | string | c255cb52a52e6b057d11a12329b368fb | 唯一标识 |
响应示例
{
"code": 200,
"msg": "成功",
"time": "1691912419",
"data": {
"total": 13304,
"per_page": 10,
"current_page": 8,
"last_page": 1331,
"list": [{
"info_id": 63,
"info_name": "电视猫",
"info_type": "recommend",
"info_update_time": "2022-03-20 21:19:53",
"info_unique": "c255cb52a52e6b057d11a12329b368fb"
}, {
"info_id": 66,
"info_name": "天气网",
"info_type": "recommend",
"info_update_time": "2022-03-20 21:19:53",
"info_unique": "9876f13a9fafb01ae3bec5e71d2c1df4"
}, {
"info_id": 70,
"info_name": "起点中文网",
"info_type": "recommend",
"info_update_time": "2022-03-20 21:19:53",
"info_unique": "5480ab8dae0ee17e0ca6e44f0afd65bc"
}]
}
}
网址大全API(栏目分类接口)
- 请求协议:http/https
- 请求方式:get/post
- 返回类型:json
- 请求接口:http://api.daicuo.cc/apis/wzdq/category/
- 请求示例:http://api.daicuo.cc/apis/wzdq/category/?token=xxxxxx
- 消耗积分:免费
请求参数
参数名 | 类型 | 必填 | 示例值 | 描述 |
---|---|---|---|---|
token | string | 是 | xxxxxx | API令牌(登录后会自动获取) |
响应参数
参数名 | 类型 | 示例值 | 描述 |
---|---|---|---|
code | number | 200 | 状态码 |
msg | string | 成功 | 状态提示 |
data | array | [...] | 数据列表 |
term_id | number | 135 | 自增ID |
term_name | string | 情感故事 | 分类标题 |
term_slug | string | qinggangushi | 唯一值 |
响应示例
{
"code": 200,
"msg": "成功",
"time": "1691910906",
"data": [{
"term_id": 115,
"term_name": "网站大全",
"term_slug": "wzdq",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 116,
"term_name": "生活服务",
"term_slug": "shenghuofuwu",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 117,
"term_name": "综合其他",
"term_slug": "zongheqita",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 118,
"term_name": "休闲娱乐",
"term_slug": "xiuxianyule",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 119,
"term_name": "教育文化",
"term_slug": "jiaoyuwenhua",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 120,
"term_name": "行业企业",
"term_slug": "xingyeqiye",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 121,
"term_name": "网络科技",
"term_slug": "wangluokeji",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 122,
"term_name": "政府组织",
"term_slug": "zhengfuzuzhi",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 123,
"term_name": "购物网站",
"term_slug": "gouwuwangzhan",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 124,
"term_name": "新闻媒体",
"term_slug": "xinwenmeiti",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 125,
"term_name": "交通旅游",
"term_slug": "jiaotonglvyou",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 126,
"term_name": "医疗健康",
"term_slug": "yiliaojiankang",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}, {
"term_id": 127,
"term_name": "体育健身",
"term_slug": "tiyujianshen",
"term_module": "daohang",
"term_controll": "category",
"term_action": "index"
}]
}
状态码说明
状态码 | 结果 | 描述 |
---|---|---|
200 | 成功 | 接口正常返回数据 |
199 | 失败 | 处理积分失败,需联系管理员 |
198 | 失败 | 积分不足,请充值后再使用 |
197 | 失败 | Api应用已下线,请勿再使用 |
194 | 失败 | 内部服务器错误,需联系管理员 |
0 | 失败 | token错误或未填写 |