扫描二维码即可赞赏支持
感谢您的支持,这将帮助我们提供更好的服务
接口地址:
https://apiserver.alcex.cn/daily-hot/zhihu-daily
请求方式:
GET/POST
返回格式:
JSON
Curl请求示例:
请求参数:
返回参数:
| 名称 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| name | str | 名称 |
| title | str | 标题 |
| description | str | 介绍 |
| link | str | 链接 |
| total | int | 数据总数 |
| updateTime | str | 更新时间 |
| fromCache | Bool | 是否为缓存数据 |
| data | json | 数据数组 |
状态码说明:
| 状态码 | 状态 | 说明 |
|---|---|---|
| 200 | 成功 | 请求成功,返回正确的数据 |
| 400 | 请求错误 | 请求参数错误或缺失必要参数 |
| 401 | 未授权 | 缺少有效的身份验证凭据 |
| 403 | 禁止访问 | 服务器理解请求但拒绝执行 |
| 404 | 未找到 | 请求的资源不存在 |
| 429 | 请求过多 | 请求频率超过限制 |
| 500 | 服务器错误 | 服务器内部错误 |
| 502 | 网关错误 | 网关或代理服务器错误 |
| 503 | 服务不可用 | 服务器暂时无法处理请求 |
返回示例:
{
"code": 200,
"name": "zhihu-daily",
"title": "知乎日报",
"type": "推荐榜",
"description": "每天三次,每次七分钟",
"link": "https://daily.zhihu.com/",
"total": 4,
"fromCache": false,
"updateTime": "2025-08-16T14:22:17.724Z",
"data": [
{
"id": 9783294,
"title": "假如把一只成年湾鳄丢到太平洋中央,它生存下来的几率大吗?",
"cover": "https://pic1.zhimg.com/v2-4a4b967a21420a2d29c0735904dce784.jpg?source=8673f162",
"author": "三眼乌鸦 · 20 分钟阅读",
"url": "https://daily.zhihu.com/story/9783294",
"mobileUrl": "https://daily.zhihu.com/story/9783294"
},
{
"id": 9783298,
"title": "如果细胞分裂速度突然加快100倍,生物体的寿命是更长还是更短了?",
"cover": "https://picx.zhimg.com/v2-879c4742d2a76f752de2ab28897b2b1f.jpg?source=8673f162",
"author": "瞻云 · 4 分钟阅读",
"url": "https://daily.zhihu.com/story/9783298",
"mobileUrl": "https://daily.zhihu.com/story/9783298"
},
{
"id": 9783301,
"title": "明明好好休息也很快乐,为什么放假待在家不出去玩就会产生出一种「假期被荒废」的负面心理?",
"cover": "https://picx.zhimg.com/v2-e8f4cf2f9efe9ccdf31bee18af1ce04c.jpg?source=8673f162",
"author": "鸣戈 · 4 分钟阅读",
"url": "https://daily.zhihu.com/story/9783301",
"mobileUrl": "https://daily.zhihu.com/story/9783301"
},
{
"id": 9783302,
"title": "为什么我们的大脑会「自动筛选」信息?选择性注意效应的本质是什么?",
"cover": "https://pic1.zhimg.com/v2-ebd41b3e120528dc6288f574671c766f.jpg?source=8673f162",
"author": "OwlLite · 1 分钟阅读",
"url": "https://daily.zhihu.com/story/9783302",
"mobileUrl": "https://daily.zhihu.com/story/9783302"
}
]
}
错误返回示例:
{
"code": 400,
"error": "请求参数验证失败",
"message": "请求参数缺失或无效,请查看官网文档以解决此问题:https://api.alcex.cn/",
"details": [
"query.id: Field required"
],
"timestamp": 1755182973,
"request_id": "21646ea2a01c461298cdbdbdb3f3a663"
}
{
"code": 404,
"error": "HTTP错误",
"message": "Not Found",
"timestamp": 1755182878,
"request_id": "9ddc3b08d6724e4eafc2b4e2c1f24190"
}
{
"code": 500,
"error": "请求错误",
"message": "请求处理过程中发生错误,请检查请求参数是否正确",
"timestamp": 1755182846,
"request_id": "1cb82ff6aac5482caeac1999df66dccb"
}
多语言代码示例:
正在生成代码示例...
提示:在线测试可能无法正常返回数据,建议使用专业工具测试。
使用专业的API调试工具进行更详细的测试