producthunt
resciencelab/opc-skills
Search and retrieve Product Hunt posts, topics, users, and collections via GraphQL API.
What is producthunt?
Access Product Hunt data through the official GraphQL API to find posts, topics, users, and collections. Use this skill when users ask about Product Hunt, product launches, or want to discover trending products and topics.
- Retrieve individual posts by slug or ID
- Fetch today's featured posts or filter by topic and date range
- Search and browse Product Hunt topics
- Look up user profiles and their post history
- Access curated collections and featured collections
- Read post comments and community feedback
How to install producthunt
npx skills add https://github.com/resciencelab/opc-skills --skill producthunt- Product Hunt developer account and access token from https://www.producthunt.com/v2/oauth/applications
- Set PRODUCTHUNT_ACCESS_TOKEN environment variable in ~/.zshrc
How to use producthunt
- 1.Set your Product Hunt access token in ~/.zshrc as PRODUCTHUNT_ACCESS_TOKEN
- 2.Verify setup by running: python3 scripts/get_posts.py --limit 3
- 3.Use get_post.py with a slug or ID to fetch individual posts
- 4.Use get_posts.py with optional filters (--topic, --after, --limit) to search posts
- 5.Use get_topic.py or get_topics.py to browse topics
- 6.Use get_user.py or get_user_posts.py to look up creators
- 7.Use get_collection.py or get_collections.py to access curated collections
Use cases
- Finding trending products in a specific category like AI or SaaS
- Researching a competitor's Product Hunt launch and community response
- Discovering top products from a particular creator or user
- Browsing curated collections for product inspiration
- Analyzing post metadata and engagement metrics
- Product managers researching market trends
- Founders launching or promoting products on Product Hunt
- Investors tracking new product releases
- Content creators looking for product discovery content
- Developers building tools that integrate with Product Hunt data
producthunt FAQ
Visit https://www.producthunt.com/v2/oauth/applications, create a developer application, and copy your access token. Set it as PRODUCTHUNT_ACCESS_TOKEN in ~/.zshrc.
Product Hunt allows 6250 complexity points per 15-minute window. Most queries consume relatively few points; check the API docs for specific query costs.
You can filter posts by topic using --topic flag and by date using --after flag. For broader keyword search, use the get_topics.py command with --query parameter.
Use python3 scripts/get_post_comments.py POST_ID --limit [number] to retrieve comments for a post.
You can retrieve user profiles by username and fetch all posts by that user. The API provides user metadata and their post history.
Full instructions (SKILL.md)
Source of truth, from resciencelab/opc-skills.
name: producthunt description: Search and retrieve content from Product Hunt. Get posts, topics, users, and collections via the GraphQL API. Use when user mentions Product Hunt, PH, or product launches.
ProductHunt Skill
Get posts, topics, users, and collections from Product Hunt via the official GraphQL API.
Prerequisites
Set access token in ~/.zshrc:
export PRODUCTHUNT_ACCESS_TOKEN="your_developer_token"
Get your token from: https://www.producthunt.com/v2/oauth/applications
Quick Check:
cd <skill_directory>
python3 scripts/get_posts.py --limit 3
Commands
All commands run from the skill directory.
Posts
python3 scripts/get_post.py chatgpt # Get post by slug
python3 scripts/get_post.py 12345 # Get post by ID
python3 scripts/get_posts.py --limit 20 # Today's featured posts
python3 scripts/get_posts.py --topic ai --limit 10 # Posts in topic
python3 scripts/get_posts.py --after 2026-01-01 # Posts after date
python3 scripts/get_post_comments.py POST_ID --limit 20
Topics
python3 scripts/get_topic.py artificial-intelligence # Get topic by slug
python3 scripts/get_topics.py --query "AI" --limit 20 # Search topics
python3 scripts/get_topics.py --limit 50 # Popular topics
Users
python3 scripts/get_user.py rrhoover # Get user by username
python3 scripts/get_user_posts.py rrhoover --limit 20 # User's posts
Collections
python3 scripts/get_collection.py SLUG_OR_ID # Get collection
python3 scripts/get_collections.py --featured --limit 20
API Info
- Endpoint: https://api.producthunt.com/v2/api/graphql
- Type: GraphQL
- Rate Limits: 6250 complexity points / 15 min
- Docs: https://api.producthunt.com/v2/docs
Related skills
More from resciencelab/opc-skills and the wider catalog.

Search and retrieve Reddit posts, comments, subreddit info, and user profiles via the public JSON API.

requesthunt
Generate user demand research reports by analyzing real feedback from Reddit, X, GitHub, YouTube, LinkedIn, and Amazon.

seo-geo
Optimize websites for AI search engines (ChatGPT, Perplexity, Gemini) and traditional search (Google, Bing).

skill-name
Placeholder skill template for agent automation workflows.

Search and retrieve Twitter/X content including users, tweets, followers, communities, spaces, and trends.

resend-design-skills
Route to Resend's brand guidelines, design system, marketing page patterns, and design audit tools.