List or get Product Hunt categories
List Product Hunt's product categories with name, slug, description and page URL. Pass slug to retrieve one category with its parent and sub-categories and list its live products by rating, followers, recency, recent launches, top free or trending. Page with cursor.
/v1/producthunt/categoriesx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Optional category slug, as in producthunt.com/categories/<slug>. Returns that category and its products instead of the category list.
Opaque nextCursor from the previous page. Omit for the first page.
Records per page, 1–20; defaults to 20 (the source's page ceiling).
With slug only: highest_rated (default), best_rated, most_followed, most_recent, recent_launches, top_free or trending.
one of: highest_rated, best_rated, most_followed, most_recent, recent_launches, top_free, trending
Request correlation identifier.
HTTP attempts, decoded bytes and duration for the operation, including the single shared retry.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
True when usable data is returned; inspect status and coverage for omissions.
success, partial, failed, or challenged. HTTP 200 can be partial.
one of: success, partial
Public Product Hunt page for the request.
absolute HTTPS URL
UTC retrieval time.
source is public_api (Product Hunt's public web GraphQL) or public_feed (the Atom launch feed). Complete means this bounded page was returned without known omissions; votes_hidden marks launches whose vote count Product Hunt hides during their first hours (returned as null).
Always included.
one of: public_api, public_feed
Always included.
Always included.
Categories in source order.
up to 20 items
Category ID.
Category slug, as in producthunt.com/categories/<slug>.
Category name.
Category description, or null.
Relative category path.
Category page URL.
Total records the source reports for this list, or null when it does not report one.
Pass as cursor to read the next page; null on the last page.
Whether another page exists.
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 200 | partial | Usable data with votes_hidden warnings. |
| 400 | invalid_request | Missing, duplicate, malformed or unsupported parameters, including incomplete or impossible leaderboard dates. |
| 401 | unauthorized | Missing or invalid worker API key. |
| 404 | not_found | The product, launch, comment, topic, category, forum, discussion or user does not exist. |
| 429 | upstream_rate_limited | Source throttling; no automatic retry. |
| 502 | upstream_challenged | Source rejected or challenged the unauthenticated request. |
| 502 | unsupported_page | Malformed, mismatched or non-JSON source data, or a GraphQL error. |
| 502 | response_too_large payload_too_complex | Response exceeded byte or parsing limits. |
| 502 | unsafe_redirect request_limit upstream_error | Bounded source retrieval could not complete. |
| 503 | busy | All worker slots are occupied. |
| 504 | timeout | Total request deadline expired. |