Product Hunt

Get Product Hunt category

Get one Product Hunt product category with its subcategories and a cursor-paged product list.

GET/v1/product-hunt/categories/{slug}
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
slugstringrequiredpath

Category slug, e.g. `design-creative`; case does not matter.

min 1 chars · max 120 chars · pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$

cursorstringoptionalquery

Cursor from `page.nextCursor` of the previous response. It only works with the same endpoint and filters.

min 1 chars · max 1024 chars

Response fields
32

Endpoint-specific response payload.

datalookupStatus
string

`not_found` when no public category has that slug. A category with no products is `found` with an empty list.

one of: found, not_found

The category when found; otherwise null.

datacategoryid
string

Category id.

datacategoryname
string

Category name.

datacategoryslug
string

Category slug.

datacategorypath
string

Category path on Product Hunt, e.g. `/categories/design-creative`.

datacategorydescription
stringnullable

Category description.

Subcategories, ordered by how many products they hold.

datacategorysubCategories[]id
string

Topic id, e.g. `268`.

datacategorysubCategories[]slug
string

Topic slug, e.g. `artificial-intelligence`.

datacategorysubCategories[]name
string

Topic name, e.g. `Artificial Intelligence`.

datacategorysubCategoriesTotalCount
integernullable

How many subcategories the category has; null when the answer did not include a count.

≥ 0

The category's products on this page, by highest rated.

dataproducts[]id
string

Product id.

dataproducts[]slug
string

Product slug.

dataproducts[]name
string

Product name.

dataproducts[]tagline
stringnullable

Product tagline.

dataproducts[]reviewsRating
numbernullable

Average review rating.

dataproducts[]reviewsCount
integer

Reviews.

≥ 0

dataproducts[]followersCount
integer

Followers.

≥ 0

dataproducts[]logoUuid
stringnullable

Image id of the logo.

dataproducts[]websiteUrl
stringnullable

The product's website.

dataproducts[]isNoLongerOnline
boolean

Whether Product Hunt marks the product as gone.

dataproductTotalCount
integer

How many products the category holds.

≥ 0

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/product-hunt/categories/design-creative" \
  -H "x-api-key: YOUR_API_KEY"

Responses

A Product Hunt category and its first product page.