Hugging Face

List Hugging Face tags

List the Hugging Face tags in one group, such as tasks or languages.

GET/v1/hugging-face/tags
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
3
groupstringrequiredquery

Tag group to list. Models accept groups such as `pipeline_tag`, `library` or `language`; datasets accept groups such as `task_categories`, `modality` or `format`. Unknown groups for the kind are refused.

pattern: ^[a-z_]{2,30}$

kindstringoptionalquery

`models` (default) or `datasets`.

one of: models, datasets

querystringoptionalquery

Only tags whose id or label contains this text.

min 1 chars · max 100 chars

Response fields
13

Endpoint-specific response payload.

datalookupStatus
string

Whether the item was found.

one of: found, not_found

datakind
string

Which repositories the tags are for.

one of: models, datasets

datagroup
string

The tag group.

Tags in the group.

datatags[]id
string

Tag id, the value to pass to filters.

datatags[]label
stringnullable

Display label.

datatags[]group
stringnullable

Tag group the tag belongs to.

datatags[]subGroup
stringnullable

Sub-group, e.g. `nlp` for a task.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/hugging-face/tags?group=pipeline_tag" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Tag list.