# Hugging Face AI Catalog (`myagizm/huggingface-ai-catalog`) Actor

Search public AI models, datasets, and Spaces with downloads, likes, tags, task metadata, and canonical links.

- **URL**: https://apify.com/myagizm/huggingface-ai-catalog.md
- **Developed by:** [MYM](https://apify.com/myagizm) (community)
- **Categories:** AI, Developer tools, Open source
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.39 / 1,000 catalog records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Hugging Face AI Catalog – Models, Datasets & Spaces Scraper (No API Key, No Login)

<p align="center">
  <img src="https://img.shields.io/badge/Apify-Actor-00b96b?logo=apify&logoColor=white" alt="Apify Actor">
  <img src="https://img.shields.io/badge/API%20Key-not%20needed-blue" alt="No API key">
  <img src="https://img.shields.io/badge/Login-not%20needed-blue" alt="No login">
  <img src="https://img.shields.io/badge/Pricing-pay%20per%20result-success" alt="Pay per result">
</p>

**Search the public Hugging Face catalog and export AI models, datasets and Spaces as clean JSON rows.** This Hugging Face models scraper, Hugging Face datasets scraper and Hugging Face Spaces scraper returns IDs, authors, download counts, likes, task tags (`pipelineTag`), libraries, Space SDKs, public tags, creation dates, gating markers and canonical `huggingface.co` links. Search, sort by downloads, likes, trending score or recency, and get up to 1,000 records per run for AI research, model evaluation, RAG and market tracking.

> Get your first results free in under 2 minutes: keep the prefilled input (`models`, `llama`, `100`, `downloads`) and click **Start**.

### Table of contents

- [What it can do](#what-it-can-do)
- [Who uses it](#who-uses-it)
- [What data you get](#what-data-you-get)
- [How to use it](#how-to-use-it)
- [Input example](#input-example)
- [Output example](#output-example)
- [Limits and accuracy](#limits-and-accuracy)
- [Pricing](#pricing)
- [Tips](#tips)
- [Want other data?](#want-other-data)
- [MCP and AI agents](#mcp-and-ai-agents)
- [Integrations & API](#integrations--api)
- [Support](#support)
- [FAQ](#faq)
- [Related searches](#related-searches)
- [Disclaimer](#disclaimer)
- [Resources](#resources)
- [中文说明](#中文说明)

### What it can do

- ✅ Search three public catalogs: **models**, **datasets** and **Spaces**.
- ✅ Sort by `downloads`, `likes`, `trendingScore`, `createdAt` or `lastModified`.
- ✅ Return canonical identifiers (`owner/name`) with clickable `huggingface.co` URLs.
- ✅ Include public download and like counts when the catalog reports them.
- ✅ Include task (`pipelineTag`), library (`libraryName`) and Space SDK (`sdk`).
- ✅ Keep the full public tag list: languages, licenses, base models, arXiv.
- ✅ No Hugging Face account, token or login required.

### Who uses it

- **ML engineers** shortlisting open-weight models by task and popularity.
- **AI researchers** tracking which model families and fine-tunes gain traction.
- **Product teams** monitoring open-source AI releases.
- **Data teams** building dataset catalogs for training and RAG.

### What data you get

**Always populated**

| Field | Type | Description |
|---|---|---|
| `kind` | string | Catalog record type, e.g. `model` for the models catalog. |
| `id` | string | Canonical record identifier, e.g. `meta-llama/Llama-3.1-8B-Instruct`. |
| `title` | string | Record display title. |
| `tags` | array of strings | Public catalog tags. |
| `url` | string | Canonical record URL on `huggingface.co`. |

**Populated when present** (otherwise `null`)

| Field | Type | Description |
|---|---|---|
| `author` | string or null | Author or owning organisation. |
| `downloads` | integer or null | Reported download count. |
| `likes` | integer or null | Reported likes. |
| `pipelineTag` | string or null | Model task tag, e.g. `text-generation`. |
| `libraryName` | string or null | Primary library, e.g. `transformers`. |
| `sdk` | string or null | Space SDK (Spaces only). |
| `description` | string or null | Public description. |
| `createdAt` | string or null | Creation time (ISO 8601). |
| `lastModified` | string or null | Last modified time (ISO 8601). |
| `private` | boolean or null | Privacy marker as returned by the public catalog. |
| `gated` | boolean or null | Gating marker. |

### How to use it

1. Open the Actor and choose **Catalog type**: `models`, `datasets` or `spaces`.
2. Enter a **Search query** such as `llama`, `embeddings` or `chatbot`.
3. Set **Maximum results** (1–1,000, default 100).
4. Choose **Sort by**: `downloads`, `likes`, `trendingScore`, `createdAt` or `lastModified`.
5. Click **Start**, open the `AI catalog results` view and export JSON, CSV or Excel.

### Input example

```json
{
  "kind": "models",
  "query": "llama",
  "limit": 100,
  "sort": "downloads"
}
```

| Input | Type | Default | Allowed values | Purpose |
|---|---|---|---|---|
| `kind` | string | `models` | `models`, `datasets`, `spaces` | Which public catalog to search. |
| `query` | string | `llama` (required) | any non-empty text | Text to search in the selected catalog. |
| `limit` | integer | `100` | 1–1,000 | Maximum number of catalog records to request and return. |
| `sort` | string | `downloads` | `downloads`, `likes`, `trendingScore`, `createdAt`, `lastModified` | Sort by popularity, engagement, trending score or recency. |

### Output example

Real items from a live run today with `{"kind":"models","query":"llama","limit":3,"sort":"downloads"}` (long tag arrays shortened with `"…"`):

```json
[
 {
  "id": "meta-llama/Llama-3.1-8B-Instruct",
  "sdk": null,
  "url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct",
  "kind": "model",
  "tags": ["transformers", "text-generation", "license:llama3.1", "…"],
  "gated": null,
  "likes": 8973,
  "title": "meta-llama/Llama-3.1-8B-Instruct",
  "author": "meta-llama",
  "private": false,
  "createdAt": "2024-07-18T08:56:00.000Z",
  "downloads": 4201151,
  "description": null,
  "libraryName": "transformers",
  "pipelineTag": "text-generation",
  "lastModified": null
 },
 {
  "id": "meta-llama/Llama-3.2-1B-Instruct",
  "sdk": null,
  "url": "https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct",
  "kind": "model",
  "tags": ["transformers", "text-generation", "license:llama3.2", "…"],
  "gated": null,
  "likes": 1989,
  "title": "meta-llama/Llama-3.2-1B-Instruct",
  "author": "meta-llama",
  "private": false,
  "createdAt": "2024-09-18T15:12:47.000Z",
  "downloads": 1325084,
  "description": null,
  "libraryName": "transformers",
  "pipelineTag": "text-generation",
  "lastModified": null
 },
 {
  "id": "unsloth/Llama-3.2-1B-Instruct",
  "sdk": null,
  "url": "https://huggingface.co/unsloth/Llama-3.2-1B-Instruct",
  "kind": "model",
  "tags": ["transformers", "text-generation", "base_model:meta-llama/Llama-3.2-1B-Instruct", "…"],
  "gated": null,
  "likes": 112,
  "title": "unsloth/Llama-3.2-1B-Instruct",
  "author": "unsloth",
  "private": false,
  "createdAt": "2024-09-25T18:40:18.000Z",
  "downloads": 1082133,
  "description": null,
  "libraryName": "transformers",
  "pipelineTag": "text-generation",
  "lastModified": null
 }
]
```

### Limits and accuracy

- One run searches one catalog type with one query, up to 1,000 records.
- `limit` is a ceiling, not a promise: a narrow query can return fewer records.
- Download and like counts reflect the public catalog at run time.
- Fields the public listing does not provide are returned as `null`; nothing is guessed or filled in.
- **Invalid input** (for example an empty `query`) finishes **SUCCEEDED with 0 results and no result charge**. The reason is written to the OUTPUT record, e.g. `Input error: query must contain a valid value.`
- Catalog errors and unverified empty searches finish FAILED.

### Pricing

Pay per result: **$0.00239 per catalog record** returned to the default dataset ($2.39 per 1,000 records). Failed or empty runs write no billed rows, and invalid inputs are not charged. Apify platform usage is shown separately by Apify.

### Tips

- Sort by `trendingScore` to see what is gaining attention right now; use `createdAt` to catch new releases.
- Search an organisation name (`meta-llama`, `mistralai`, `unsloth`) to list its public repositories.
- Filter `tags` downstream for `license:`, `base_model:` or `arxiv:`.
- Schedule the Actor daily or weekly and compare `downloads` and `likes` over time.

### Want other data?

- [OpenRouter AI Model Catalog](https://apify.com/myagizm/openrouter-model-catalog) – OpenRouter AI model catalog.
- [MCP Server Registry Search](https://apify.com/myagizm/mcp-server-registry) – find public MCP servers for AI agents.
- [Hacker News Search and Feed Scraper](https://apify.com/myagizm/hackernews-scraper) – track AI launches and discussions.
- [Product Hunt Launches Scraper](https://apify.com/myagizm/producthunt-scraper) – new AI products and tools.
- [Y Combinator Companies Scraper](https://apify.com/myagizm/ycombinator-companies-scraper) – AI startups in the YC directory.
- [Google Trends Scraper](https://apify.com/myagizm/google-trends-scraper) – search interest for model names and AI topics.
- [Website Content Crawler](https://apify.com/myagizm/website-content-crawler) – clean page text for RAG and indexing.

Browse the full Actor family on the [myagizm profile](https://apify.com/myagizm).

### MCP and AI agents

AI agents can call this Actor through the [Apify MCP server](https://mcp.apify.com) or the Apify API: pass `kind`, `query`, `limit` and `sort`, wait for the run and read structured rows. Assistants get live catalog data instead of stale training knowledge. No Hugging Face key is needed.

### Integrations & API

Run synchronously and get dataset items in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/myagizm~huggingface-ai-catalog/run-sync-get-dataset-items" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"kind":"models","query":"llama","limit":100,"sort":"downloads"}'
```

Start an asynchronous run:

```bash
curl -X POST "https://api.apify.com/v2/acts/myagizm~huggingface-ai-catalog/runs" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"kind":"datasets","query":"instruction","limit":200,"sort":"trendingScore"}'
```

Fetch the dataset after the run:

```bash
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json&clean=true" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>"
```

### Support

Found a bug or need a field? Open a ticket in the **Issues** tab. Include the run ID and input.

### FAQ

**Do I need a Hugging Face account or API token?**
No. The Actor reads public catalog data without login or token.

**Can I scrape Hugging Face datasets as well as models?**
Yes. Set `kind` to `datasets`. Use `spaces` for Spaces.

**How many results can I get per run?**
Up to 1,000 records (`limit` 1–1,000, default 100).

**Which sort options are available?**
`downloads`, `likes`, `trendingScore`, `createdAt` and `lastModified`.

**How do I find trending Hugging Face models?**
Set `sort` to `trendingScore` with a broad query.

**Why are some fields `null`?**
The public listing did not provide that value; `sdk` applies to Spaces.

**Can I filter by task?**
Search a task keyword and filter `pipelineTag` downstream, e.g. `text-generation`.

**Can I see a model's license?**
Licenses appear in `tags`, for example `license:llama3.1`.

**Can I find fine-tunes of a base model?**
Yes. Look for `base_model:` entries in `tags`, or search the base model name.

**Does it include private or gated repositories?**
Only public catalog entries are returned. The `gated` and `private` markers are passed through as reported.

**What happens with an invalid input?**
The run finishes SUCCEEDED with 0 results and no result charge; the reason is in OUTPUT.

**What happens if the search returns nothing?**
Unverified empty searches and catalog errors end FAILED and write no billed rows.

**How much does it cost?**
$0.00239 per returned record, or $2.39 per 1,000 records.

**Can I schedule it?**
Yes. Use Apify schedules and compare `downloads` and `likes` between runs.

### Related searches

Hugging Face scraper · Hugging Face models scraper · Hugging Face datasets scraper · Hugging Face Spaces scraper · Hugging Face API alternative · Hugging Face model search · Hugging Face model list export · most downloaded Hugging Face models · trending Hugging Face models · Hugging Face model downloads tracker · Hugging Face likes data · open-source LLM catalog · open-weight model list · AI model catalog API · text-generation model list · embedding models list · Hugging Face datasets list CSV · Hugging Face Spaces list · Llama fine-tunes list · base model fine-tune finder · AI model market research · Hugging Face hub metadata export · model license tag search · new AI model releases tracker · AI dataset discovery tool

### Disclaimer

This is an independent tool and is not affiliated with, endorsed by or sponsored by Hugging Face. It returns only publicly available catalog metadata. You are responsible for how you use the data, including compliance with applicable terms, licenses and data-protection laws such as GDPR and CCPA.

### Resources

- [Apify API documentation](https://docs.apify.com/api/v2)
- [Apify dataset exports](https://docs.apify.com/platform/storage/dataset)
- [Apify schedules](https://docs.apify.com/platform/schedules)
- [Apify MCP server](https://mcp.apify.com)
- [myagizm Store profile](https://apify.com/myagizm)

### 中文说明

## Hugging Face AI 目录 – 模型、数据集与 Spaces 抓取工具（无需 API Key，无需登录）

<p align="center">
  <img src="https://img.shields.io/badge/Apify-Actor-00b96b?logo=apify&logoColor=white" alt="Apify Actor">
  <img src="https://img.shields.io/badge/API%20Key-not%20needed-blue" alt="无需 API Key">
  <img src="https://img.shields.io/badge/Login-not%20needed-blue" alt="无需登录">
  <img src="https://img.shields.io/badge/Pricing-pay%20per%20result-success" alt="按结果计费">
</p>

**搜索 Hugging Face 公开目录，并将 AI 模型、数据集和 Spaces 导出为干净的 JSON 记录。** 这款 Hugging Face 模型抓取、数据集抓取和 Spaces 抓取工具返回 ID、作者、下载量、点赞数、任务标签（`pipelineTag`）、使用库、Space SDK、公开标签、创建时间、访问限制标记和规范的 `huggingface.co` 链接。按下载量、点赞数、热度或时间排序，每次运行最多获取 1,000 条记录，适用于 AI 研究、模型评测、RAG 和市场追踪。

> 2 分钟内免费获得首批结果：保留预填输入（`models`、`llama`、`100`、`downloads`）并点击 **Start**。

### 目录

- [功能说明](#功能说明)
- [适用人群](#适用人群)
- [结果字段](#结果字段)
- [使用步骤](#使用步骤)
- [输入示例](#输入示例)
- [输出示例](#输出示例)
- [限制与准确性](#限制与准确性)
- [价格](#价格)
- [使用建议](#使用建议)
- [需要其他数据？](#需要其他数据)
- [MCP 与 AI 智能体](#mcp-与-ai-智能体)
- [集成与 API](#集成与-api)
- [支持](#支持)
- [常见问题](#常见问题)
- [免责声明](#免责声明)
- [资源](#资源)
- [相关搜索](#相关搜索)

### 功能说明

- ✅ 搜索三个公开目录：**模型**、**数据集**和 **Spaces**。
- ✅ 按 `downloads`、`likes`、`trendingScore`、`createdAt` 或 `lastModified` 排序。
- ✅ 返回规范标识符（`owner/name`）及可点击的 `huggingface.co` 链接。
- ✅ 目录提供时包含公开下载量和点赞数。
- ✅ 包含模型任务（`pipelineTag`）、主要库（`libraryName`）和 Space SDK（`sdk`）。
- ✅ 保留完整公开标签：语言、许可证、基础模型、arXiv 论文、部署标签等。
- ✅ 无需 Hugging Face 账号、token 或登录。

### 适用人群

- **机器学习工程师**：按任务、库和热度筛选开放权重模型。
- **AI 研究人员**：追踪哪些模型系列、微调版本和数据集的下载与点赞在增长。
- **产品团队**：监测开源 AI 发布。
- **数据团队**：为训练、评测和 RAG 建立数据集清单。

### 结果字段

**始终填充**

| 字段 | 类型 | 说明 |
|---|---|---|
| `kind` | 字符串 | 记录类型，例如模型目录为 `model`。 |
| `id` | 字符串 | 规范标识符，例如 `meta-llama/Llama-3.1-8B-Instruct`。 |
| `title` | 字符串 | 显示标题。 |
| `tags` | 字符串数组 | 公开目录标签。 |
| `url` | 字符串 | `huggingface.co` 上的规范链接。 |

**有数据时填充**（否则为 `null`）

| 字段 | 类型 | 说明 |
|---|---|---|
| `author` | 字符串或 null | 作者或所属组织。 |
| `downloads` | 整数或 null | 公开下载量。 |
| `likes` | 整数或 null | 公开点赞数。 |
| `pipelineTag` | 字符串或 null | 模型任务标签，例如 `text-generation`。 |
| `libraryName` | 字符串或 null | 主要库，例如 `transformers`。 |
| `sdk` | 字符串或 null | Space SDK（仅 Spaces）。 |
| `description` | 字符串或 null | 公开描述。 |
| `createdAt` | 字符串或 null | 创建时间（ISO 8601）。 |
| `lastModified` | 字符串或 null | 最后修改时间（ISO 8601）。 |
| `private` | 布尔或 null | 公开目录返回的私有标记。 |
| `gated` | 布尔或 null | 访问限制标记。 |

### 使用步骤

1. 打开 Actor，选择 **Catalog type**：`models`、`datasets` 或 `spaces`。
2. 输入 **Search query**，例如 `llama`、`embeddings` 或 `chatbot`。
3. 设置 **Maximum results**（1–1,000，默认 100）。
4. 选择 **Sort by**：`downloads`、`likes`、`trendingScore`、`createdAt` 或 `lastModified`。
5. 点击 **Start**，打开 `AI catalog results` 视图并导出 JSON、CSV 或 Excel。

### 输入示例

```json
{
  "kind": "models",
  "query": "llama",
  "limit": 100,
  "sort": "downloads"
}
```

| 输入 | 类型 | 默认值 | 可选值 | 说明 |
|---|---|---|---|---|
| `kind` | 字符串 | `models` | `models`、`datasets`、`spaces` | 要搜索的公开目录。 |
| `query` | 字符串 | `llama`（必填） | 任意非空文本 | 在所选目录中搜索的文本。 |
| `limit` | 整数 | `100` | 1–1,000 | 请求并返回的最大记录数。 |
| `sort` | 字符串 | `downloads` | `downloads`、`likes`、`trendingScore`、`createdAt`、`lastModified` | 按热度、互动、趋势或时间排序。 |

### 输出示例

今天使用 `{"kind":"models","query":"llama","limit":3,"sort":"downloads"}` 实际运行得到的记录（较长的标签数组以 `"…"` 截断）：

```json
[
 {
  "id": "meta-llama/Llama-3.1-8B-Instruct",
  "sdk": null,
  "url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct",
  "kind": "model",
  "tags": ["transformers", "text-generation", "license:llama3.1", "…"],
  "gated": null,
  "likes": 8973,
  "title": "meta-llama/Llama-3.1-8B-Instruct",
  "author": "meta-llama",
  "private": false,
  "createdAt": "2024-07-18T08:56:00.000Z",
  "downloads": 4201151,
  "description": null,
  "libraryName": "transformers",
  "pipelineTag": "text-generation",
  "lastModified": null
 },
 {
  "id": "meta-llama/Llama-3.2-1B-Instruct",
  "sdk": null,
  "url": "https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct",
  "kind": "model",
  "tags": ["transformers", "text-generation", "license:llama3.2", "…"],
  "gated": null,
  "likes": 1989,
  "title": "meta-llama/Llama-3.2-1B-Instruct",
  "author": "meta-llama",
  "private": false,
  "createdAt": "2024-09-18T15:12:47.000Z",
  "downloads": 1325084,
  "description": null,
  "libraryName": "transformers",
  "pipelineTag": "text-generation",
  "lastModified": null
 },
 {
  "id": "unsloth/Llama-3.2-1B-Instruct",
  "sdk": null,
  "url": "https://huggingface.co/unsloth/Llama-3.2-1B-Instruct",
  "kind": "model",
  "tags": ["transformers", "text-generation", "base_model:meta-llama/Llama-3.2-1B-Instruct", "…"],
  "gated": null,
  "likes": 112,
  "title": "unsloth/Llama-3.2-1B-Instruct",
  "author": "unsloth",
  "private": false,
  "createdAt": "2024-09-25T18:40:18.000Z",
  "downloads": 1082133,
  "description": null,
  "libraryName": "transformers",
  "pipelineTag": "text-generation",
  "lastModified": null
 }
]
```

### 限制与准确性

- 每次运行用一个查询搜索一种目录类型，最多返回 1,000 条记录。
- `limit` 是上限而非保证数量；范围较窄的查询可能返回更少记录。
- 下载量和点赞数为运行时公开目录报告的数值，会持续变化。
- 公开列表未提供的字段返回 `null`，不会猜测或补全。
- **无效输入**（例如 `query` 为空）会以 **SUCCEEDED 结束、0 条结果且不收取结果费用**，原因写入 OUTPUT 记录，例如 `Input error: query must contain a valid value.`
- 目录错误和未经验证的空搜索会以 FAILED 结束。

### 价格

按结果计费：默认数据集中每返回一条目录记录 **$0.00239**（每 1,000 条 $2.39）。失败或空运行不会写入计费记录，无效输入不收费。Apify 平台使用费由 Apify 单独显示。

### 使用建议

- 按 `trendingScore` 排序查看当前热门；按 `createdAt` 捕捉新发布。
- 搜索组织名（`meta-llama`、`mistralai`、`unsloth`）可列出其公开仓库。
- 在下游按 `license:`、`base_model:`、`arxiv:` 或语言代码筛选 `tags`。
- 设置每日或每周定时运行，对比 `downloads` 和 `likes` 的变化。

### 需要其他数据？

- [OpenRouter AI Model Catalog](https://apify.com/myagizm/openrouter-model-catalog) – OpenRouter AI 模型目录。
- [MCP Server Registry Search](https://apify.com/myagizm/mcp-server-registry) – 查找供 AI 智能体使用的公开 MCP 服务器。
- [Hacker News Search and Feed Scraper](https://apify.com/myagizm/hackernews-scraper) – 追踪 AI 发布与讨论。
- [Product Hunt Launches Scraper](https://apify.com/myagizm/producthunt-scraper) – 新 AI 产品和工具。
- [Y Combinator Companies Scraper](https://apify.com/myagizm/ycombinator-companies-scraper) – YC 目录中的 AI 创业公司。
- [Google Trends Scraper](https://apify.com/myagizm/google-trends-scraper) – 模型名称与 AI 话题的搜索热度。
- [Website Content Crawler](https://apify.com/myagizm/website-content-crawler) – 用于 RAG 和索引的干净网页正文。

完整工具列表见 [myagizm 主页](https://apify.com/myagizm)。

### MCP 与 AI 智能体

AI 智能体可以通过 [Apify MCP server](https://mcp.apify.com) 或 Apify API 调用此 Actor：传入 `kind`、`query`、`limit` 和 `sort`，等待运行完成并读取结构化记录。助手由此获得实时目录数据。无需 Hugging Face Key。

### 集成与 API

同步运行并一次性获取数据集条目：

```bash
curl -X POST "https://api.apify.com/v2/acts/myagizm~huggingface-ai-catalog/run-sync-get-dataset-items" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"kind":"models","query":"llama","limit":100,"sort":"downloads"}'
```

异步启动运行：

```bash
curl -X POST "https://api.apify.com/v2/acts/myagizm~huggingface-ai-catalog/runs" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"kind":"datasets","query":"instruction","limit":200,"sort":"trendingScore"}'
```

运行完成后读取数据集：

```bash
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json&clean=true" \
  -H "Authorization: Bearer <YOUR_APIFY_TOKEN>"
```

### 支持

发现问题或需要新字段？请在本 Actor 的 **Issues** 标签页提交工单，并附上运行 ID 和输入，便于快速复现。

### 常见问题

**需要 Hugging Face 账号或 API token 吗？**
不需要。Actor 无需登录或 token 即可读取公开目录数据。

**除了模型，还能抓取数据集吗？**
可以。将 `kind` 设为 `datasets`；Spaces 请用 `spaces`。

**每次运行最多能获取多少条？**
最多 1,000 条（`limit` 1–1,000，默认 100）。

**有哪些排序方式？**
`downloads`、`likes`、`trendingScore`、`createdAt` 和 `lastModified`。

**如何找到热门 Hugging Face 模型？**
将 `sort` 设为 `trendingScore` 并使用较宽泛的查询。

**为什么有些字段是 `null`？**
公开列表未提供该值；`sdk` 仅适用于 Spaces。

**可以按任务筛选吗？**
搜索任务关键词，并在下游按 `pipelineTag` 筛选，例如 `text-generation`。

**能看到模型许可证吗？**
许可证出现在 `tags` 中，例如 `license:llama3.1`。

**能找到某个基础模型的微调版本吗？**
可以。查看 `tags` 中的 `base_model:` 条目，或直接搜索基础模型名称。

**会包含私有或受限仓库吗？**
只返回公开目录条目，`gated` 和 `private` 标记按原样提供。

**输入无效会怎样？**
运行以 SUCCEEDED 结束、0 条结果且不收取结果费用，原因见 OUTPUT。

**搜索没有结果会怎样？**
未经验证的空搜索和目录错误以 FAILED 结束，不写入计费记录。

**费用是多少？**
每条返回记录 $0.00239，即每 1,000 条 $2.39。

**可以定时运行以追踪采用趋势吗？**
可以。使用 Apify 定时任务，比较各次运行的 `downloads` 和 `likes`。

### 免责声明

本工具为独立工具，与 Hugging Face 无任何关联，也未获其认可或赞助。工具只返回公开的目录元数据。你需对数据用途负责，包括遵守适用条款、许可证以及 GDPR、CCPA 等数据保护法律。

### 资源

- [Apify API 文档](https://docs.apify.com/api/v2)
- [Apify 数据集导出](https://docs.apify.com/platform/storage/dataset)
- [Apify 定时任务](https://docs.apify.com/platform/schedules)
- [Apify MCP server](https://mcp.apify.com)
- [myagizm Store 主页](https://apify.com/myagizm)

### 相关搜索

Hugging Face 抓取 · Hugging Face 模型抓取 · Hugging Face 数据集抓取 · Hugging Face Spaces 抓取 · Hugging Face API 替代 · Hugging Face 模型搜索 · Hugging Face 模型列表导出 · 下载量最高的 Hugging Face 模型 · 热门 Hugging Face 模型 · Hugging Face 下载量追踪 · Hugging Face 点赞数据 · 开源大模型目录 · 开放权重模型列表 · AI 模型目录 API · 文本生成模型列表 · 嵌入模型列表 · Hugging Face 数据集 CSV · Hugging Face Spaces 列表 · Llama 微调模型列表 · 基础模型微调查找 · AI 模型市场研究 · Hugging Face Hub 元数据导出 · 模型许可证标签搜索 · 新 AI 模型发布追踪 · AI 数据集发现工具

# Actor input Schema

## `kind` (type: `string`):

Select public models, datasets, or Spaces.

## `query` (type: `string`):

Text to search in the selected catalog, for example llama, embeddings, or chatbot.

## `limit` (type: `integer`):

Maximum number of catalog records to request and return.

## `sort` (type: `string`):

Sort records by popularity, engagement, trending score, or recency.

## Actor input object example

```json
{
  "kind": "models",
  "query": "llama",
  "limit": 100,
  "sort": "downloads"
}
```

# Actor output Schema

## `results` (type: `string`):

Returned records in the overview table.

## `fullJson` (type: `string`):

Complete structured records, including tags and descriptions.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "kind": "models",
    "query": "llama",
    "limit": 100,
    "sort": "downloads"
};

// Run the Actor and wait for it to finish
const run = await client.actor("myagizm/huggingface-ai-catalog").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "kind": "models",
    "query": "llama",
    "limit": 100,
    "sort": "downloads",
}

# Run the Actor and wait for it to finish
run = client.actor("myagizm/huggingface-ai-catalog").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "kind": "models",
  "query": "llama",
  "limit": 100,
  "sort": "downloads"
}' |
apify call myagizm/huggingface-ai-catalog --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,myagizm/huggingface-ai-catalog"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/PfJ2DQm3R4PumK4by/builds/hvrfS4ytRJ0dURFFG/openapi.json
