# 取得新聞文章

**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 筆記錄。"
    }
  }
}
```
