# Product Hunt Scraper (`openclawmara/product-hunt-scraper`) Actor

Scrape Product Hunt for product launches, upvotes, comments, and maker profiles. Discover trending startups, upcoming products, and daily/weekly featured launches. Track product performance and community engagement. Perfect for market research and startup scouting.

- **URL**: https://apify.com/openclawmara/product-hunt-scraper.md
- **Developed by:** [OpenClaw Mara](https://apify.com/openclawmara) (community)
- **Categories:** Developer tools, Lead generation
- **Stats:** 5 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 product scrapeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Product Hunt Scraper

Scrape Product Hunt launches, product pages, makers, topics, upvotes, comments, images, and startup metadata with a Playwright-powered Apify Actor.

### What can it do?

- **Today’s launches** — Crawl the Product Hunt daily leaderboard, with timezone fallback for US Pacific publishing.
- **Daily leaderboards** — Scrape a specific date using `YYYY/MM/DD` or `YYYY-MM-DD`.
- **Product search** — Find products by keyword or category.
- **Single product detail** — Extract rich metadata from an individual `/posts/{slug}` page.
- **Optional detail enrichment** — Start from a listing and then visit each product page for deeper fields.

### Why use this scraper?

- 🚀 **Launch monitoring** — Track new AI, SaaS, developer tools, and startup launches.
- 📊 **Engagement signals** — Collect upvotes, comments, maker profiles, topics, and thumbnails where available.
- 🔎 **Market research** — Build competitor lists, content ideas, lead lists, or trend snapshots.
- 🧩 **Flexible inputs** — Use today, leaderboard, search, or product modes depending on your workflow.
- 🕒 **Timezone-aware** — Today mode automatically checks multiple recent dates to avoid empty future leaderboards around UTC/Pacific boundaries.

### Input examples

#### Today’s launches

```json
{
  "mode": "today",
  "maxItems": 20,
  "includeDetails": true
}
```

#### Specific daily leaderboard

```json
{
  "mode": "leaderboard",
  "date": "2026/04/24",
  "maxItems": 50,
  "includeDetails": false
}
```

#### Search Product Hunt

```json
{
  "mode": "search",
  "query": "AI sales assistant",
  "maxItems": 25
}
```

#### Single product page

```json
{
  "mode": "product",
  "productSlug": "chatgpt"
}
```

You can pass either a slug like `chatgpt` or a Product Hunt URL/path; the actor normalizes it.

### Output example

```json
{
  "slug": "chatgpt",
  "url": "https://www.producthunt.com/posts/chatgpt",
  "name": "ChatGPT",
  "tagline": "Optimizing language models for dialogue",
  "description": "...",
  "upvotes": 1234,
  "comments_count": 120,
  "makers": [
    {"username": "openai", "name": "OpenAI"}
  ],
  "topics": ["Artificial Intelligence", "Productivity"],
  "thumbnail": "https://.../",
  "source": "producthunt.com",
  "scrapedAt": "2026-04-25T04:00:00Z"
}
```

Actual fields depend on what Product Hunt renders for the page at crawl time.

### Common use cases

- Startup and competitor discovery
- AI/tool trend monitoring
- Lead generation for founder outreach
- Newsletter/content research
- Enriching internal product databases
- Tracking launches by date or keyword

### Notes and limitations

- Product Hunt is a dynamic site and can change layout or block listing pages. Single product pages are usually more stable than leaderboard listings.
- If a today crawl returns no listing items, the actor tries a homepage fallback and logs a clear warning.
- `includeDetails: true` is slower but returns richer product-page metadata.
- You only pay for Apify platform usage (compute and storage).

# Actor input Schema

## `mode` (type: `string`):

What to scrape from Product Hunt

## `maxItems` (type: `integer`):

Maximum number of products to scrape

## `query` (type: `string`):

Search term (required for 'search' mode). Example: 'AI writing tool'

## `productSlug` (type: `string`):

Product slug or URL path (for 'product' mode). Example: 'chatgpt'

## `date` (type: `string`):

Specific date to scrape (YYYY/MM/DD format). Leave empty for today.

## `daysBack` (type: `integer`):

Number of days to scrape back from today (for 'today' and 'leaderboard' modes)

## `includeDetails` (type: `boolean`):

Attempt to fetch full product detail pages via browser. Currently Product Hunt blocks browser traffic at the CDN level (Cloudflare) so this usually fails. Leave disabled unless you have a custom proxy configured.

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

Proxy settings. Defaults to Apify Residential proxy to bypass Product Hunt's anti-bot protection.

## Actor input object example

```json
{
  "mode": "today",
  "maxItems": 20,
  "daysBack": 1,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "mode": "today",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("openclawmara/product-hunt-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 = {
    "mode": "today",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("openclawmara/product-hunt-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 '{
  "mode": "today",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call openclawmara/product-hunt-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,openclawmara/product-hunt-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/1NbZhNvGzgOrsQ8b0/builds/Asi1DQPtnbNajgYBO/openapi.json
