# Product Hunt Scraper — Leaderboards & Product Leads (`scrapersdelight/producthunt-scraper`) Actor

Scrape Product Hunt daily leaderboards and product pages: rank, score, comments, topics, website URL, domain, rating, review count, followers, categories and socials. HTTP-only, no login.

- **URL**: https://apify.com/scrapersdelight/producthunt-scraper.md
- **Developed by:** [Scrapers Delight](https://apify.com/scrapersdelight) (community)
- **Categories:** Lead generation, Developer tools, Automation
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 1,000 per product / launch row returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Product Hunt Scraper — Leaderboards & Product Leads

Scrape **Product Hunt** daily leaderboards and product pages into clean structured rows — no login,
no cookies, no browser. Built for startup/product lead generation and market research.

### Two ways to use it

#### 1. Leaderboard dates → the day's ranked launches

Give one or more dates (`2026-07-28`, `2026/7/28`, or a full leaderboard URL). You get every ranked
launch on that day: **daily / weekly / monthly rank, score, comment count, topics, product slug**.

By default each launch is also **enriched** from its product page (`enrichFromLeaderboard: true`) so
every row carries the product's website URL, domain, rating, review count, followers and social links.
Turn it off for a faster, rank-only pull.

#### 2. Product URLs / slugs → the full product record

Give product slugs (`lovable`) or URLs (`https://www.producthunt.com/products/lovable`). You get the
full record: **website URL, website domain, star rating, review count, followers, categories,
AI-derived pro/con tags, and social links** (Twitter/X, LinkedIn, GitHub, Facebook, Instagram).

Provide at least one of the two inputs. You can mix both in one run.

### Output fields (per row)

`source`, `daily_rank`, `weekly_rank`, `monthly_rank`, `latest_score`, `launch_day_score`,
`comments_count`, `featured_at`, `post_topics`, `leaderboard_url`, `product_id`, `product_slug`,
`product_name`, `product_tagline`, `product_url`, `website_url`, `website_domain`, `clean_url`,
`reviews_rating`, `reviews_count`, `followers_count`, `posts_count`, `categories_count`,
`was_in_ycombinator`, `funding_amount`, `employee_size`, `twitter_url`, `linkedin_url`, `github_url`,
`facebook_url`, `instagram_url`, `logo_uuid`, `categories`, `pro_tags`, `con_tags`, `scraped_at`.

### Proxy

**Residential (US) proxy is required.** Product Hunt hard-blocks datacenter proxies with a Cloudflare
interstitial; residential US measured 14/15 (93%) usable on a sustained mixed load, with transient
rate-limits cleared automatically by retrying on a fresh exit IP. The default proxy config is already
set correctly — leave it as-is.

### Scope notes / limits

- **Maker / team names are not included.** Product Hunt does not ship the maker list in the anonymous
  page payload (it is loaded behind session state), so it is deliberately out of scope rather than
  guessed at.
- The leaderboard row set reflects the ranked launches present in the page's initial payload for that
  day. Vote/score counts are finalized on the leaderboard pages (unlike the live homepage, where
  Product Hunt hides scores during a launch's active day).
- `website_url` retains Product Hunt's outbound tracking query (e.g. `?via=product-hunt`); use
  `website_domain` / `clean_url` for the bare domain.

### Legality & data responsibility

This actor collects only publicly visible pages, without logging in or bypassing any access control.
You are responsible for using the output in compliance with Product Hunt's Terms of Service and all
applicable laws. Any personal data present in the output (e.g. reviewer names, social links) is your
responsibility to process lawfully (GDPR/CCPA and similar). Use for research and lawful outreach only.

# Actor input Schema

## `leaderboardDates` (type: `array`):

Daily leaderboard dates. Accepts '2026-07-28', '2026/7/28' or a full leaderboard URL. Each returns that day's ranked launches.

## `enrichFromLeaderboard` (type: `boolean`):

For each ranked launch, also fetch its product page to add website URL, domain, rating, review count, followers and social links. Costs one extra request per unique product.

## `maxProductsPerLeaderboard` (type: `integer`):

Cap the ranked launches taken from each leaderboard day (top-N by daily rank). 0 = all available on the page.

## `productUrls` (type: `array`):

One per line. Accepts 'lovable' or 'https://www.producthunt.com/products/lovable'. Returns the full product record.

## `proxyConfiguration` (type: `object`):

RESIDENTIAL (country US) is REQUIRED — Product Hunt hard-blocks datacenter proxies with a Cloudflare interstitial. Measured 14/15 (93%) usable on residential US; leave as-is.

## `requestConcurrency` (type: `integer`):

How many pages to fetch at once. Keep modest to respect the site and reduce 429s.

## `requestDelayMs` (type: `integer`):

Pacing per worker.

## Actor input object example

```json
{
  "leaderboardDates": [
    "2026-07-28"
  ],
  "enrichFromLeaderboard": true,
  "maxProductsPerLeaderboard": 0,
  "productUrls": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "requestConcurrency": 4,
  "requestDelayMs": 500
}
```

# Actor output Schema

## `products` (type: `string`):

Leaderboard rank, score, comments and topics plus product website, domain, rating, review count, followers, categories and social links.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "leaderboardDates": [
        "2026-07-28"
    ],
    "productUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapersdelight/producthunt-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "leaderboardDates": ["2026-07-28"],
    "productUrls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapersdelight/producthunt-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "leaderboardDates": [
    "2026-07-28"
  ],
  "productUrls": []
}' |
apify call scrapersdelight/producthunt-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapersdelight/producthunt-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/RnWVNeiSUQX8u9HXF/builds/wSusnZbKISMaAej9g/openapi.json
