# News and Media Mention Monitor (`mambalabs/news-media-mention-monitor`) Actor

Watch Google News for your company, competitors, people, or topics. One row per article with outlet, date, headline sentiment, and the publisher's own URL and domain. Run it on a schedule to get only articles you have not seen before. No key needed. Clay ready.

- **URL**: https://apify.com/mambalabs/news-media-mention-monitor.md
- **Developed by:** [Mamba Labs](https://apify.com/mambalabs) (community)
- **Categories:** News, Lead generation, Marketing
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.96 / 1,000 article returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## News and Media Mention Monitor

Watch Google News for your company, your competitors, people, or any topic. Enter the search terms, and get one row per article: the headline, the outlet, the date, the publisher's own URL and domain, and a headline sentiment label.

Run it on a schedule with `only_new` on, and each run returns only the articles it has not returned before. An article you already have is skipped and not charged.

Rows are flat and snake_case, so they load straight into a spreadsheet, a CRM, a Slack alert, or a Clay table.

### ✨ Features

- **Search terms in, articles out.** Company names, brands, people, or topics; up to 50 per run. Google News search words work, such as quotes for an exact phrase, `OR`, and `site:`.
- **The publisher's own URL.** Google News hands out news.google.com links. This actor turns each one into the publisher's real article URL and domain, so you can open, dedupe, and filter by outlet.
- **Only new articles.** With `only_new` on, a run skips every article an earlier run with the same `state_key` returned. The memory lives in a key-value store in your own Apify account.
- **One row per article.** An article found by two of your search terms comes back once, with both terms in `matched_queries`.
- **Headline sentiment.** `positive`, `negative`, `mixed`, or `neutral` from a fixed word list, so the same headline always gets the same label.
- **30 country editions and any language code.** Default US English.
- **No key, no login.** Public Google News pages only.

### 📥 Input

| Field | Type | Description |
|---|---|---|
| `queries` | list | 1 to 50 search terms. Required |
| `exclude_terms` | list | Up to 20 words to leave out of every search |
| `since_days` | string | Days back, 1 to 90. Default 7 |
| `country` | string | Google News country edition, two letters. Default US |
| `language` | string | Language code, for example `en`, `de`, `pt-419`. Default `en` |
| `resolve_publisher_url` | string | `true` (default) or `false` |
| `only_new` | string | `true` (default) or `false` |
| `state_key` | string | Name for this watch list, for example `acme-weekly`. Empty: made from the search terms, country, and language |
| `max_articles` | string | Most articles per search term, 1 to 100, newest first. Default 50 |
| `max_charge_usd` | string | Optional cap on this run's cost |

Example:

```json
{ "queries": ["\"Acme Robotics\"", "\"warehouse robots\""], "since_days": "7", "state_key": "acme-weekly" }
```

### 📤 Output

One row per article. Every row carries every field; a field that does not apply is null.

| Field | Example | Notes |
|---|---|---|
| `title` | `Claygent auto-mode: The right model for every task` | Headline, without the outlet name Google appends |
| `outlet`, `outlet_domain` | `Clay`, `clay.com` | From Google News, filled on every article row |
| `published_at` | `2026-10-26T21:29:23.000Z` | UTC |
| `publisher_url`, `publisher_domain` | `https://www.clay.com/blog/automode-for-claygent`, `clay.com` | The article on the publisher's own site |
| `publisher_url_status` | `resolved` | `resolved`, `not_resolved`, or `off` |
| `google_url` | `https://news.google.com/rss/articles/CBMi...` | |
| `sentiment` | `neutral` | Read on the headline only |
| `is_new` | `true` | No earlier run with this `state_key` returned it |
| `query`, `matched_queries` | `"Clay" GTM` | The search terms that found it |
| `article_id` | `CBMiXkFVX3lxTE1h...` | Google News's stable id. Use it to dedupe |
| `country`, `language`, `since_days` | `US`, `en`, `7` | The search settings |
| `row_type`, `row_status` | `article`, `ok` | |
| `error_reason` | | Why a summary row has no article |
| `billable_events_json` | `{"article-row":1}` | What the row was billed as; `{}` is free |
| `source`, `checked_at` | `google_news` | |

When a run returns no article, it returns one free `summary` row instead: `no_results` (nothing matched), `no_new` (everything matched was returned before), or `blocked` (Google News did not answer), with `articles_found` and `articles_returned`.

### 📏 Measured results

Measured on the private build on 2026-10-28, before launch:

| Run | Search terms | Articles returned | Publisher URL resolved | Run time |
|---|---:|---:|---:|---:|
| Prefill, 7 days | 1 | 5 | 5 of 5 | 3 s |
| Five company and topic terms, 14 days | 5 | 94 | 92 of 94 | 42 s |
| The prefill again with `only_new` on | 1 | 0 (one free `no_new` row) | | 2 s |

### 💵 Pricing

Pay per event. You pay for each article returned, plus a small start fee per run.

| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| Article returned (`article-row`), per article | $0.0023 ($2.30 per 1,000) | $0.002185 ($2.19 per 1,000) | $0.00207 ($2.07 per 1,000) | $0.001955 ($1.96 per 1,000) |
| Actor start (`apify-actor-start`), per run | $0.0015 | $0.0015 | $0.0015 | $0.0015 |

- An article skipped by `only_new` is not charged. A summary row is free, and so is the row for a refused input; the start fee is charged on every run that starts.
- An article whose publisher URL could not be resolved is still charged, because the headline, outlet, date, and Google News link are delivered. `publisher_url_status` says `not_resolved`.
- A run stops before any charge that would pass `max_charge_usd`, and at the maximum cost per run you set in Apify.
- Free Apify plan: 1.50 USD of evaluation a month for this actor, which is 652 articles at the free plan price. Any paid Apify plan removes the cap.
- The events above are all you pay. Mamba Labs pays the platform costs of your run, Apify proxy traffic included.

### 🚀 Usage examples

**Weekly competitor watch.** Schedule this input every Monday. Each run returns only that week's new articles.

```json
{ "queries": ["\"Gong\"", "\"Outreach.io\"", "\"Salesloft\""], "since_days": "7", "state_key": "competitors-weekly" }
```

**Leave out a name clash.**

```json
{ "queries": ["\"Mercury\" bank"], "exclude_terms": ["planet", "Freddie"], "since_days": "14" }
```

**Clay.** Call the actor from a Clay column with your company name column mapped to `queries`. Clay sends every field as a string, which this actor accepts.

**API.** `POST https://api.apify.com/v2/acts/mambalabs~news-media-mention-monitor/runs` with the input above, then read the default dataset.

**MCP.** The `@mambalabsdev/mcp-news-media-mention-monitor` server exposes the tool `monitor_news_mentions` to AI agents.

### 🔗 Calling this actor from another actor

Mamba Labs actors that need news call this actor by its Actor ID, `gol1PPUKrsIk4QLBd`, and read its default dataset. The input fields above and the output field names are stable: a rename is a breaking change and is announced first. Read `row_type` first: only `article` rows are articles. `article_id` is the dedupe key, and `publisher_url` is null when `publisher_url_status` is not `resolved`.

### ⚠️ Error handling

| Situation | What you get |
|---|---|
| Input with no usable search term, or a value of the wrong kind | One free row, `row_status` `error`, `error_reason` starting with `input_invalid:`. The run succeeds. No article is charged; the run start fee (`apify-actor-start`) applies, because Apify charges it when the run starts. A missing or empty `queries` list gets the same row |
| Nothing matched in the window | One free summary row, `no_results` |
| Everything matched was returned before | One free summary row, `no_new` |
| Google News did not answer for any term | One free summary row, `blocked` |
| A publisher URL could not be resolved | The article row is returned with `publisher_url_status` `not_resolved` |
| Anything else | One free summary row, `error`, with the reason |

### ⚠️ Limitations

- Google News returns at most 100 articles per search term, so a very broad term inside a long window is cut at 100. Narrow the term or the window.
- Google News decides what counts as a match. A short or common name matches unrelated stories; put it in quotes and add a word, or use `exclude_terms`.
- The publisher URL comes from a call Google News's own article page makes. Google can change it without notice; when it fails, the row says `not_resolved` and keeps the Google News link.
- Sentiment reads the headline only, with a fixed word list. It is a sorting aid, not a judgment of the article.
- Article text and author are not read. The Mamba Labs [Journalist and Media List Builder](https://apify.com/mambalabs/journalist-media-list-builder?fpr=mamba) reads bylines.

### 🧩 Want other GTM data?

Mamba Labs builds custom actors for B2B go-to-market teams. The public versions of that work live here on the Store.

| Actor | Actor ID |
|---|---|
| [Account Hiring Watch](https://apify.com/mambalabs/account-hiring-watch?fpr=mamba) | `gRAZA5WBi1r6L0gy7` |
| [Agent Accessibility Auditor](https://apify.com/mambalabs/agent-accessibility-auditor?fpr=mamba) | `anxbRv0lKrpQ1pnua` |
| [Agent to Brokerage Resolver](https://apify.com/mambalabs/agent-brokerage-resolver?fpr=mamba) | `ePRRGLxOGyaVHO4dI` |
| [AI Tooling Detector](https://apify.com/mambalabs/ai-tooling-detector?fpr=mamba) | `EwkHhmqiuJgRoVEbE` |
| [B2B Reddit Conversation Monitor](https://apify.com/mambalabs/b2b-reddit-conversation-monitor?fpr=mamba) | `SoDryzzsjmY3SsiyG` |
| [Bluesky Brand Presence Mapper](https://apify.com/mambalabs/bluesky-brand-presence-mapper?fpr=mamba) | `eLpxzP4IuXznlFVND` |
| [Career Change Signal Engine](https://apify.com/mambalabs/career-change-signal-engine?fpr=mamba) | `vX2Yga1a6wGaXaP14` |
| [Company Change Event Feed](https://apify.com/mambalabs/company-change-event-feed?fpr=mamba) | `oX44rS0fkEJ3rXLWe` |
| [Company Contact Details Extractor](https://apify.com/mambalabs/company-contact-details-extractor?fpr=mamba) | `4mMncKaJykiq94grz` |
| [Company Discovery List Builder](https://apify.com/mambalabs/company-discovery-list-builder?fpr=mamba) | `jch0HdaZnpbMqlcGS` |
| [Company Firmographic Enricher](https://apify.com/mambalabs/company-firmographic-enricher?fpr=mamba) | `YlUtLWjfPpqykmB8g` |
| [Company Funding Record](https://apify.com/mambalabs/funding-investor-record?fpr=mamba) | `OFS4Mt1gyYNtGfUbE` |
| [Company Headcount Estimator](https://apify.com/mambalabs/company-headcount-estimator?fpr=mamba) | `aHC4GROnNt6kfZe5r` |
| [Company Identity Resolver](https://apify.com/mambalabs/company-identity-resolver?fpr=mamba) | `lr8fTRAmZCBZmuwwh` |
| [Company Social Presence Mapper](https://apify.com/mambalabs/company-social-presence-mapper?fpr=mamba) | `4k6CCemkgBDz18m2h` |
| [Competitor Price, Stock, and Changelog Monitor](https://apify.com/mambalabs/competitor-price-stock-changelog-monitor?fpr=mamba) | `yxdgCbUQ4PYQWwRNU` |
| [Contact Classifier](https://apify.com/mambalabs/contact-classifier?fpr=mamba) | `0lGSeYJmniXhGANnO` |
| [Contractor License Lookup](https://apify.com/mambalabs/contractor-license-lookup?fpr=mamba) | `WBYK3CPI2kdeq4bP1` |
| [Cookie Consent Audit](https://apify.com/mambalabs/cookie-consent-audit?fpr=mamba) | `TrKyOS0KBoGC35nbr` |
| [Domain Deliverability Checker](https://apify.com/mambalabs/domain-deliverability-checker?fpr=mamba) | `0tVgxI7A6o9jMlxmc` |
| [Domain to LinkedIn URL Resolver](https://apify.com/mambalabs/domain-to-linkedin-url-resolver?fpr=mamba) | `3HtnSaqPHOg1Qg5gx` |
| [Ecommerce Platform Profiler](https://apify.com/mambalabs/ecommerce-platform-profiler?fpr=mamba) | `5G2NeYjBbQTjaTn9L` |
| [Ecommerce Store Discovery](https://apify.com/mambalabs/ecommerce-store-discovery?fpr=mamba) | `PeHu4sLyFvQHXUUrX` |
| [Event Presence Index](https://apify.com/mambalabs/event-presence-index?fpr=mamba) | `WLhMy8fMDgsxdYxv5` |
| [Expert Witness Directory](https://apify.com/mambalabs/expert-witness-directory?fpr=mamba) | `LIpwlgfE3LaQBaXd4` |
| [Funding and Press Signal Scanner](https://apify.com/mambalabs/funding-press-signal-scanner?fpr=mamba) | `FS13X6dhQVgX3XOM6` |
| [GitHub Organization Signal Scanner](https://apify.com/mambalabs/github-organization-signal-scanner?fpr=mamba) | `ahF8RRpv5mzPao5CN` |
| [Google Ads Transparency Monitor](https://apify.com/mambalabs/google-ads-transparency-monitor?fpr=mamba) | `1eOwxhBVxzvOXAm4s` |
| [Government Contract Award Monitor](https://apify.com/mambalabs/public-award-monitor?fpr=mamba) | `zhEtllASykOcx9hJ8` |
| [GTM Hiring Signal Scraper](https://apify.com/mambalabs/gtm-hiring-signal-scraper?fpr=mamba) | `D7O1SA2EqwHGsGr1P` |
| [GTM Signals Aggregator](https://apify.com/mambalabs/b2b-buying-signals-hiring-tech-stack-intent-for-clay?fpr=mamba) | `xKdRfnfFNkdMpFuNs` |
| [ICP Fit Scorer](https://apify.com/mambalabs/icp-account-lead-scoring-fit-scorer-0-100-for-clay?fpr=mamba) | `W161DT8W4kW55dMFh` |
| [Influencer Change Monitor](https://apify.com/mambalabs/creator-change-monitor?fpr=mamba) | `d2VVgahNL6UmcLkhg` |
| [Influencer Finder](https://apify.com/mambalabs/creator-finder?fpr=mamba) | `tpkedmloIIWtXx6sg` |
| [Influencer Lead List Builder](https://apify.com/mambalabs/creator-lead-list-all-in-one?fpr=mamba) | `KnmByszcv135yM30G` |
| [Influencer Profile Scraper](https://apify.com/mambalabs/creator-profile-reader?fpr=mamba) | `EqEnklDVMIcB1V499` |
| [Influencer Talent Agency Lookup](https://apify.com/mambalabs/talent-agency-lookup?fpr=mamba) | `zCuX4Mgyg6JvXgGzd` |
| [Instagram Facebook Brand Presence Mapper](https://apify.com/mambalabs/meta-brand-presence-mapper?fpr=mamba) | `HXh65I0JBjPsunbY8` |
| [Integration and Marketplace Presence Mapper](https://apify.com/mambalabs/integration-marketplace-presence-mapper?fpr=mamba) | `V0guNuvM85Q61f2gj` |
| [Job Board Keyword Signal Scanner](https://apify.com/mambalabs/job-board-keyword-signal-scanner?fpr=mamba) | `4DvqpvhMR74NLcDDY` |
| [Job Change Tracker](https://apify.com/mambalabs/job-change-tracker?fpr=mamba) | `L8UbEmMJC1XYPSZOb` |
| [Job Posting Monitor](https://apify.com/mambalabs/gtm-job-discovery?fpr=mamba) | `QCfICD9kOPiOdj5iI` |
| [Legal Entity Resolver](https://apify.com/mambalabs/legal-entity-resolver?fpr=mamba) | `KHFyPCDIx7CyqULYm` |
| [Link in Bio Scraper and Newsletter Detector](https://apify.com/mambalabs/link-in-bio-newsletter-checker?fpr=mamba) | `OorucdheTIgu7RFzK` |
| [LinkedIn Company Page Mapper](https://apify.com/mambalabs/linkedin-company-presence-mapper?fpr=mamba) | `zOPm6A9JEhUGcIdFW` |
| [LinkedIn Post Tracker](https://apify.com/mambalabs/linkedin-post-engager-capture?fpr=mamba) | `oiGLNPuaf5BRaz9K5` |
| [Local Business Lead Builder](https://apify.com/mambalabs/local-business-lead-builder?fpr=mamba) | `qMN97aoHhsAS5bznV` |
| [Local Rank and Map Pack Tracker](https://apify.com/mambalabs/local-rank-map-pack-tracker?fpr=mamba) | `gv0kyHGDIg8XscclB` |
| [Lookalike Company Finder](https://apify.com/mambalabs/lookalike-company-finder?fpr=mamba) | `e2O426WBAbLLQL4Z2` |
| [Manufacturer and Supplier Finder](https://apify.com/mambalabs/manufacturer-supplier-finder?fpr=mamba) | `Qcsdmd0lUfPzVkonh` |
| [Meta Ad Library Monitor](https://apify.com/mambalabs/meta-ad-library-monitor?fpr=mamba) | `J1GWlSXfSGU3u8Wng` |
| [Mobile Phone Waterfall](https://apify.com/mambalabs/mobile-phone-waterfall-orchestrator?fpr=mamba) | `6OOgPktf7RIa5XCOP` |
| [New Company Registrations Feed](https://apify.com/mambalabs/new-company-registrations-feed?fpr=mamba) | `g2WfZhWvCtc57g2Jo` |
| [New Hire Finder](https://apify.com/mambalabs/new-hire-finder?fpr=mamba) | `cKuc38p4nYHNF3IW8` |
| [Newsletter Sponsor Tracker](https://apify.com/mambalabs/newsletter-sponsor-tracker?fpr=mamba) | `qSwpqxD1TiPZpLQHv` |
| [Open Tender and RFP Finder](https://apify.com/mambalabs/open-tender-rfp-finder?fpr=mamba) | `kPTGz6t6TFoUUyfaO` |
| [Outbound Stack Detector](https://apify.com/mambalabs/outbound-infrastructure-fingerprint?fpr=mamba) | `v43UJC8r7qW7cBSTG` |
| [Page Finder and Extractor](https://apify.com/mambalabs/page-finder-extractor?fpr=mamba) | `TpurgcOZbVnknlaiC` |
| [Partner and Member Directory Extractor](https://apify.com/mambalabs/partner-member-directory-extractor?fpr=mamba) | `ZX0XJPPUvnFJxeC1a` |
| [People Finder & Email Verifier](https://apify.com/mambalabs/people-finder?fpr=mamba) | `LEgloG7tWgQl4o6TD` |
| [Person LinkedIn URL Resolver](https://apify.com/mambalabs/person-linkedin-url-resolver?fpr=mamba) | `ssuyPV8LnEsL8qbnb` |
| [Person Social Footprint Mapper](https://apify.com/mambalabs/person-social-footprint-mapper?fpr=mamba) | `jfQXa2zW9FHCJot9K` |
| [Personal Email to Company Resolver](https://apify.com/mambalabs/personal-email-to-company-resolver?fpr=mamba) | `AefT5Ye6YNPFQwJBf` |
| [Pinterest Brand Presence Mapper](https://apify.com/mambalabs/pinterest-brand-presence-mapper?fpr=mamba) | `d1HvjZfKhgvWsoEwn` |
| [Podcast Guest and Host Finder](https://apify.com/mambalabs/podcast-guest-host-finder?fpr=mamba) | `o2MGSvgbSLeeXOsIo` |
| [Prospect Engine](https://apify.com/mambalabs/b2b-prospect-engine?fpr=mamba) | `q9rT6v64nUJdPexOQ` |
| [Public Feature Board and Roadmap Monitor](https://apify.com/mambalabs/public-feature-board-roadmap-monitor?fpr=mamba) | `rcHF5gj5r2Vqnry35` |
| [Publishing Frequency Tracker](https://apify.com/mambalabs/blog-publishing-frequency?fpr=mamba) | `TbLwaUUATdYb6wp4N` |
| [Reddit Brand Presence Mapper](https://apify.com/mambalabs/reddit-brand-presence-mapper?fpr=mamba) | `pKQZmDaT70SEb54bZ` |
| [Reporting Window Finder](https://apify.com/mambalabs/public-company-reporting-window-finder?fpr=mamba) | `uINxR7a1IW8qUTRUX` |
| [Sequencer Event Poller](https://apify.com/mambalabs/sequencer-event-poller?fpr=mamba) | `S6s8Rjd61tGdrMRk4` |
| [Sequencer Lead Push](https://apify.com/mambalabs/clay-to-instantly-smartlead-push?fpr=mamba) | `0Jv27VeWM5tSZQs9x` |
| [Team Page People Extractor](https://apify.com/mambalabs/team-page-people-extractor?fpr=mamba) | `j8a9zX0k4mNbvDbWK` |
| [Tech Stack Signal Detector](https://apify.com/mambalabs/gtm-tech-stack-signal-scraper?fpr=mamba) | `qyd7nNyqFPelQViBx` |
| [TikTok Brand Presence Mapper](https://apify.com/mambalabs/tiktok-brand-presence-mapper?fpr=mamba) | `fco8FvoJcSafbeyd1` |
| [Trustpilot Reputation Enricher](https://apify.com/mambalabs/review-platform-reputation-enricher?fpr=mamba) | `3lIqfCt61j4hqE1xz` |
| [VC and Accelerator Portfolio List Builder](https://apify.com/mambalabs/vc-accelerator-portfolio-list-builder?fpr=mamba) | `chH8hrfuoqqolW06m` |
| [WCAG Accessibility Audit](https://apify.com/mambalabs/wcag-accessibility-audit?fpr=mamba) | `P3jBj3FRghKEhX52z` |
| [Website Phrase and Business Model Classifier](https://apify.com/mambalabs/website-phrase-business-model-classifier?fpr=mamba) | `CBuZ9k7sRwBeiKiCS` |
| [Website Traffic Rank Estimator](https://apify.com/mambalabs/website-traffic-rank-estimator?fpr=mamba) | `GnOFUzlNVIoXgeJjH` |
| [Work Email Waterfall](https://apify.com/mambalabs/email-waterfall-orchestrator?fpr=mamba) | `OT6xqTFThC0Rjf7Zj` |
| [Workplace Program Detector](https://apify.com/mambalabs/workplace-program-detector?fpr=mamba) | `Li6pPDhqbdzFz3h7G` |
| [X Brand Presence Mapper](https://apify.com/mambalabs/x-brand-presence-mapper?fpr=mamba) | `oLOgadhHUkNAyDA3w` |
| [YouTube Channel Stats Extractor](https://apify.com/mambalabs/youtube-channel-transcript-extractor?fpr=mamba) | `6hSpD3kd2s2IQ4VSs` |

> Every actor in the suite takes a domain, a company, or a person and returns flat rows, so they stack in the same table without reshaping anything.

> 🛠️ **Need something custom built?** [Talk to Mamba Labs](https://mambabuilt.com/contact).

### 🆘 Support

Found a bug? Open an issue on the **Issues** tab. Response time is typically within 48 hours.

> ℹ️ **Sourcing.** Articles come from public Google News search pages; publisher URLs come from Google News's own article pages. No key, no login. You are responsible for how you use the output.

Built by [Mamba Labs](https://apify.com/mambalabs?fpr=mamba).

# Actor input Schema

## `queries` (type: `array`):

1 to 50 company names, brands, people, or topics. Each one is a Google News search. Put a phrase in double quotes for an exact match, for example "Acme Robotics". Google News search words work too, such as OR and site:techcrunch.com.

## `exclude_terms` (type: `array`):

Optional, up to 20. An article whose headline or text Google matches with one of these words is left out of every search, for example a person or product that shares your company's name.

## `since_days` (type: `string`):

How many days back to search, from 1 to 90. Default 7.

## `country` (type: `string`):

The Google News country edition, as a two letter code. Default US.

## `language` (type: `string`):

The language code of the edition, for example en, de, fr, es, or pt-419. Default en.

## `resolve_publisher_url` (type: `string`):

true (default): each article's news.google.com link is turned into the publisher's own URL and domain. false: faster, and publisher_url stays empty. The price is the same either way.

## `only_new` (type: `string`):

true (default): an article returned by an earlier run with the same state key is skipped and not charged. false: every matching article is returned, with is_new saying whether it is new.

## `state_key` (type: `string`):

Optional. A name for this watch list, for example acme-weekly. Runs with the same key share one memory of returned articles. Empty: the key is made from the search terms, country, and language. The memory is kept in a key-value store in your own Apify account.

## `max_articles` (type: `string`):

From 1 to 100. Default 50. Newest articles first.

## `max_charge_usd` (type: `string`):

Optional. The run stops before any charge that would pass this amount and keeps the rows already returned.

## `source_tag` (type: `string`):

Internal attribution tag. Leave empty.

## Actor input object example

```json
{
  "queries": [
    "\"Clay\" GTM"
  ],
  "since_days": "7",
  "country": "US",
  "language": "en",
  "resolve_publisher_url": "true",
  "only_new": "true",
  "max_articles": "5"
}
```

# Actor output Schema

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

No description

## `run_summary` (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 = {
    "queries": [
        "\"Clay\" GTM"
    ],
    "max_articles": "5"
};

// Run the Actor and wait for it to finish
const run = await client.actor("mambalabs/news-media-mention-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 = {
    "queries": ["\"Clay\" GTM"],
    "max_articles": "5",
}

# Run the Actor and wait for it to finish
run = client.actor("mambalabs/news-media-mention-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 '{
  "queries": [
    "\\"Clay\\" GTM"
  ],
  "max_articles": "5"
}' |
apify call mambalabs/news-media-mention-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mambalabs/news-media-mention-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/gol1PPUKrsIk4QLBd/builds/4ihutUngaUDQsMvuW/openapi.json
