# Product Hunt Launches (official API) (`lomo-dev/product-hunt-launches`) Actor

Product Hunt launches with votes, comments, topics, makers and ranking via the official Product Hunt API v2 (add your free developer token). Without a token it reads the public feed: name, tagline, URL and date.

- **URL**: https://apify.com/lomo-dev/product-hunt-launches.md
- **Developed by:** [Lomo Dev](https://apify.com/lomo-dev) (community)
- **Categories:** Business, Marketing
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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 Launches Scraper

**Fetch Product Hunt launches** with votes, comments, topics, makers and ranking using the official Product Hunt API v2 (or the public Atom feed as fallback).

Ideal for startup research, competitive intelligence, trend tracking and lead generation.

[![Actor](https://apify.com/actor-badge?actor=lomo-dev/product-hunt-launches)](https://console.apify.com/actors/3htJhxEmRVmM7phmd)

***

### 🚀 What you get

- Official **Product Hunt API v2** data when you supply a developer token
- Automatic fallback to the public Atom feed (name, tagline, URL, date)
- Votes, comments, topics, makers, ranking and featured status
- Filter by date range, topic, featured-only, or specific post slugs
- Clean, structured dataset output

***

### 📥 Input

| Field | Default | Description |
|-------|---------|-------------|
| `phToken` | – | Your Product Hunt developer token (recommended) |
| `source` | `auto` | auto / api / feed |
| `order` | `RANKING` | RANKING / NEWEST / VOTES / FEATURED_AT |
| `postedAfter` / `postedBefore` | – | ISO date filter |
| `topic` | – | Topic slug (e.g. artificial-intelligence) |
| `featuredOnly` | false | Only homepage-featured launches |
| `postSlugs` | – | Specific launches to fetch |
| `maxItems` | 50 | Maximum launches to return |

#### How to get a Product Hunt token

1. Go to https://www.producthunt.com/v2/oauth/applications
2. Create an application
3. Click **Create Token**
4. Paste the token into `phToken`

#### Example input

```json
{
  "source": "auto",
  "order": "RANKING",
  "featuredOnly": false,
  "maxItems": 10
}
```

***

### 📤 Output

Each dataset item typically contains:

- `name`, `tagline`, `url`, `slug`
- `votesCount`, `commentsCount`
- `topics`, `makers`
- `featuredAt`, `createdAt`
- Ranking / order information

***

### Example output

Sample rows from a real owner run (public scrape data):

```json
[
  {
    "id": "1227308",
    "name": "Turnstone",
    "slug": "turnstone",
    "tagline": "Grok Bot alternative that runs on your AI, completely free",
    "description": null,
    "votesCount": null,
    "commentsCount": null,
    "reviewsRating": null,
    "topics": null,
    "makers": null,
    "makersRedacted": null,
    "website": null,
    "url": "https://www.producthunt.com/products/turnstone",
    "launchDate": "2026-08-20T04:40:12.000Z",
    "featuredAt": null,
    "featured": null,
    "thumbnail": null,
    "source": "feed",
    "scrapedAt": "2026-11-06T17:03:06.101Z"
  },
  {
    "id": "1291263",
    "name": "Tobira Site Agent",
    "slug": "tobira-ai",
    "tagline": "Turn your website into an AI agent that sells to AI agents",
    "description": null,
    "votesCount": null,
    "commentsCount": null,
    "reviewsRating": null,
    "topics": null,
    "makers": null,
    "makersRedacted": null,
    "website": null,
    "url": "https://www.producthunt.com/products/tobira-ai",
    "launchDate": "2026-10-24T11:25:07.000Z",
    "featuredAt": null,
    "featured": null,
    "thumbnail": null,
    "source": "feed",
    "scrapedAt": "2026-11-06T17:03:06.102Z"
  }
]
```

### 💰 Pricing (Pay-per-event)

| Event | Price |
|-------|-------|
| Actor start | **$0.0001** per start, charged once per GB of run memory |
| Dataset result | **$0.001** per launch row written |

**Memory:** the default is **512 MB**, which bills a single start event. This Actor is a lightweight HTTP client, so more memory only adds start events without speeding it up.

Example: 10 launches at default memory ≈ $0.0001 + 10 × $0.001 ≈ **$0.0101**.

***

### ⚙️ Memory limits

- Min: **256 MB**
- Max: **1024 MB**

***

### Notes

- Without a `phToken` the Actor uses the public feed (limited fields).
- Respect Product Hunt’s terms of service and rate limits.

# Actor input Schema

## `phToken` (type: `string`):

Your own developer token from https://www.producthunt.com/v2/oauth/applications (create an app → 'Create Token'). Required for votes, comments, topics and makers. Without it the Actor falls back to Product Hunt's public Atom feed (name, tagline, URL and date only).

## `source` (type: `string`):

auto = API if a token is given, otherwise the public feed. api = fail if no token. feed = public Atom feed only.

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

API sort order.

## `postedAfter` (type: `string`):

ISO date/datetime, e.g. 2026-10-01.

## `postedBefore` (type: `string`):

ISO date/datetime.

## `topic` (type: `string`):

e.g. artificial-intelligence, developer-tools (API only).

## `featuredOnly` (type: `boolean`):

Only posts featured on the homepage (API only).

## `postSlugs` (type: `array`):

Post slugs or producthunt.com/posts/<slug> URLs to fetch individually (API only).

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

Maximum launches to return from the listing.

## Actor input object example

```json
{
  "source": "auto",
  "order": "RANKING",
  "featuredOnly": false,
  "maxItems": 50
}
```

# Actor output Schema

## `launches` (type: `string`):

All fetched Product Hunt launches stored in the default dataset

# 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("lomo-dev/product-hunt-launches").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("lomo-dev/product-hunt-launches").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 '{}' |
apify call lomo-dev/product-hunt-launches --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lomo-dev/product-hunt-launches"
        }
    }
}
```

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/3htJhxEmRVmM7phmd/builds/CfHlajVtzR6TaFu0T/openapi.json
