# Philippine News Monitor - Headlines by Keyword (`tonzzz-ccc/philippine-news-monitor`) Actor

Monitor Philippine news from public RSS feeds. Keyword filters, region tags, duplicate removal across outlets and a new-articles-only mode for scheduled runs.

- **URL**: https://apify.com/tonzzz-ccc/philippine-news-monitor.md
- **Developed by:** [Triston Molina](https://apify.com/tonzzz-ccc) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 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

## Philippine News Monitor

Track Philippine news by keyword from public RSS feeds. You get clean headlines, short summaries and links, with region tags, duplicate removal across outlets and a new-articles-only mode for scheduled runs.

### What you get

- Headlines, summary (up to 300 characters), source, author, category, image link, published time (UTC and Philippine time)
- **Keyword filter** (whole words and phrases) and **exclude keywords**
- **Region tags**: regions whose provinces or cities are named in the headline or summary
- **Duplicates removed** when the same story appears in several outlets or with tracking parameters
- **Only new since last run**: schedule it daily and get only fresh articles
- Add your own **RSS feed URLs**

### Input

| Field | Meaning |
|---|---|
| keywords / excludeKeywords | Filter on headline and summary |
| sources | Choose outlets, or leave empty for all |
| customFeeds | Extra RSS or Atom URLs |
| publishedWithinHours | Only recent articles |
| onlyNewSinceLastRun | Skip articles already seen |
| tagRegions | Add `regionsMentioned` |
| maxItems | Limit results |

### Output example

```json
{
  "source": "Philstar - Business",
  "title": "Philippines faces difficult mix of high inflation, sluggish growth, BSP",
  "url": "https://www.philstar.com/business/2026/11/12/2569657/...",
  "publishedAt": "2026-11-12T03:07:00.000Z",
  "publishedAtPh": "Nov 12, 2026, 11:07 AM",
  "summary": "The Bangko Sentral ng Pilipinas is focusing on the second-round effects of global supply shocks...",
  "matchedKeywords": ["inflation"],
  "regionsMentioned": [],
  "isNewSinceLastRun": true
}
```

### Notes

- Headlines, short summaries and links only. The full article text is not stored. Please read the articles at the source.
- Feeds are provided by the news outlets for syndication. Check each outlet's terms before using the data commercially.
- If a feed is down or has moved, it is skipped with a warning and the run continues.
- Region tags are keyword-based and can be wrong, for example for people named after places.
- Run `npm run check-feeds` locally to test every built-in feed.

# Actor input Schema

## `keywords` (type: `array`):

Only keep articles whose headline or summary contains at least one of these (whole words, case-insensitive). Phrases are allowed, for example "Bangko Sentral". Leave empty to keep everything.

## `excludeKeywords` (type: `array`):

Drop articles that contain any of these words.

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

Pick outlets. Leave empty to use all of them.

## `customFeeds` (type: `array`):

Add any other RSS or Atom feed, for example a local outlet or an agency news feed. Only use feeds you are allowed to use.

## `publishedWithinHours` (type: `integer`):

Only articles from the last N hours. 0 means no limit.

## `onlyNewSinceLastRun` (type: `boolean`):

Skip articles already seen in an earlier run. Best for scheduled runs.

## `tagRegions` (type: `boolean`):

Add the regions whose provinces or cities are named in the headline or summary.

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

Maximum articles to save. 0 means no limit.

## Actor input object example

```json
{
  "publishedWithinHours": 0,
  "onlyNewSinceLastRun": false,
  "tagRegions": true,
  "maxItems": 30
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `results` (type: `string`):

No description

# 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 = {
    "maxItems": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("tonzzz-ccc/philippine-news-monitor").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 = { "maxItems": 30 }

# Run the Actor and wait for it to finish
run = client.actor("tonzzz-ccc/philippine-news-monitor").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 '{
  "maxItems": 30
}' |
apify call tonzzz-ccc/philippine-news-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tonzzz-ccc/philippine-news-monitor"
        }
    }
}
```

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/uWqnSTzH2cisvg4OX/builds/3Boat1U9OFJwIZeWP/openapi.json
