Skip to content
scrapeatlas.Dashboard

List or get Product Hunt topics

Try in Playground

List Product Hunt topics alphabetically, optionally matching a name, with description, follower count and image. Pass slug to retrieve one topic with its parent and sub-topics and list the products in it by followers, recent launches, rating or launch count. Page with cursor.

GET/v1/producthunt/topicsx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
5
slugstringquery

Optional topic slug, as in producthunt.com/topics/<slug>. Returns that topic and its products instead of the topic list.

querystringquery

Topic list only. Optional topic name filter, 1–100 characters.

min 1 chars · max 100 chars

Exampledeveloper
cursorstringquery

Opaque nextCursor from the previous page. Omit for the first page.

limitstringquery

Records per page, 1–20; defaults to 20 (the source's page ceiling).

orderenumquery

With slug only: most_followed (default), most_recent_launch, highest_rated, best_rated, most_recent, oldest or posts_count.

one of: most_followed, most_recent_launch, highest_rated, best_rated, most_recent, oldest, posts_count

Response fields
26
requestIdstring

Request correlation identifier.

HTTP attempts, decoded bytes and duration for the operation, including the single shared retry.

accounting.upstreamRequestsinteger

Always included.

≥ 0

accounting.responseBytesinteger

Always included.

≥ 0

accounting.durationMsnumber

Always included.

≥ 0

successboolean

True when usable data is returned; inspect status and coverage for omissions.

statusenum

success, partial, failed, or challenged. HTTP 200 can be partial.

one of: success, partial

sourceUrlstring

Public Product Hunt page for the request.

absolute HTTPS URL

fetchedAtstring

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).

coverage.sourceenum

Always included.

one of: public_api, public_feed

coverage.completeboolean

Always included.

coverage.warningsstring[]

Always included.

Topics.

up to 20 items

topics.idstring

Topic ID.

topics.slugstring

Topic slug, as in producthunt.com/topics/<slug>.

topics.namestring

Topic name.

topics.descriptionstringnullable

Topic description (Markdown), or null.

topics.followersCountinteger

Follower count.

topics.imageUuidstringnullable

Topic image identifier, or null.

topics.imageUrlstringnullable

Topic image URL, or null.

topics.pathstring

Relative topic path.

topics.urlstring

Topic page URL.

totalCountintegernullable

Total records the source reports for this list, or null when it does not report one.

nextCursorstringnullable

Pass as cursor to read the next page; null on the last page.

hasMoreboolean

Whether another page exists.

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.

Error codes
11
HTTPfailure.codeMeaning
200partialUsable data with votes_hidden warnings.
400invalid_requestMissing, duplicate, malformed or unsupported parameters, including incomplete or impossible leaderboard dates.
401unauthorizedMissing or invalid worker API key.
404not_foundThe product, launch, comment, topic, category, forum, discussion or user does not exist.
429upstream_rate_limitedSource throttling; no automatic retry.
502upstream_challengedSource rejected or challenged the unauthenticated request.
502unsupported_pageMalformed, mismatched or non-JSON source data, or a GraphQL error.
502response_too_large payload_too_complexResponse exceeded byte or parsing limits.
502unsafe_redirect request_limit upstream_errorBounded source retrieval could not complete.
503busyAll worker slots are occupied.
504timeoutTotal request deadline expired.