# 取得 SEC 申報文件項目

**API:** Data API

**Endpoint:** `GET /v1/beta/financial/filings/items`

**Tags:** Financial Data

一份 SEC 申報文件中編號項目的全文。`ticker`、`filing_type`（10-K、10-Q 或 8-K）與 `year` 均為必填；可再用 `quarter`、`item`、`accession_number` 或 `include_exhibits` 進一步縮小範圍。傳回 `items`——每項包含 `number`、`title` 與完整的 `text`——以及 `filing_url` 與 `accession_number`。注意資料量：一份 10-K 會傳回約 19 個完整散文項目，因此除非確實需要整份文件，請要求特定的 `item`，而不要一次拉取全部。若要先確認該開啟哪份申報文件，請用 `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 |
| --- | --- | --- | --- | --- |
| `accession_number` | query | no | string | 若為 8-K，則為申報文件的 accession number。 |
| `filing_type` | query | yes | string, enum: "10-K", "10-Q", "8-K" | 申報文件類型。 |
| `include_exhibits` | query | no | boolean, default: false | 是否包含來自關聯附件的原始文字。僅適用於 8-K 申報文件。為 true 時，附件物件將包含 'text' 欄位，其中含有完整的附件內容。 |
| `item` | query | no | string, enum: "Item-1", "Item-1A", "Item-1B", "Item-2", "Item-3", "Item-4", … | 要取得的項目。 |
| `quarter` | query | no | integer | 若為 10-Q，則為申報文件所屬季度。 |
| `ticker` | query | yes | string | 股票代號。 |
| `year` | query | yes | integer | 申報文件所屬年份。 |

## Responses

### 200 — SEC 申報文件項目回應

Headers:
- `X-Request-Id` (string) — 聯絡 Felo 支援時需提供的請求識別碼。

**application/json**

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

### 202 — 申報文件仍在準備中。請輪詢回應本文中的 result_url 取得結果。此回應不計費。

Headers:
- `X-Request-Id` (string) — 聯絡 Felo 支援時需提供的請求識別碼。

**application/json**

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

### 400 — 無法處理該要求。請檢查請求參數。

### 401 — 需要有效的 Felo API 金鑰。

### 402 — 由於未符合計費要求，要求無法繼續。

### 403 — 該帳戶無權執行此操作。

### 429 — 已達到要求或支出上限。

### 502 — 服務無法完成該要求。

### 503 — API 或計費服務暫時無法使用。

### 504 — 服務在處理要求時逾時。

### default — 錯誤回應；上游透傳回應可能採用供應商格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### ResponseE40Feb4D3D6B_Exhibit

`#/components/schemas/ResponseE40Feb4D3D6B_Exhibit`

```json
{
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "description": "附件編號（例如 '99.1'）。"
    },
    "description": {
      "type": "string",
      "description": "附件的說明。"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "SEC 網站上該附件文件的 URL。"
    },
    "text": {
      "type": "string",
      "description": "附件的原始文字內容。僅當 'include_exhibits' 參數設為 true 時包含。"
    }
  }
}
```

### ResponseE40Feb4D3D6B_FilingItem

`#/components/schemas/ResponseE40Feb4D3D6B_FilingItem`

```json
{
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "description": "項目編號。"
    },
    "name": {
      "type": "string",
      "description": "項目名稱。"
    },
    "text": {
      "type": "string",
      "description": "項目文字。"
    },
    "exhibits": {
      "type": "array",
      "description": "連結到該項目的附件陣列。僅在附件存在時針對 8-K 申報文件提供。",
      "items": {
        "$ref": "#/components/schemas/ResponseE40Feb4D3D6B_Exhibit"
      }
    }
  }
}
```

### ResponseE40Feb4D3D6B_FilingItemsAccepted

`#/components/schemas/ResponseE40Feb4D3D6B_FilingItemsAccepted`

```json
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "processing"
      ],
      "description": "202 回應時一律為 'processing'。"
    },
    "request_id": {
      "type": "string",
      "format": "uuid",
      "description": "本次要求的識別碼；聯絡支援時很有用。"
    },
    "result_url": {
      "type": "string",
      "description": "用於輪詢結果的 URL。"
    },
    "estimated_ready_at": {
      "type": "string",
      "format": "date-time",
      "description": "申報文件預計就緒的時間。"
    },
    "accession_number": {
      "type": "string",
      "description": "正在準備的申報文件的 accession number。"
    },
    "message": {
      "type": "string",
      "description": "下一步動作的人類可讀說明。"
    }
  }
}
```

### ResponseE40Feb4D3D6B_FilingItemsResponse

`#/components/schemas/ResponseE40Feb4D3D6B_FilingItemsResponse`

```json
{
  "type": "object",
  "properties": {
    "resource": {
      "type": "string",
      "description": "資源類型識別碼。"
    },
    "ticker": {
      "type": "string",
      "description": "公司的 ticker 代碼。"
    },
    "cik": {
      "type": "string",
      "description": "公司的 Central Index Key（CIK）。"
    },
    "filing_type": {
      "type": "string",
      "description": "申報文件類型。"
    },
    "accession_number": {
      "type": "string",
      "description": "申報文件的 accession number。"
    },
    "year": {
      "type": "integer",
      "description": "申報文件所屬年份。"
    },
    "quarter": {
      "type": "integer",
      "description": "申報文件所屬的季度。"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ResponseE40Feb4D3D6B_FilingItem"
      }
    }
  }
}
```
