# Trends Aggregator (`miccho27/trends-aggregator`) Actor

Aggregate trending topics from Google Trends, Hacker News, Reddit, GitHub, and Product Hunt. No API keys required.

- **URL**: https://apify.com/miccho27/trends-aggregator.md
- **Developed by:** [Tatsuya Mizuno](https://apify.com/miccho27) (community)
- **Categories:** Developer tools
- **Stats:** 59 total users, 5 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $5.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/platform/actors/running/actors-in-store#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

## Trends Aggregator - Multi-Source Trending Topics (Google, Reddit, Hacker News, GitHub, Product Hunt)

Aggregate trending topics from 5 sources in a single Apify Actor run -- Google Trends, Reddit, Hacker News, GitHub, and Product Hunt. No API keys required. The best free alternative to Exploding Topics, BuzzSumo, SparkToro, Google Trends API wrappers, and Feedly.

### Who Is This For?

- **Content marketers** -- Discover trending topics before competitors and create timely content
- **SEO specialists** -- Identify trending keywords and topics for content calendar planning
- **Product managers** -- Track emerging tools, frameworks, and products in your industry
- **Startup founders** -- Monitor Product Hunt and Hacker News for competitor launches and market signals
- **Developers** -- Track trending GitHub repos and tech discussions on Hacker News
- **Journalists & media** -- Aggregate breaking topics across platforms for story ideas
- **Social media managers** -- Find trending topics to create timely posts that ride the wave

### Sources

| Source | What It Captures | Update Frequency |
|--------|-----------------|-----------------|
| **Google Trends** | Daily trending searches with traffic volume + related news articles | Updates multiple times/day |
| **Hacker News** | Top stories (tech, startups, science, culture) | Updates every few minutes |
| **Reddit** | Trending posts from r/popular (all topics) | Updates every few minutes |
| **GitHub** | Fastest-growing repositories created in the last 7 days | Updates daily |
| **Product Hunt** | Today's top-voted product launches | Updates daily |

### Pricing -- Free to Start

| Tier | Cost | What You Get |
|------|------|-------------|
| **Free trial** | $0 | Apify free tier includes monthly compute credits |
| **Pay per run** | ~$0.01-0.05/run | All 5 sources in one run |
| **vs. Exploding Topics** | Saves $39-249/mo | Real-time data from 5 sources |
| **vs. BuzzSumo** | Saves $199-499/mo | Trending topics + tech/product trends |
| **vs. Feedly AI** | Saves $18-99/mo | No curation needed, raw trending data |

### How It Compares to Paid Trend Tools

| Feature | This Actor (FREE) | Exploding Topics ($39/mo) | BuzzSumo ($199/mo) | SparkToro ($50/mo) | Feedly ($18/mo) |
|---------|-------------------|--------------------------|--------------------|--------------------|----------------|
| Google Trends data | Yes (with traffic volume) | Yes | No | No | No |
| Reddit trending | Yes | No | Limited | No | Yes |
| Hacker News | Yes | No | No | No | Yes |
| GitHub trending repos | Yes | No | No | No | No |
| Product Hunt | Yes | No | No | No | No |
| Region filtering | Yes (Google Trends) | Yes | No | No | No |
| API/automation | Yes (Apify API) | API ($249/mo) | API ($299/mo) | API ($150/mo) | API ($99/mo) |
| Scheduling | Yes (Apify scheduler) | Dashboard only | Dashboard only | Dashboard only | Dashboard only |
| Raw JSON output | Yes | No | CSV export | CSV export | No |
| Monthly cost | $0 (pay per run) | $39-249 | $199-499 | $50-150 | $18-99 |

### Quick Start (3 Steps)

1. **Click "Try for free"** on this Actor's page in Apify Store
2. **Select sources** (Google Trends, Reddit, Hacker News, GitHub, Product Hunt) and region
3. **Click "Start"** and get aggregated trending topics as JSON, CSV, or Excel

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `sources` | array | all 5 sources | Which sources to fetch: `google`, `hackernews`, `reddit`, `github`, `producthunt` |
| `googleGeo` | string | `"US"` | ISO country code for Google Trends region (e.g. `US`, `JP`, `GB`, `DE`, `BR`) |
| `limit` | integer | `25` | Max items per source (1-50) |

#### Example Input -- All Sources, US Region

```json
{
  "sources": ["google", "hackernews", "reddit", "github", "producthunt"],
  "googleGeo": "US",
  "limit": 25
}
```

#### Example Input -- Tech-Focused, Japan Region

```json
{
  "sources": ["google", "hackernews", "github"],
  "googleGeo": "JP",
  "limit": 10
}
```

#### Example Input -- Product & Startup Monitoring

```json
{
  "sources": ["producthunt", "hackernews", "github"],
  "limit": 15
}
```

### Output

Each source produces one dataset record:

```json
{
  "source": "hackernews",
  "updated": "2026-03-16T10:00:00.000Z",
  "count": 25,
  "items": [ ... ]
}
```

If a source fails, the record includes an `"error"` field instead of items -- no silent failures.

#### Google Trends Item

```json
{
  "title": "Topic name",
  "traffic": "500K+",
  "pubDate": "Mon, 16 Mar 2026 ...",
  "link": "https://trends.google.com/...",
  "relatedArticles": [
    { "title": "...", "url": "...", "source": "..." }
  ]
}
```

#### Hacker News Item

```json
{
  "id": 12345678,
  "title": "Show HN: Something cool",
  "url": "https://example.com",
  "score": 342,
  "by": "username",
  "comments": 87,
  "time": 1710000000
}
```

#### Reddit Item

```json
{
  "title": "Post title",
  "subreddit": "r/technology",
  "score": 12000,
  "comments": 450,
  "url": "https://www.reddit.com/r/technology/comments/...",
  "author": "username",
  "created_utc": 1710000000
}
```

#### GitHub Item

```json
{
  "name": "owner/repo",
  "description": "Repo description",
  "url": "https://github.com/owner/repo",
  "stars": 1200,
  "forks": 80,
  "language": "TypeScript",
  "created_at": "2026-03-10T00:00:00Z"
}
```

#### Product Hunt Item

```json
{
  "name": "Product Name",
  "tagline": "Short description",
  "votes": 540,
  "url": "https://www.producthunt.com/posts/...",
  "website": "https://product.com",
  "topics": ["AI", "Productivity"]
}
```

### Real-World Use Cases

#### 1. Daily Content Inspiration Dashboard

Schedule this Actor to run every morning. Export to Google Sheets via Apify integrations for a free, auto-updating trend dashboard your content team can reference daily.

#### 2. SEO Trend-Jacking

Monitor Google Trends + Reddit for emerging topics in your niche. When a topic spikes, publish content within hours to capture early search traffic.

#### 3. Competitive Product Intelligence

Track Product Hunt and GitHub for new tools in your space. Get alerted via webhook when a competitor launches or a relevant open-source project gains traction.

#### 4. Tech Stack Trend Monitoring

Filter GitHub trending repos by language to track which frameworks and tools are gaining momentum. Essential for CTOs and engineering managers making technology decisions.

#### 5. Newsletter Content Curation

Run weekly across all 5 sources, filter the top items, and use the structured output to auto-generate a trend digest newsletter via n8n, Make, or Zapier.

#### 6. Regional Trend Analysis

Compare Google Trends across US, JP, GB, DE, and BR to identify regional content opportunities and localization priorities.

### FAQ

**Q: How often should I run this?**
A: For daily trend monitoring, run once per day. For real-time trend tracking, run every 1-4 hours. Hacker News and Reddit update most frequently; GitHub and Product Hunt are best checked daily.

**Q: Can I filter by specific subreddits or GitHub languages?**
A: Currently, Reddit fetches from r/popular and GitHub fetches all languages. Filtering by specific subreddits or languages is planned for a future update.

**Q: What does the Google Trends "traffic" field mean?**
A: It's Google's estimated daily search volume for that trending topic (e.g., "500K+" means over 500,000 searches that day).

**Q: Can I send results to Slack or email?**
A: Yes. Use Apify's built-in integrations to push results to Slack, email, Google Sheets, webhooks, or any tool via Zapier/Make.

**Q: What if Product Hunt data is unavailable?**
A: Product Hunt's GraphQL API may occasionally require authentication. If unavailable, the record returns `count: 0` with a `note` field. The other 4 sources will still work normally.

**Q: Can I use the Apify API to call this programmatically?**
A: Yes. Full API access via REST or SDKs (Python, JavaScript, Go). Trigger runs, retrieve results, and build automated trend monitoring pipelines.

### Notes

- Product Hunt GraphQL may require authentication; if unavailable the record will have `count: 0` and a `note` field.
- All sources use public endpoints (RSS, JSON APIs, HTML parsing) -- no API keys needed.

# Actor input Schema

## `sources` (type: `array`):

Which trend sources to fetch. Select specific sources or leave empty to fetch all 5: Google Trends (daily trending searches), Hacker News (top tech stories), Reddit (r/popular trending), GitHub (fastest-growing new repos), Product Hunt (top product launches).

## `googleGeo` (type: `string`):

ISO country code for Google Trends region. Examples: 'US' (United States), 'JP' (Japan), 'GB' (United Kingdom), 'DE' (Germany), 'BR' (Brazil), 'FR' (France). Only used when 'google' is in sources.

## `limit` (type: `integer`):

Maximum trending items to return per source (1-50). Use 10 for a quick overview, 25 for standard monitoring, 50 for comprehensive trend analysis.

## Actor input object example

```json
{
  "sources": [
    "google",
    "hackernews",
    "reddit",
    "github",
    "producthunt"
  ],
  "googleGeo": "US",
  "limit": 25
}
```

# 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 = {
    "sources": [
        "google",
        "hackernews",
        "reddit",
        "github",
        "producthunt"
    ],
    "googleGeo": "US"
};

// Run the Actor and wait for it to finish
const run = await client.actor("miccho27/trends-aggregator").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 = {
    "sources": [
        "google",
        "hackernews",
        "reddit",
        "github",
        "producthunt",
    ],
    "googleGeo": "US",
}

# Run the Actor and wait for it to finish
run = client.actor("miccho27/trends-aggregator").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 '{
  "sources": [
    "google",
    "hackernews",
    "reddit",
    "github",
    "producthunt"
  ],
  "googleGeo": "US"
}' |
apify call miccho27/trends-aggregator --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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