# Google News

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

**Pricing:** $1 / 1k news

**Endpoint:** `POST /api/v1/agents/google/news/run`

**Auth:** `Authorization: Bearer mk_live_...`

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | Yes | What to search for in Google News. |
| `maxResults` | integer | No | Number of news articles to return. Use 0 for all. |
| `timeframe` | string | No | How far back to look. Leave blank for no limit. |
| `region_language` | string | No | Country market and article language — the two go together (Google News only supports these specific combinations). Defaults to US English. |

## Example

```bash
curl -X POST https://api.mindcase.co/api/v1/agents/google/news/run \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"query":"..."}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/api/v1/agents/google/news/run",
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {
    "query": "..."
}},
)
data = resp.json()
```

## Get the results

`run` is async and returns a `job_id`. Poll until `status` is `completed`, then read the rows:

```bash
# 1) check status
curl https://api.mindcase.co/api/v1/jobs/JOB_ID \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"

# 2) when status == completed, fetch the rows
curl https://api.mindcase.co/api/v1/jobs/JOB_ID/results \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"
```

Full API reference (auth, jobs, balance, endpoints): https://mindcase.co/skills.md

## Response columns

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