> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Google News API

> Get Google News articles for any search query (headline, publisher, published date, link, and thumbnail) with region/language and date-range filters

`POST /v1/data/google/news/run`

**Pricing:** $0.002 per new ($2.00 per 1,000).

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**query** `string` *required*

What to search for in Google News.

**maxResults** `integer`

Number of news articles to return. Use 0 for all.

**timeframe** `string` (default: 7d)

How far back to look. Leave blank for no limit.

Allowed values: `1h` (Past hour), `1d` (Past day), `7d` (Past week), `1y` (Past year), `all` (All time).

**region\_language** `string` (default: US:en)

Country market and article language. The two go together (Google News only supports these specific combinations). Defaults to US English.

84 allowed values, for example `US:en` (United States - English), `GB:en` (United Kingdom - English), `AU:en` (Australia - English), `CA:en` (Canada - English), `IN:en` (India - English), `IE:en` (Ireland - English), `NZ:en` (New Zealand - English), `SG:en` (Singapore - English), `ZA:en` (South Africa - English), `PH:en` (Philippines - English). Fetch the full list with `GET /v1/data/google/news?expand=options`.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/google/news/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "maxResults": 100,
    "query": "artificial intelligence",
    "timeframe": "7d",
    "region_language": "US:en"
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/google/news/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "maxResults": 100,
    "query": "artificial intelligence",
    "timeframe": "7d",
    "region_language": "US:en"
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/google/news/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "maxResults": 100,
  "query": "artificial intelligence",
  "timeframe": "7d",
  "region_language": "US:en"
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one new, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `title` | Title | text |
| `source` | Source | text |
| `articleUrl` | Article URL | url |
| `publishedAt` | Published At | text |
| `publishedTimestamp` | Published Timestamp | number |
| `imageUrl` | Image URL | url |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "google/news",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "publishedTimestamp": 1786433458000,
      "publishedAt": "2026-08-11T07:30:58Z",
      "title": "Putting Armageddon on Autopilot: How Artificial Intelligence Could Make Nuclear Threats More Effective",
      "articleUrl": "https://warontherocks.com/putting-armageddon-on-autopilot-how-artificial-intelligence-could-make-nuclear-threats-more-effective/",
      "source": "War on the Rocks",
      "imageUrl": "https://news.google.com/api/attachments/CC8iL0NnNHpSakZuWjBZdFFsQnZYMk13VFJDZkF4ampCU2dLTWdrdEE0aXNUU05GQUFN=-w800-h400-p-df-rw"
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.