> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/answers/is-there-a-hugging-face-api-for-models-datasets-and-spaces>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/answers/is-there-a-hugging-face-api-for-models-datasets-and-spaces.mdx>

---

# Is there a Hugging Face API for models, datasets and Spaces?

Yes. Social Fetch has routes for the model, dataset and Space catalogue: search with filters, one repository with its card metadata, the README, the file tree, commits, discussions, likers and accounts. Authenticate with your Social Fetch API key in the x-api-key header.

Source: [Hugging Face data API](https://www.socialfetch.dev/platforms/hugging-face)

## Related questions

- [How much does the Hugging Face API cost?](https://www.socialfetch.dev/answers/how-much-does-the-hugging-face-api-cost)
- [Can I use Hugging Face routes from agents or MCP?](https://www.socialfetch.dev/answers/can-i-use-hugging-face-routes-from-agents-or-mcp)
