Hugging Face

Search Hugging Face kernels

Search Hugging Face compute kernels.

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

API key (`sfk_...`)

Parameters
4
querystringquery

Only kernels whose id contains this text.

min 1 chars · max 100 chars

authorstringquery

Only kernels owned by this account.

pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,95}$

limitintegerquery

Items per page, 1-1000. A page can hold fewer. Default: 100.

≥ 1 · ≤ 1000

cursorstringquery

Pass `page.nextCursor` from the previous response to get the next page. Keep every other parameter the same.

min 1 chars · max 1024 chars

Response fields
25

Endpoint-specific response payload.

datalookupStatus
string

Whether the item was found.

one of: found, not_found

Kernels on this page.

datakernels[]id
string

Kernel id, `owner/name`.

datakernels[]uid
stringnullable

Stable kernel id.

datakernels[]url
string

Kernel page URL.

datakernels[]author
stringnullable

Owner account name.

datakernels[]createdAt
stringnullable

When the kernel was created (ISO-8601).

datakernels[]lastModified
stringnullable

When the kernel last changed (ISO-8601), when the record carries it.

datakernels[]likes
integernullable

Likes.

datakernels[]downloads
integernullable

Downloads.

datakernels[]trendingScore
numbernullable

Trending score.

datakernels[]sha
stringnullable

Latest commit, when the record carries it.

Tags.

datakernels[]tags[]
stringoptional

Hardware driver families the kernel supports, e.g. `cuda`.

datakernels[]supportedDriverFamilies[]
stringoptional
datakernels[]trustedPublisher
booleannullable

Whether the publisher is trusted, when the record carries it.

Pagination state for the current page.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Cursor to pass in the next request when more pages exist; null on the last page.

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/kernels?limit=5" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Kernel page.