Skip to main content
POST
/
api
/
producthunt
/
forums
/
threads
/producthunt/forums/threads
curl --request POST \
  --url https://api.anysite.io/api/producthunt/forums/threads \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "thread": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "alias": "<string>",
    "title": "<string>",
    "url": "<string>",
    "@type": "@product_hunt_forum_thread",
    "text": "<string>",
    "body_html": "<string>",
    "author": {
      "@type": "@product_hunt_forum_user",
      "id": "<string>",
      "name": "<string>",
      "alias": "<string>",
      "image": "<string>",
      "is_verified": true,
      "is_ambassador": true,
      "is_prominent": true
    },
    "forum": {
      "alias": "<string>",
      "@type": "@product_hunt_forum",
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "category_id": "<string>",
      "category_alias": "<string>",
      "category_name": "<string>"
    },
    "created_at": "<string>",
    "vote_count": 123,
    "comment_count": 123,
    "page_view_count": 123,
    "is_featured": true,
    "is_pinned": true,
    "status": "<string>",
    "comments": []
  }
]

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

Product Hunt forum thread — full URL ('https://www.producthunt.com/p/general/') or compact '/' pair.

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

"https://www.producthunt.com/p/general/how-do-you-decide-what-features-should-be-free-and-what-should-be-paid"

"general/how-do-you-decide-what-features-should-be-free-and-what-should-be-paid"

count
integer
required

Max number of top-level 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
alias
string
required
title
string
required
url
string
required
@type
string
default:@product_hunt_forum_thread
text
string | null
body_html
string | null
author
ProductHuntForumUser · object
forum
ProductHuntForum · object
created_at
string | null
vote_count
integer | null
comment_count
integer | null
page_view_count
integer | null
is_pinned
boolean | null
status
string | null
comments
ProductHuntForumComment · object[]