Product Hunt API

Social / OAuth Advanced HTTPS
Varies by plan (check documentation)

Overview

Product Hunt API lets you access data about newly launched tech products, including upvotes, comments, and maker information using GraphQL and OAuth. You can query trending products, search by topic, or post new product submissions programmatically. It is great for building dashboards or discovery tools around the tech startup ecosystem.

💡

Beginner Tip

Product Hunt uses GraphQL — you can explore the available queries and fields using their API playground at api.producthunt.com/v2/docs before writing any code.

Available Data

Use case: Integrate the best new products in tech data into web and mobile applications
Product Hunt data via REST API
JSON-formatted response data
Requires OAuth authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Product Hunt",
    "description": "The best new products in tech",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

data.posts.edges List of post edge objects wrapping the actual post node data
node.id Unique identifier of the product post
node.name Name of the product
node.tagline Short one-line description of what the product does
node.votesCount Total number of upvotes the product has received
node.url URL to the product page on Product Hunt

Implementation Example

// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://api.producthunt.com/v2/docs";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "Authorization": "Bearer YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized OAuth token is missing or expired
Complete the OAuth 2.0 flow to obtain a user token, or use a developer token from your Product Hunt developer settings for read-only access
GraphQL field error in errors array Requested field name is incorrect or not available in the schema
Use the API docs at api.producthunt.com/v2/docs to check valid field names — GraphQL schemas are strict about spelling
429 Rate Limited Sending too many API requests in a short window
Implement exponential backoff and cache results locally to reduce repeated identical queries

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 15/20
🔒 Security 15/15
🛠 Developer XP 3/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth OAuth
HTTPS REQUIRED
CORS UNKNOWN
Category Social
Difficulty Advanced
Verified: 2026-04-04

Similar APIs

View All →