Hugging Face Logo

Hub API Playground

  • search API

  • repo API

  • user API

  • organizations API

  • collection API

GET

/api/models

  • Headers
  • Parameters
  • Snippet

Optional parameters

Filter based on substrings for repos and their usernames, such as resnet or microsoft
Filter based on tags, such as text-classification or spacy.
Whether to fetch most model data, such as all tags, the files, etc.
Whether to also fetch the repo config.
Filter based on the available inference providers for the model (https://huggingface.co/docs/huggingface_hub/en/guides/inference#supported-providers-and-tasks).
Expand the model attributes. For example, you can get the supported provides with 'expand[]=inferenceProviderMapping'.
{}