Get a Product Hunt forum or discussion
List the threads in a Product Hunt forum: the community forums such as general, or a product's own forum by its slug, each with title, preview, votes, comments, author and featured or pinned flags, sorted by trending, new, popular or featured and paged with cursor. Pass discussion to retrieve one discussion instead: title, full HTML body, votes, comments, page views, status, flags, author and forum. Each successful request costs 1 account credit, including partial results. Failed requests cost 0 credits.
Request
- Base URL: https://api.scrapeatlas.com
- URL: https://api.scrapeatlas.com/v1/producthunt/forum
- Auth: API key in header x-api-key
Query parameters
Required forum slug, as in producthunt.com/p/<slug>: a community forum such as general, or a product’s slug for its forum.
Thread list only: trending (default), new, popular or featured.
Thread list only. Time window for popular ordering: now, week, month, year or all (default).
Opaque nextCursor from the previous page. Omit for the first page.
Records per page, 1–20; defaults to 20 (the source's page ceiling).
Optional discussion slug, as in producthunt.com/p/<forum>/<discussion>. Returns that discussion instead of the thread list (order, window, cursor and limit are not accepted).
Response
Inspect the response status and failure or coverage fields.
Changes
No recorded changes to this operation across all 1 revision of this API.