> For the complete documentation index, see [llms.txt](https://ottodata.gitbook.io/ottodata-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ottodata.gitbook.io/ottodata-docs/api-reference/news-events.md).

# News events

## News events

Machine-readable market news: each item keyword-classified, importance-scored and symbol-tagged. Sources: Tree News (crypto-fast) and Marketaux (equities).

### `GET /v1/events`

| Parameter        | Type   | Default | Notes                                    |
| ---------------- | ------ | ------- | ---------------------------------------- |
| `symbols`        | string | —       | comma-separated, e.g. `NVDA,BTC`         |
| `event_type`     | string | —       | see table below                          |
| `min_importance` | int    | 0       | 0–100                                    |
| `since_ms`       | int    | —       | only events after this Unix-ms timestamp |
| `limit`          | int    | 100     | max 500                                  |

```bash
curl "https://api.ottodata.app/v1/events?symbols=NVDA&min_importance=50"
```

```json
{
  "events": [
    {
      "id": "treenews:1784189939518IIvRaACGcpaf",
      "ts_ms": 1784189939518,
      "source": "treenews",
      "source_name": "IO",
      "title": "IO vs RunPod and Alternatives: Comparing GPU cloud pricing…",
      "url": "https://…",
      "symbols": ["IO"],
      "asset_class": "unknown",
      "event_type": "general",
      "importance": 15,
      "sentiment": null
    }
  ]
}
```

### Event types

| Type          | Examples                      |
| ------------- | ----------------------------- |
| `listing`     | exchange listings             |
| `hack`        | exploits, security incidents  |
| `regulation`  | SEC/regulatory actions        |
| `earnings`    | earnings reports and guidance |
| `etf`         | ETF approvals, flows          |
| `partnership` | integrations, partnerships    |
| `macro`       | rates, CPI, macro prints      |
| `liquidation` | large liquidations            |
| `stablecoin`  | depegs, issuance news         |
| `general`     | everything else               |

`importance` (0–100) is a deterministic keyword-based score — higher means more market-moving vocabulary matched.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ottodata.gitbook.io/ottodata-docs/api-reference/news-events.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
