Bearer logo
Product Hunt API logo

Product Hunt API

2

API documentation
http://api-v2-docs.producthunt.com.s3-website-us-east-1.amazonaws.com/operation/query/

Developer website
https://api.producthunt.com/v2/docs

Incorrect or missing information? Help us

What is the Product Hunt API?

Product Hunt lists the best new products, every day. With a strong community of hunters, it's a place where to discover and showcase new services. The API grants you free access to Product Hunt data, including public data about products and user private information or actions.

How to use the Product Hunt API?

NodeJSRubyPythonPHP
// npm install @bearer/node
bearer
.integration('product_hunt')
.auth('AUTH_ID') // Check the code example below on how to generate access tokens
.post('/graphql', { body: { query: "{ posts(order: VOTES, first: 3) { edges { node { id name url votesCount } } } }"}})
.then(({ data }) => console.log(data))
.catch(e => console.log(e))
HTML/JSReact
<script src="https://cdn.jsdelivr.net/npm/@bearer/js/lib/bearer.production.min.js"></script>
<button class="btn btn-primary" onclick="myConnectButton()">
Connect to Product Hunt
</button>
<script>
const bearerClient = bearer('YOUR_BEARER_PUB_KEY')
function myConnectButton() {
bearerClient
.connect(
'product_hunt'
)
.then(({ authId }) => {
// Use this authId like bearer.auth(authId).get(..
console.log('AUTH_ID for this user', authId)
})
}
</script>

Start using the Product Hunt API

Bearer provides a universal API client to call any Product Hunt endpoints. It takes care of API authentication, credentials management, and monitoring out-of-the-box.

Available in Node.js, Ruby, Python, and PHP

Sign up with Email

Product Hunt API Rate Limits

The Product Hunt API has two types of rate limits: 1. Complexity based: The application has a quota of 6250 complexity points for every 15 minutes. The complexity of each request is calculated based on the fields requested. 2. Request based: The application can make up to 450 requests every 15 minutes.

X-Rate-Limit-LimitE.g. 6250
Applications limit for the 15 minute period
X-Rate-Limit-RemainingE.g. 6010
Remaining quota for the reset period
X-Rate-Limit-ResetE.g. 850
Seconds until the rate limit is reset

Product Hunt API Versions

versionstatus
2latest

Start integrating the Product Hunt API for free!

Universal API client

Query the Product Hunt API and hundreds more APIs using a single API client.

Identity Management

From API credentials to OAuth dance, token and refresh token, Bearer manages it all.

Real-time Monitoring

Get a complete overview of your API usage with metrics and in-depth logs, find errors anddebug in a snap.

Bearer - Integrations built in minutes, Monitored in real-time

Company

Docs & Help

Legal

Bearer is on TwitterBearer is on GitHubBearer is on FacebookBearer is on LinkedIn
© Copyright Bearer 2019
Bearer uses cookies to make its website easier to use. Learn more about cookies.