List Product Hunt post comments
List Product Hunt post comments, cursor-paged, with the first 20 replies on each thread.
Headers
Get your API keyAPI key (`sfk_...`)
Post slug, e.g. `teamily-ai`; case does not matter.
min 1 chars · max 120 chars · pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
Cursor from `page.nextCursor` of the previous response. It only works with the same endpoint and filters.
min 1 chars · max 1024 chars
Endpoint-specific response payload.
`not_found` when no public post has that slug. A post with no comments is `found` with an empty list.
one of: found, not_found
The post the comments belong to.
The comment threads on this page, ordered by score.
Thread id.
Comment text; null for an image-only comment.
When the comment was written.
Votes on the comment.
The user who wrote the comment.
Username.
Display name.
How many replies the thread has.
≥ 0
Whether the thread has more replies than the 20 returned here.
The first 20 replies on the thread.
Reply id.
Reply text; null for an image-only reply.
When the reply was written.
Votes on the reply.
The user who wrote the reply.
Username.
Display name.
Top-level comment threads on the post. Replies are nested in each thread and are not counted here.
≥ 0
Pagination state for the current page.
Whether another page is available.
Cursor to pass in the next request when more pages exist; null on the last page.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/product-hunt/posts/teamily-ai/comments" \
-H "x-api-key: YOUR_API_KEY"Responses
Comment threads of a Product Hunt post.