News Aggregator AI Agent avatar

News Aggregator AI Agent

Try for free

This Actor is paid per event

Go to Store
News Aggregator AI Agent

News Aggregator AI Agent

harvestlabs/news-aggregator-ai-agent
Try for free

This Actor is paid per event

Scrapes and aggregates top news stories based on a given search query. It uses AI to extract the core topic from the query, fetch relevant articles, and compile a well-structured newsletter summarizing the most important stories.

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • No reviews yet

  • No bookmarks yet

  • Created in Mar 2025

  • Modified 18 hours ago

Categories

AI News Aggregator Actor

Overview

The AI News Aggregator is an Apify Actor that scrapes and aggregates top news stories based on a given search query. It uses AI to extract the core topic from the query, fetch relevant articles, and compile a well-structured newsletter summarizing the most important stories.

Features

  • Automated Topic Extraction: Uses AI to determine the most relevant topic from the user-provided query.
  • Web Scraping: Gathers articles from reputable news sources.
  • Content Summarization: Extracts key points from each article to create a concise, easy-to-read newsletter.
  • Formatted Output: Returns results in a structured JSON format or as a ready-to-send email template.

How It Works

  1. User Input: Provide a search query (e.g., "latest in AI research").
  2. Topic Identification: The AI extracts the primary topic from the query.
  3. News Collection: The actor scrapes and retrieves top news stories related to the extracted topic.
  4. Summarization & Structuring: Summaries are generated, and a newsletter is created.
  5. Output: The final newsletter is returned in JSON or HTML format.

Input Parameters

The actor expects the following input JSON:

1{
2    "OPENAI_API_KEY": "", //optional
3    "newsRequest": "What's going on with the USA tariffs?"
4}

Parameters:

  • newsRequest (string, required): The search term or phrase for which to fetch news.
  • OPENAI_API_KEY (string, optional): The OpenAI API key to use for summarization. You will be charged for usage if you don't provide your own key.

Output Format

Be sure to check the "Storage > Key-value store output tab for the HTML/MD report files.

HTML Newsletter The HTML content can be directly copied into an email message body to have a perfectly structed newsletter ready to send. HTML Newsletter

JSON Output:

1{
2  "topic": "What's going on with the USA tariffs?",
3  "articles": [
4    {
5        "title": "Trump vows to take back 'stolen' wealth as tariffs on steel and aluminum imports go into effect",
6        "source": "AP News",
7        "link": "https://apnews.com/article/e5a6295577275045db3484b71c979bfb?utm_source=openai",
8        "summary": "On March 12, 2025, President Trump announced new tariffs of 25% on all steel and aluminum imports as part of his economic strategy."
9    },
10    ...
11  ]
12}

HTML Output:

The HTML output is a fully formatted newsletter ready for email distribution.

1### Running on Apify
21. Deploy the actor to Apify.
32. Provide input via Apify’s web UI or API.
43. Retrieve results via Apify’s dataset API.
5
6## Use Cases
7- **Daily News Digests**: Automate newsletter creation for specific industries or interests.
8- **Market Research**: Track trends in technology, finance, or politics.
9- **Content Aggregation**: Generate curated content for blogs or social media.