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

# Crypto News API

> Returns recent crypto news articles with project tagging across major publishers, filterable by project, source, date range or keyword.

`POST /v1/data/crypto/news/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*

Keyword or phrase to search crypto news for, e.g. bitcoin ETF.

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

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

Max `100`.

## Example

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

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

r = requests.post(
    "https://api.mindcase.co/v1/data/crypto/news/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "query": "bitcoin ETF",
    "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/crypto/news/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "query": "bitcoin ETF",
  "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 |
| - | - | - |
| `articleId` | Article ID | text |
| `title` | Title | text |
| `summary` | Summary | text |
| `source` | Source | text |
| `url` | Url | url |
| `publishedAt` | Published At | datetime |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "crypto/news",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "summary": "Bloomberg’s Balchunas says DOJE and XRPR ETFs are expected to launch Thursday; both in the same effective prospectus; Trump and Bonk ETFs lack dates",
      "publishedAt": 1757947549,
      "articleId": "7f35fb37-65fa-442b-962d-c4db934bc98c",
      "url": "https://www.panewslab.com/en/articles/5b529d93-b2fc-46a2-aedb-de5e6ff8c0cf",
      "title": "Bloomberg ETF Analyst: Doge ETF and XRP ETF are expected to be launched this Thursday",
      "source": "PANEWS"
    }
  ]
}
```

## Related APIs

For general news use [`news/mentions`](https://docs.mindcase.co/apis/news/mentions); for project fundamentals use [`crypto/projects`](https://docs.mindcase.co/apis/crypto/projects).


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