# Google News Headlines About AI — Last 24 Hours

**Use case:** 

Headlines from Google News about artificial intelligence published in the last 24 hours: title, publisher, publisher site, publish time and link. For journalists, analysts and communications teams following a topic. Change the query (Google operators such as quotes, OR and site: work), the country/language, or sinceHours, and schedule it for a daily digest.

## Input

```json
{
  "mode": "auto",
  "queries": [
    "artificial intelligence"
  ],
  "topic": "",
  "edition": "",
  "country": "US",
  "lang": "en",
  "sinceHours": 24,
  "useWhenOperator": true,
  "limit": 50,
  "maxItems": 50,
  "sort": "newest",
  "dedupe": true,
  "decodeUrls": false,
  "maxDecode": 20,
  "includeSnippet": true
}
```

## Output

```json
{
  "publishedAt": {
    "label": "Published (UTC)",
    "format": "string"
  },
  "source": {
    "label": "Publisher",
    "format": "string"
  },
  "title": {
    "label": "Headline",
    "format": "string"
  },
  "feed": {
    "label": "Feed / query",
    "format": "string"
  },
  "url": {
    "label": "Google link",
    "format": "string"
  },
  "articleUrl": {
    "label": "Publisher URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Google News Scraper — Headlines by Keyword, Topic, Country](https://apify.com/yadroo/google-news-search.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yadroo/google-news-search.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/yadroo/google-news-search.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`).
