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

The Product Hunt Scraper extracts data on the latest top products, capturing names, taglines, images, URLs, topics, vote counts, comment counts, and rankings—ideal for trend tracking, competitor analysis, and market research.

- **URL**: https://apify.com/piotrv1001/product-hunt-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** Developer tools, Automation, News
- **Stats:** 24 total users, 0 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## 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

Easily extract data on the latest top products from Product Hunt. The **Product Hunt Scraper** allows you to gather structured product insights for trend tracking, competitor analysis, and market research.

### ✨ Features

- 🏆 **Comprehensive Product Data**: Retrieve product names, taglines, images, URLs, topics, vote counts, comment counts, and rankings.
- 🔍 **Daily Top Product Extraction**: Extract the latest trending products to stay ahead in the industry.
- ⚡ **Fast & Efficient**: Quickly gather data for startup analysis and innovation tracking.

### 🛠️ How It Works

1. **Run the Scraper** – Automatically fetch the latest top Product Hunt listings.
2. **Get Structured Data** – Receive detailed product insights instantly.

### 📊 Sample Output Data

The scraper provides structured JSON output with key product details. Example:

```json
[
    {
        "id": "892107",
        "name": "Musa",
        "tagline": "A self-care dragon to help reduce PMS and cramps",
        "thumbnail": "https://ph-files.imgix.net/d902c54f-e5ae-4c45-85fe-85b04e96964b.png",
        "featuredAt": "2/19/2025, 9:01:00 AM",
        "createdAt": "2/19/2025, 9:01:00 AM",
        "votes": 1292,
        "comments": 211,
        "rank": {
            "daily": 1,
            "weekly": 2,
            "monthly": 6
        },
        "topics": ["Health & Fitness", "FemTech", "Health"],
        "shortenedUrl": "https://www.producthunt.com/r/p/892107"
    },
    {
        "id": "906881",
        "name": "OpenArt Consistent Characters",
        "tagline": "Craft your characters and stories with ease",
        "thumbnail": "https://ph-files.imgix.net/35d76760-6f8e-4f92-a475-85d190f5c50d.png",
        "featuredAt": "2/26/2025, 9:01:00 AM",
        "createdAt": "2/26/2025, 9:01:00 AM",
        "votes": 1732,
        "comments": 165,
        "rank": {
            "daily": 1,
            "weekly": 1,
            "monthly": 4
        },
        "topics": ["Art", "Artificial Intelligence", "Community"],
        "shortenedUrl": "https://www.producthunt.com/r/p/906881"
    }
]
```

Stay ahead of innovation with **Product Hunt Scraper** today! 🚀

# Actor input Schema

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

Maximum number of products to scrape.

## `order` (type: `string`):

Order to sort the products.

## Actor input object example

```json
{
  "maxItems": 100,
  "order": "RANKING"
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/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 = {}

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

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

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

```

## CLI example

```bash
echo '{}' |
apify call piotrv1001/product-hunt-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=piotrv1001/product-hunt-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/hXhIgSuygwlJ04K7X/builds/qEoOk5hjMaIYcXO76/openapi.json
