APIs / Hugging Face / Search datasets
Hugging Face: Search datasets
Datasets on the Hugging Face Hub matching a query, with downloads, likes and tags.
GET /v1/huggingface/datasets-search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Optional | Up to 200 characters Words to match in the dataset id. |
author | string | Optional | Up to 100 characters Only datasets from this user or organisation. |
sort | string | Optional | downloads, likes, trending, last_modified, created Sort order, highest first. Default downloads. |
limit | integer | Optional | Any Results to return, 1 to 100. Default 20. |
Example request
Hugging Face
GET/v1/huggingface/datasets-search?query=squad&limit=10
{
"success": true,
"data": {
"count": 10,
"items": [
{
"id": "rajpurkar/squad",
"author": "rajpurkar",
"description": "Dataset Card for SQuAD Dataset Summary Stanford Question Answering Dataset (SQuAD) is a reading comprehension dataset, consisting of questions posed by crowdworkers on a set of Wikipedia articles, where the answer to every question is a seg…",
"downloads": 169573,
"likes": 892,
"gated": false,
"tags": [
"task_categories:question-answering",
"task_ids:extractive-qa",
"annotations_creators:crowdsourced"
],
"created_at": "2022-03-02T23:29:22.000Z",
"last_modified": "2024-03-04T13:54:37.000Z",
"url": "https://huggingface.co/datasets/rajpurkar/squad"
},
{
"id": "rajpurkar/squad_v2",
"author": "rajpurkar",
"description": "Dataset Card for SQuAD 2.0 Dataset Summary Stanford Question Answering Dataset (SQuAD) is a reading comprehension dataset, consisting of questions posed by crowdworkers on a set of Wikipedia articles, where the answer to every question is a…",
"downloads": 61992,
"likes": 276,
"gated": false,
"tags": [
"task_categories:question-answering",
"task_ids:open-domain-qa",
"task_ids:extractive-qa"
],
"created_at": "2022-03-02T23:29:22.000Z",
"last_modified": "2024-03-04T13:55:27.000Z",
"url": "https://huggingface.co/datasets/rajpurkar/squad_v2"
},
{
"id": "SQuADDS/SQuADDS_PlanarCapacitance",
"author": "SQuADDS",
"description": "SQuADDS_PlanarCapacitance: Q3D capacitance matrices of planar superconducting circuit layouts Layouts of superconducting circuit components and their Maxwell capacitance matrices from Ansys Q3D, the data behind our paper QCap: a physics-cor…",
"downloads": 22695,
"likes": 1,
"gated": false,
"tags": [
"task_categories:tabular-regression",
"task_categories:graph-ml",
"license:cc-by-4.0"
],
"created_at": "2026-10-30T05:50:12.000Z",
"last_modified": "2026-11-18T03:49:12.000Z",
"url": "https://huggingface.co/datasets/SQuADDS/SQuADDS_PlanarCapacitance"
}
]
},
"meta": {
"request_id": "req_94512f7c39f142f7a08f90e156309a80",
"credits_charged": 1,
"credits_remaining": 1978
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.items has these 10 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
id | string |
author | string |
description | string |
downloads | integer |
likes | integer |
gated | boolean |
tags | string[] |
created_at | string |
last_modified | string |
url | url |