Skip to main content
POST
/
api
/
producthunt
/
topics
/producthunt/topics
curl --request POST \
  --url https://api.anysite.io/api/producthunt/topics \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "topic": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "@type": "@product_hunt_topic",
    "description": "<string>",
    "image": "<string>",
    "parent": {
      "name": "<string>",
      "@type": "@product_hunt_topic_ref",
      "id": "<string>",
      "alias": "<string>",
      "url": "<string>"
    },
    "sub_topics": [],
    "categories": [],
    "category_tags": [],
    "ai_summary": "<string>",
    "recent_summary": "<string>",
    "total_product_count": 123,
    "recent_launch_count": 123,
    "products": []
  }
]

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

Product Hunt topic slug ('artificial-intelligence') or full topic URL ('https://www.producthunt.com/topics/artificial-intelligence').

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

"artificial-intelligence"

"https://www.producthunt.com/topics/artificial-intelligence"

count
integer
required

Max number of products 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
name
string
required
alias
string
required
url
string
required
@type
string
default:@product_hunt_topic
description
string | null
image
string | null
parent
ProductHuntTopicRef · object
sub_topics
ProductHuntTopicRef · object[]
categories
ProductHuntTopicCategoryRef · object[]
category_tags
ProductHuntTopicCategoryTag · object[]
ai_summary
string | null
recent_summary
string | null
total_product_count
integer | null
recent_launch_count
integer | null
products
ProductHuntTopicProduct · object[]