Skip to main content
POST
/
api
/
producthunt
/
users
/
comments
/producthunt/users/comments
curl --request POST \
  --url https://api.anysite.io/api/producthunt/users/comments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "user": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@product_hunt_user_comment",
    "text": "<string>",
    "created_at": "<string>",
    "url": "<string>",
    "context": {
      "name": "<string>",
      "@type": "@product_hunt_user_comment_context",
      "id": "<string>",
      "alias": "<string>",
      "tagline": "<string>",
      "forum_alias": "<string>",
      "product_id": "<string>",
      "product_alias": "<string>",
      "url": "<string>"
    }
  }
]

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
user
string
required

Product Hunt username ('kevin'), '@username' handle, or full profile URL ('https://www.producthunt.com/@kevin').

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

"kevin"

"@chrismessina"

"https://www.producthunt.com/@rrhoover"

count
integer
required

Max number of comments 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_user_comment
text
string | null
created_at
string | null
url
string | null
context
ProductHuntUserCommentContext · object