# 列出 EDINET 文件

**API:** Data API

**Endpoint:** `GET /v1/beta/edinet/documents.json`

**Tags:** EDINET

列出日本 EDINET 在某一日期的全部申報。date 為必填（YYYY-MM-DD）。type=2 在 results 下傳回申報——每筆申報包含 docID、filerName、secCode、JCN、docTypeCode、docDescription、submitDateTime、periodStart 與 periodEnd——而 type=1 僅傳回中繼資料，當日數量位於 metadata.resultset.count，且沒有 results 陣列。約三分之二的申報帶有 secCode（上市公司），其餘為基金與未上市申報人。申報的 docID 可用於呼叫 get_edinet_document_download。

### 計費參考

- 計量方式：以成功請求為固定成本基礎。
- 參考請求估算：1e-05 美元。

僅供參考的中繼資料，並非帳戶報價、保證價格或消費上限。資源額度並非 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 |
| --- | --- | --- | --- | --- |
| `date` | query | yes | string, (date) | 檔案日期，格式為 YYYY-MM-DD。 |
| `type` | query | no | integer, enum: 1, 2, default: 1 | 回應模式：1 表示僅中繼資料，2 表示中繼資料加申報文件清單。 |

## Responses

### 200 — EDINET 文件清單回應。

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

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "metadata": {
      "type": "object",
      "description": "包含 title、請求參數回顯、結果筆數、processDateTime、status 和 message 的中繼資料物件。"
    },
    "results": {
      "type": "array",
      "description": "type=2 時的申報文件物件。",
      "items": {
        "type": "object",
        "properties": {
          "seqNumber": {
            "type": "integer"
          },
          "docID": {
            "type": "string"
          },
          "filerName": {
            "type": "string"
          },
          "docTypeCode": {
            "type": "string"
          },
          "submitDateTime": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```
