Search Product Hunt launches, products, and makers via the GraphQL V2 API. Use when the user asks about Product Hunt launches, trending products, or wants to research a product's reception. Requires a free developer token (~2 min setup).
Search for products, track launches, and monitor Product Hunt activity via the GraphQL V2 API.
API Token Required. The Product Hunt API requires authentication — but it's free and takes ~2 minutes to set up.
PH_API_TOKENIf no token is available, fall back to using web_search with site:producthunt.com queries.
The Product Hunt API does not support free-text search on posts. You can browse by topic, date, or get a specific post by slug — but you cannot search "AI writing tool" and get matching products.
To find a product by name, use web_search first:
web_search: site:producthunt.com/posts "product name"
Then use the slug from the result to query the API for full details (votes, comments, makers, etc.).
https://api.producthunt.com/v2/api/graphqlAuthorization: Bearer {token}Use exec with curl to make GraphQL requests:
curl -s -X POST https://api.producthunt.com/v2/api/graphql \
-H "Authorization: Bearer $PH_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query": "YOUR_GRAPHQL_QUERY"}'
query {
posts(order: VOTES, first: 10) {
edges {
node {
id
name
tagline
votesCount
commentsCount
url
website
createdAt
makers {
name
username
}
topics {
edges {
node {
name
}
}
}
}
}
}
}
query {
posts(order: VOTES, first: 10, topic: "developer-tools") {
edges {
node {
id
name
tagline
votesCount
url
website
}
}
}
}
Remember: This browses a topic — it's not a text search. To find a specific product by name, use web_search with site:producthunt.com/posts "product name", then look up the post by slug via the API.
query {
post(slug: "chatgpt") {
id
name
tagline
description
votesCount
commentsCount
reviewsCount
reviewsRating
url
website
createdAt
featuredAt
makers {
name
username
headline
}
topics {
edges {
node {
name
slug
}
}
}
comments(first: 5) {
edges {
node {
body
votesCount
createdAt
user {
name
username
}
}
}
}
}
}
query {
topic(slug: "artificial-intelligence") {
name
postsCount
posts(first: 10, order: VOTES) {
edges {
node {
name
tagline
votesCount
url
createdAt
}
}
}
}
}
query {
posts(postedAfter: "2024-01-15T00:00:00Z", postedBefore: "2024-01-16T00:00:00Z", order: VOTES, first: 10) {
edges {
node {
name
tagline
votesCount
url
}
}
}
}
query {
user(username: "rrhoover") {
name
username
headline
followersCount
followingCount
madePosts(first: 5) {
edges {
node {
name
tagline
votesCount
url
}
}
}
}
}
artificial-intelligence, developer-tools, design-toolsproductivity, marketing, saas, fintechno-code, open-source, social-mediaweb-app, iphone, android, mac, chrome-extensionsFor a full list, query:
query { topics(first: 50, order: FOLLOWERS_COUNT) { edges { node { name slug followersCount } } } }
https://www.producthunt.com/posts/{slug}https://www.producthunt.com/@{username}https://www.producthunt.com/topics/{slug}If no PH_API_TOKEN is available:
web_search with queries like:
site:producthunt.com/posts "product name"site:producthunt.com "topic" launchedweb_fetch on specific Product Hunt URLs to get basic info### Product Hunt Results
1. **Product Name** — Tagline
🔼 votes · 💬 comments · ⭐ rating
By @maker_username
Topics: AI, Developer Tools
🔗 product_url
🏠 website_url
📅 launched_date
2. ...
PH_API_TOKEN.comments, topics, or makers sub-queries.web_search first to confirm the exact slug.Query today's posts sorted by votes, present top 10.
web_search "site:producthunt.com/posts linear"post(slug: "linear-5") with full detailsartificial-intelligence with date filtersProduct Hunt API V2 — GraphQL API, requires free developer token.