Product Hunt Scraper (Official API) avatar

Product Hunt Scraper (Official API)

Pricing

from $1.16 / 1,000 posts

Go to Apify Store
Product Hunt Scraper (Official API)

Product Hunt Scraper (Official API)

Product Hunt launches, rankings, votes and full comment threads via the official GraphQL API — no fragile HTML parsing. Bring your own free token and get a private rate-limit budget instead of queuing behind a shared one. Personal data pseudonymised by default.

Pricing

from $1.16 / 1,000 posts

Rating

0.0

(0)

Developer

Will Morgan

Will Morgan

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

15 days ago

Last modified

Features

Limited permissions

Share

Product Hunt Scraper — Official API, Your Own Rate Limit

Pull Product Hunt launches and their comment threads as clean, structured JSON.

Unlike scrapers that hammer the public website, this Actor runs entirely on Product Hunt's official GraphQL API using a developer token you supply. That single design choice is why it finishes runs that other Product Hunt scrapers fail.

Why runs fail elsewhere — and not here

Product Hunt enforces a quota of 6,250 points per 15 minutes, applied per application token. Measured against the live API, every request costs a flat 100 points regardless of size, and the posts page size is capped at 20. That works out at:

Requests per 15 minutes62
Posts per request20 (hard cap)
Ceiling~1,240 posts per 15 minutes

An Actor that ships one shared token makes every customer on the platform compete for those 62 requests, so runs return HTTP 429 and die partway through. Pulling 10,000 posts takes 500 requests — eight full windows — and on a shared token you are fighting everyone else for every one of them.

You bring your own token, so you get your own private budget. On top of that this Actor:

  • reads X-Rate-Limit-Remaining and slows down before the budget runs out,
  • honours X-Rate-Limit-Reset on a 429 instead of blind-retrying into the wall,
  • retries network errors and 5xx with exponential backoff,
  • fails fast and clearly on a bad token rather than burning your run,
  • requests only the fields you tick — unused fields still cost you points.

What you can do with it

  • Competitor and launch tracking — watch every launch in a topic and alert on traction.
  • Market research — what shipped in artificial-intelligence last quarter, ranked by votes.
  • Feedback mining — pull comment threads to see what users actually praise or complain about.
  • Trend analysis — daily/weekly/monthly/yearly ranks are included on every post.

Try it without a token

Leave phToken empty and the Actor returns a handful of frozen example records so you can see the shape of the output before signing up for anything. No post or comment events are charged for a sample run. Every sample row carries "isSampleData": true, and the run log says plainly that the data is not live.

Sample mode exists so a first run succeeds rather than erroring. For real data you need your own token, which takes about two minutes:

Getting your token (free, two minutes)

  1. Go to https://www.producthunt.com/v2/oauth/applications
  2. Create an application (any name; the redirect URI can be https://example.com)
  3. Open it and click Create Token
  4. Paste it into the phToken field

The token doesn't expire and only needs the default public scope.

Output

Posts and comments go to the same dataset. Every record carries an itemType of either post or comment, so you can split them in one pass:

posts = [r for r in rows if r["itemType"] == "post"]
comments = [r for r in rows if r["itemType"] == "comment"]

Comments also carry postId, postName and postSlug, so they join straight back onto their parent launch.

{
"itemType": "post",
"id": "512345",
"name": "Product 1",
"tagline": "The thing that does the thing",
"slug": "product-1",
"url": "https://producthunt.com/posts/product-1",
"website": "https://example.com",
"votesCount": 420,
"commentsCount": 37,
"reviewsCount": 12,
"reviewsRating": 4.8,
"createdAt": "2026-09-01T00:00:00Z",
"featuredAt": "2026-09-01T12:00:00Z",
"dailyRank": 1, "weeklyRank": 3, "monthlyRank": 11, "yearlyRank": 240,
"topics": ["artificial-intelligence", "developer-tools"],
"user": { "idHash": "b42e42cf533c3108" }
}
{
"itemType": "comment",
"postId": "512345",
"postName": "Product 1",
"postSlug": "product-1",
"commentId": "900123",
"body": "Been waiting for this.",
"createdAt": "2026-09-01T09:14:00Z",
"url": "https://producthunt.com/comments/900123",
"votesCount": 6,
"parentId": null,
"isReply": false,
"user": { "idHash": "7f1c0a9b2d4e6a83" }
}

Privacy by default

Product Hunt exposes real people — hunters, makers and commenters. This Actor omits their personal data unless you explicitly ask for it.

With includeUserIdentity off (the default), each person is reduced to a stable idHash. You can still group and count by author, but the output holds no names, usernames, profile images, Twitter handles or profile URLs.

Commenters are anonymous regardless. Product Hunt redacts comment authors at source — it returns id: "0" and [REDACTED] for their name, username and profile URL no matter what you request. Only an opaque numeric userId is real, so this Actor uses that (and hashes it by default). Comment data is therefore inherently low-risk; the identity switch only affects post hunters and makers.

Turn it on only if you have a lawful basis for processing that personal data under UK/EU GDPR. "It was publicly available" is not one on its own.

Notes and limits

  • Product Hunt defaults to the last month. If you don't set postedAfter, the API only returns roughly the previous month of posts. Set it explicitly to reach further back.
  • Individual reviews are not available. Product Hunt's API exposes reviewsCount and reviewsRating aggregates on a post, but there is no Review object in its GraphQL schema. Comments are fully available.
  • Page size is capped at 20. Ask for more and Product Hunt quietly returns 20 anyway. The Actor clamps to 20 so your expectations match reality.
  • Comments are effectively free. Because each request costs a flat 100 points whatever it contains, fetching comments inline costs nothing extra in rate-limit terms. Turn them on when you need them.
  • URLs carry your application's UTM tags. Product Hunt appends utm_source=Application: <your app name> to every url and website it returns. That is your own application name, since it is your token.

Pricing events

EventFires
post-scrapedonce per post written to the dataset
comment-scrapedonce per comment written to the dataset

Local development

python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
.venv/bin/python tests_local.py # GraphQL validity + privacy guarantees
.venv/bin/python tests_client.py # rate limiting, auth, retries (HTTP mocked)
.venv/bin/python tests_e2e.py && .venv/bin/python tests_e2e_assert.py

Not affiliated with Product Hunt. This Actor is an independent client for Product Hunt's public GraphQL API. It is not endorsed by, sponsored by or connected to Product Hunt in any way. "Product Hunt" is the trademark of its owner and is used here only to describe what the Actor connects to.

You run it on your own credentials. The Actor uses the developer token you supply, under your own agreement with Product Hunt. Their API terms of service govern your use, including what you may store and republish. Read them.

Personal data. Product Hunt data describes real people — hunters, makers and commenters. This Actor pseudonymises personal fields by default. If you switch includeUserIdentity on, you become responsible for having a lawful basis to process that data. Under UK and EU GDPR, "it was publicly available" is not one. Scraping at scale for marketing lists is the use most likely to get you in trouble.

No warranty. Product Hunt can change or withdraw its API at any time. The Actor is provided as-is. Issues are fixed promptly on a best-effort basis, but no uptime or continuity is guaranteed.