Datasets server documentation

Datasets server

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Datasets server

The 🤗 Datasets server gives access to the contents, metadata and basic statistics of the Hugging Face Hub datasets via a REST API.


The API has originally been developed to provide data to the Dataset viewer on the Hub. Because of the large volume of data, the information about the datasets cannot be extracted on-the-fly, and must be preprocessed and stored beforehand in order to later be accessed quickly on the Hub.

We decided to make the API public to provide programmatic access to the information about datasets.