Skip to main content
POST
/
api
/
producthunt
/
launches
/
comments
/producthunt/launches/comments
curl --request POST \
  --url https://api.anysite.io/api/producthunt/launches/comments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "launch": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@product_hunt_launch_comment",
    "text": "<string>",
    "body_html": "<string>",
    "url": "<string>",
    "created_at": "<string>",
    "upvote_count": 123,
    "reply_count": 123,
    "is_sticky": true,
    "is_pinned": true,
    "badges": [],
    "parent_id": "<string>",
    "author": {
      "id": "<string>",
      "name": "<string>",
      "@type": "@product_hunt_launch_comment_author",
      "alias": "<string>",
      "image": "<string>",
      "is_verified": true,
      "is_ambassador": true,
      "is_prominent": true,
      "byline_product": {
        "id": "<string>",
        "alias": "<string>",
        "name": "<string>",
        "@type": "@product_hunt_launch_comment_byline_product"
      }
    },
    "replies": []
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.anysite.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
launch
string
required

Product Hunt launch slug ('notion-calendar') or full launch URL ('https://www.producthunt.com/products/notion?launch=notion-calendar').

Minimum string length: 1
Pattern: ^(?:https?://[^\s]+|//[^\s]+|(?:www\.)?producthunt\.com[^\s]*|[A-Za-z0-9][A-Za-z0-9._-]*)$
Examples:

"notion-calendar"

"https://www.producthunt.com/products/notion?launch=notion-calendar"

count
integer
required

Max number of top-level comment threads to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@product_hunt_launch_comment
text
string | null
body_html
string | null
url
string | null
created_at
string | null
upvote_count
integer | null
reply_count
integer | null
is_sticky
boolean | null
is_pinned
boolean | null
badges
string[]
parent_id
string | null
author
ProductHuntLaunchCommentAuthor · object
replies
Replies · array