# Get local news headlines for any city

**Use case:** 

Reads the Google News local headlines for Denver, Colorado and saves each article with headline, publisher, publish time and link. Useful for local marketing, real estate and community newsletters, city dashboards or tracking local coverage. Swap in any city, region or country name.

## Input

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "locations": [
    "Denver"
  ],
  "includeTopStories": false,
  "edition": "US:en",
  "timeRange": "1d",
  "strictDateFilter": true,
  "maxItemsPerQuery": 20,
  "maxDaysBack": 30,
  "sortBy": "newest",
  "deduplicate": true,
  "resolveOriginalUrl": false,
  "fetchArticleDetails": false,
  "maxArticleTextChars": 30000,
  "respectRobotsTxt": true,
  "maxConcurrency": 4,
  "requestDelaySecs": 1,
  "resolveDelaySecs": 3,
  "publisherDelaySecs": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "recordType": {
    "label": "Type",
    "format": "text"
  },
  "query": {
    "label": "Query or feed",
    "format": "text"
  },
  "position": {
    "label": "#",
    "format": "number"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "sourceName": {
    "label": "Source",
    "format": "text"
  },
  "publishedAt": {
    "label": "Published (UTC)",
    "format": "date"
  },
  "snippet": {
    "label": "Snippet",
    "format": "text"
  },
  "originalUrl": {
    "label": "Publisher URL",
    "format": "link"
  },
  "googleNewsUrl": {
    "label": "Google News link",
    "format": "link"
  },
  "resolveStatus": {
    "label": "URL resolve",
    "format": "text"
  },
  "articleStatus": {
    "label": "Page fetch",
    "format": "text"
  },
  "articleAuthor": {
    "label": "Author",
    "format": "text"
  },
  "articleWordCount": {
    "label": "Words",
    "format": "number"
  },
  "sourceDomain": {
    "label": "Source domain",
    "format": "text"
  },
  "edition": {
    "label": "Edition",
    "format": "text"
  },
  "errorType": {
    "label": "Error",
    "format": "text"
  },
  "message": {
    "label": "Error message",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google News Scraper: Search, Topics, Real URLs, Full Text Actor is ready to run with the inputs already set for "Get local news headlines for any city". [Sign up or log in](https://console.apify.com/create-task-from-example/HxIhuEXxhkKNfPBIB) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get local news headlines for any city" task

The Google News Scraper: Search, Topics, Real URLs, Full Text Actor will start running based on the input automatically. You can also change all the input fields, like search queries, local news (places), and more, to match your specific use case.

### 3. Receive the "Get local news headlines for any city" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as type, query or feed, #, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Get local news headlines for any city" task via API](https://apify.com/zhtech/google-news-scraper.md).

## FAQ

### What does the local news headlines task return?

The local news headlines task saves one row per article from the Google News local section: position, headline, publisher name, website and domain, publish date and time and the Google News link.

### How do I get news for my city?

In the local news headlines task, replace Denver with your city, region or country, one per line. Set Edition to your country and language, for example GB:en for UK cities.

### Can I get the full article text?

The local news headlines task can open each publisher page with Fetch article text and metadata (text, authors, image) and turn links into publisher URLs with Resolve original article URL, each billed as a small extra event.

### Can I schedule the local news headlines task?

The local news headlines task can run every morning on an Apify schedule and feed a newsletter, Slack channel or website through the Apify API, Zapier, Make or n8n.

### How much does the local news headlines task cost?

The local news headlines task uses pay per event pricing: a tiny start fee plus a fixed price per article saved, with no charge for compute time. Small runs like this fit the Apify free plan credit.

## About this Actor

This example demonstrates how to use [Google News Scraper: Search, Topics, Real URLs, Full Text](https://apify.com/zhtech/google-news-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhtech/google-news-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zhtech/google-news-scraper.md

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`).
