Hugging Face Models Datasets and Spaces Data: Search Hugging Face models, datasets, Spaces and papers
huggingface_co__search[Hugging Face Models Datasets and Spaces Data] Search Hugging Face models, datasets, Spaces and papers. Query public Hugging Face models, datasets, Spaces, daily papers, collections, files and repository metadata. x402 price: $0.0020/row USDC (max 20 rows; 0 rows / errors are never charged).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "huggingface_co__search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | No | Branch, tag or commit identifier for fileMeta, fileDownload, pathsInfo and commits. Default main. | main |
| name | No | Repository name. Combined with owner when repoId is empty. | |
| sort | No | Listing order: downloads, likes, createdAt or lastModified. Leave empty for the default order; trending also uses the default order. | |
| owner | No | Repository owner or organization. Combined with name when repoId is empty. | |
| query | No | Search models, datasets or Spaces by keyword, or search text within dataset content. Empty targets use the form example; set a listing filter such as author to browse without a keyword. | |
| author | No | Filter catalog listings by a Hugging Face author or organization name. | |
| repoId | No | Repository identifier such as openai/whisper-tiny, paper identifier or collection slug. Set the matching searchType; this field alone does not select detail mode. | |
| language | No | Dataset language code, such as en, zh, ja or ar. This filters datasets only; it is not a country selector or search translation setting. | |
| maxPages | No | Listing page setting from 1 to 20, with a default of 1. The Actor can increase the number of pages to meet maxResults, up to 20. | |
| modality | No | Filter dataset listings by content type, such as text, audio or image. | |
| repoKind | No | Repository type for files, paths, discussions, commits or references. Leave empty to use the type inferred from searchType, normally models. | |
| wantFull | No | Request additional metadata in catalog listings. Disabled by default; available output fields depend on the source. | |
| commitSha | No | Reserved setting. Leave empty. | |
| filePaths | No | Repository-relative paths for pathsInfo, such as config.json. For fileMeta or fileDownload, the first path is used when targetPath is empty. | |
| paperDate | No | Date for dailyPapers in YYYY-MM-DD format. Leave empty for today in UTC. | |
| detailUrls | No | Hugging Face model, dataset, Space, paper, collection or tree page links; hf.co links and owner/name are accepted. All URLs in this batch share one maxResults allowance. | |
| filterTags | No | Additional catalog tags, such as license:mit, diffusers or task_categories:question-answering. For model tasks, use pipelineTag. | |
| maxResults | No | Maximum rows per query or repository input; detailUrls shares one allowance across its entire batch. Default 70, collected in parts of 70; your maximum charge also limits delivery, and Free platform plan users have a 200-row run cap and 10-run allowance for this Actor. | |
| searchType | No | Choose the catalog, detail or metadata mode to collect. Papers and collections do not filter by keyword; options labeled not available do not collect data. | models |
| targetPath | No | Repository-relative file path for fileMeta or fileDownload, such as config.json. Also accepted by pathsInfo when filePaths is empty. | |
| wantConfig | No | Request configuration information in catalog listings. Disabled by default; this does not add a raw model configuration object to output rows. | |
| pipelineTag | No | Filter model listings by task, such as text-generation, text-classification or fill-mask. | |
| spaceFilter | No | Filter Space listings by toolkit, such as gradio, docker, streamlit or static. | |
| datasetSplit | No | Dataset split name, such as train, test or validation. Required with an explicit repository for datasetRows; use the matching split for datasetSearch and datasetStatistics too. | |
| expandFields | No | Additional listing fields to request, such as author, cardData or siblings. Only supported output fields are retained. | |
| datasetConfig | No | Dataset configuration name, such as plain_text or default. Required with an explicit repository for datasetRows; use the matching configuration for datasetSearch and datasetStatistics too. | |
| datasetLength | No | Page size for datasetRows or datasetSearch, from 1 to 100. Defaults to 100; delivered rows are still limited by maxResults. | |
| datasetOffset | No | Starting row index for datasetRows or datasetSearch. Default 0. | |
| enrichDetails | No | Include public author or organization profile details when available. Enabled by default; does not collect phone numbers or street addresses. |