# 获取新闻文章

**API:** Data API

**Endpoint:** `GET /v1/beta/financial/news`

**Tags:** Financial Data

单只股票的近期新闻标题：`title`、`source`、`date`、`url` 以及回显的 `ticker`，位于 `news` 数组中。`ticker` 和 `limit` 是仅有的参数——没有全文搜索，也没有日期筛选，因此请通过调高或调低 `limit` 来收窄范围，而不是用查询条件。用于了解你已识别公司的近期报道。仅有标题：不返回文章正文，请访问 `url` 获取。若需公司自身的备案文件而非媒体报道，请用 `get_financial_filings`。

### 计费参考

- 计量方式：按成功请求的固定成本计费。
- 参考请求估算：0.02 美元。
- 参考客户倍率：1.0。不得对已结算的客户金额再次应用。

仅供参考的元数据，不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | no | string |  |
| `ticker` | query | no | string |  |

## Responses

### 200 — 新闻文章响应

Headers:
- `X-Request-Id` (string) — 联系 Felo 支持时需提供的请求标识符。

**application/json**

Schema: `ResponseE40Feb4D3D6B_NewsResponse` (`#/components/schemas/ResponseE40Feb4D3D6B_NewsResponse`)

### 400 — 无法处理该请求。请检查请求参数。

### 401 — 需要有效的 Felo API 密钥。

### 402 — 由于未满足计费要求，请求无法继续。

### 403 — 该账户无权执行此操作。

### 429 — 已达到请求或支出限额。

### 502 — 服务无法完成该请求。

### 503 — API 或计费服务暂时不可用。

### 504 — 服务在处理请求时超时。

### default — 错误响应；上游透传响应可能采用提供方格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### ResponseE40Feb4D3D6B_News

`#/components/schemas/ResponseE40Feb4D3D6B_News`

```json
{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "股票代码。"
    },
    "title": {
      "type": "string",
      "description": "新闻文章的标题。"
    },
    "source": {
      "type": "string",
      "description": "新闻文章的来源。"
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "新闻文章的发布日期。"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "新闻文章的 URL。"
    }
  }
}
```

### ResponseE40Feb4D3D6B_NewsResponse

`#/components/schemas/ResponseE40Feb4D3D6B_NewsResponse`

```json
{
  "type": "object",
  "properties": {
    "news": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ResponseE40Feb4D3D6B_News"
      }
    },
    "next_page_url": {
      "type": "string",
      "description": "下一页结果的绝对 URL。仅在还有更多结果时出现；按原样请求即可继续。每页最多 10 条记录。"
    }
  }
}
```
