GitHub 每日热门
获取 GitHub 今日新创建的热门仓库 Top 10,按 Star 数排序
接口地址
GET, POST https://api.tinyaii.cn/v1/github/trending
请求参数
该接口无需额外参数,直接请求地址即可返回结果。
返回字段
| 字段名 | 类型 | 说明 |
|---|---|---|
code | int | 状态码 |
date | string | 查询日期 |
total_new_repos | int | 今日新建仓库总数 |
repos | array | 热门仓库列表 |
repos[].name | string | 仓库全名(owner/name) |
repos[].description | string | 仓库描述 |
repos[].stars | int | Star 数 |
repos[].forks | int | Fork 数 |
repos[].language | string | 主要编程语言 |
repos[].url | string | 仓库链接 |
返回示例
{
"code": 200,
"data": {
"date": "2026-05-03",
"total_new_repos": 12345,
"repos": [
{
"name": "owner/repo",
"description": "A cool project",
"stars": 500,
"forks": 100,
"language": "Rust",
"url": "https://github.com/owner/repo"
}
]
}
}
调用示例
curl "https://api.tinyaii.cn/v1/github/trending?apikey=YOUR_KEY"
相关接口(内容解析)
- 聚合热榜 — 聚合60+平台的实时热榜排行
- 历史上的今天 — 查询历史上今天发生的重大事件,包括古代/近代/现代
- 指定日期历史 — 查询指定日期历史上发生的重大事件
- GitHub 总榜 — GitHub 全站热门仓库总榜单,按 Star 数降序排列,可指定查看数量
- GitHub仓库查询 — 查询GitHub仓库详细信息(Star、Fork、描述等)
- GitHub用户查询 — 查询GitHub用户信息(粉丝、仓库数、简介等)
本站收录 353 个可免费调用的 API 接口,查看完整开发文档 或
注册获取 API Key。