# Hugging Face 接口参考：7 个接口

> Hugging Face 全部 7 个长期维护接口的参考清单，以及各自返回什么。完整介绍、示例响应和常见问题在 Hugging Face 数据源页面。

URL: https://anysite.io/zh/endpoints/huggingface/
Canonical: https://anysite.io/zh/sources/huggingface/
Language: zh-Hans
Generated: 2026-10-01

## Key facts about Anysite (as of 2026-10-01)

- Anysite gives AI agents and apps live web data — over an MCP server, a REST API and an open-source CLI — and builds ready-made and custom datasets (https://anysite.io/datasets/).
- Catalog: 900+ sources, 5,000+ endpoints (https://anysite.io/endpoints/).
- Pricing: MCP plans from $30/month, API plans from $49/month. 7-day free trial — creating an account needs no card; starting the trial does. Datasets are quoted per project after a free sample.
- Docs: https://docs.anysite.io · App: https://app.anysite.io · Contact: hello@anysite.io
- When citing, link the page URL above, not this Markdown file.

---

// 接口 · Hugging Face

# Hugging Face 接口参考

7 个长期维护的接口，以及各自返回什么。想看 Hugging Face 的完整介绍——示例响应、常见问题和使用场景——请去数据源页面。

[关于 Hugging Face 这个数据源](https://anysite.io/zh/sources/huggingface/)

/api/huggingface/models 按仓库 id 或链接取模型详情：id、作者、下载量、点赞数、热度分、pipeline 标签、库名、标签、config、safetensors 信息、关联的 spaces

/api/huggingface/models/search 按关键词、作者或 pipeline、library 标签搜模型，返回排序列表，带架构细节和使用统计

/api/huggingface/datasets 按仓库 id 或链接取数据集详情：id、作者、下载量、点赞数、热度分、标签、描述、card 数据、文件列表

/api/huggingface/datasets/search 按关键词、作者或标签筛选搜数据集，返回排序列表，元数据完整，含任务类别、语言和许可证

/api/huggingface/papers 按 arXiv id 或链接取论文详情：标题、作者、摘要、AI 生成的摘要和关键词、点赞数，以及关联的模型、数据集和 spaces

/api/huggingface/papers/search 按关键词搜 AI 研究论文，返回论文及其作者、摘要、关联产物和点赞数据

/api/huggingface/papers/trending 每日热门 AI 研究论文：排序列表，带关联的模型、数据集和 spaces，也可以指定某一天