Hugging Face Transformers Datasets API

Get information from all datasets on the Hub.

Operations 37

GET /api/datasets/{namespace}/{repo}/treesize/{rev}/{path} Get folder size #
GET /api/datasets/{namespace}/{repo}/lfs-files List Large files #
POST /api/datasets/{namespace}/{repo}/lfs-files/batch Delete Large files #
DELETE /api/datasets/{namespace}/{repo}/lfs-files/{sha} Delete Large file #
POST /api/datasets/{namespace}/{repo}/lfs-files/duplicate Duplicate xet files #
GET /api/datasets/{namespace}/{repo}/commits/{rev} List commits #
GET /api/datasets/{namespace}/{repo}/refs List references #
GET /api/datasets/{namespace}/{repo}/compare/{compare} Get a compare rev #
POST /api/datasets/{namespace}/{repo}/paths-info/{rev} List paths info #
POST /api/datasets/{namespace}/{repo}/preupload/{rev} Check upload method #
GET /api/datasets/{namespace}/{repo}/xet-write-token/{rev} Xet write token #
GET /api/datasets/{namespace}/{repo}/xet-read-token/{rev} Xet read token #
POST /api/datasets/{namespace}/{repo}/commit/{rev} Commit #
POST /api/datasets/{namespace}/{repo}/tag/{rev} Create tag #
DELETE /api/datasets/{namespace}/{repo}/tag/{rev} Delete a tag #
POST /api/datasets/{namespace}/{repo}/branch/{rev} Create branch #
DELETE /api/datasets/{namespace}/{repo}/branch/{rev} Delete a branch #
POST /api/datasets/{namespace}/{repo}/resource-group Add resource group #
GET /api/datasets/{namespace}/{repo}/resource-group Get resource group #
POST /api/datasets/{namespace}/{repo}/super-squash/{rev} Squash ref #
PUT /api/datasets/{namespace}/{repo}/settings Update repo settings #
GET /api/datasets/{namespace}/{repo}/tree/{rev}/{path} List folder content #
GET /api/datasets/{namespace}/{repo}/notebook/{rev}/{path} Get notebook URL #
GET /api/datasets/{namespace}/{repo}/scan Get security status #
GET /api/datasets/{namespace}/{repo}/leaderboard Get the leaderboard for a dataset #
GET /api/datasets/{namespace}/{repo}/jwt Generate JWT #
GET /api/datasets-tags-by-type Get dataset tags #
GET /api/trending Get trending #
GET /datasets/{namespace}/{repo}/resolve/{rev}/{path} Resolve a file #
GET /api/resolve-cache/datasets/{namespace}/{repo}/{rev}/{path} Resolve a file #
POST /datasets/{namespace}/{repo}/ask-access Request access #
GET /datasets/{namespace}/{repo}/user-access-report Export access report #
POST /api/datasets/{namespace}/{repo}/user-access-request/cancel Cancel access request #
GET /api/datasets/{namespace}/{repo}/user-access-request/{status} List access requests #
POST /api/datasets/{namespace}/{repo}/user-access-request/handle Handle access request #
POST /api/datasets/{namespace}/{repo}/user-access-request/batch Handle access requests in batch #
POST /api/datasets/{namespace}/{repo}/user-access-request/grant Grant access #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hugging-face-transformers-datasets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hugging-face-transformers-datasets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hub API Endpoints Datasets API
  version: 0.0.1
  description: We have open endpoints that you can use to retrieve information from the Hub as well as perform certain actions such as creating model, dataset or Space repos.
servers:
- url: https://huggingface.co
  description: Hub
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (162 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/hugging-face-transformers/refs/heads/main/openapi/hugging-face-transformers-datasets-api-openapi.yml