Product Hunt

List Product Hunt comments

List Product Hunt comment threads. Pass post for a launch's comments, forum and discussion for a forum discussion's comments (each top-level comment with its HTML body, votes, author and up to five direct replies, sorted by score, votes or date), or comment for the direct replies to one comment, oldest first. Page with cursor. Each successful request costs 1 account credit, including partial results. Failed requests cost 0 credits.

get/v1/producthunt/comments

Request

  • Base URL: https://api.scrapeatlas.com
  • URL: https://api.scrapeatlas.com/v1/producthunt/comments
  • Auth: API key in header x-api-key

Query parameters

poststring

Launch slug, as in producthunt.com/posts/<slug> (for example notion-2-0). Reads that launch’s comments; also returned as the parent launch (id, slug, name, commentsCount).

forumstring

Forum slug of the discussion, as in producthunt.com/p/<forum>/<discussion>. Use together with discussion.

discussionstring

Discussion slug, used with forum to read that discussion’s comments; also returned as the parent discussion (id, slug, title, commentsCount).

commentstring

Numeric comment ID from a comments response. Reads its direct replies (order is not accepted); also returned as the parent comment (id, repliesCount).

order'score' | 'votes' | 'date' | 'date_desc'

Launch and discussion comments: score (default, the site’s ranking), votes, date (oldest first) or date_desc (newest first).

cursorstring

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

limitstring

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

Response

Inspect the response status and failure or coverage fields.

OR
OR
OR
OR
OR

Changes

No recorded changes to this operation across all 1 revision of this API.