All answers

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.

Read more

This answer comes from Hugging Face data API, which covers the full detail, endpoints and pricing in credits.

Keep exploring