> ## 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.

# News Headline Search API

> Search global news coverage by headline keywords and get the newest matching articles with publish time, language and source.

`POST /v1/data/news/mentions/run`

**Pricing:** $0.0045 per article ($4.50 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*

One or more keywords or phrases to find in article headlines, combined with AND.

**language** `string`

Restrict results to articles in this two-letter language code, e.g. en or de.

**maxResults** `integer` (default: 50)

How many articles to return in total. Defaults to 50; use 0 for all.

Max `100`.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/news/mentions/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "query": [
      "Boeing"
    ],
    "maxResults": 10
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/news/mentions/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "query": [
        "Boeing"
    ],
    "maxResults": 10
}},
)
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/news/mentions/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "query": [
    "Boeing"
  ],
  "maxResults": 10
} }),
});
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 article, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `title` | Title | text |
| `url` | Url | url |
| `publishedAt` | Published At | datetime |
| `language` | Language | text |
| `siteName` | Site Name | text |
| `siteCountry` | Site Country | text |
| `siteRank` | Site Rank | integer |
| `query` | Query | text |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "news/mentions",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "publishedAt": "2026-11-06T12:59:14Z",
      "siteCountry": "Ghana",
      "url": "https://www.peacefmonline.com/article/408894-mahama-boeing-agree-roadmap-for-ghanas-new-national-airline",
      "title": "Mahama, Boeing Agree Roadmap For Ghana's New National Airline",
      "language": "en",
      "siteName": "Peace FM Online",
      "siteRank": 16504,
      "query": [
        "Boeing"
      ]
    }
  ]
}
```

## Related APIs

For Google News use [`google/news`](https://docs.mindcase.co/apis/google/news); for crypto-specific news use [`crypto/news`](https://docs.mindcase.co/apis/crypto/news).


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