資料 API / EDINET / Documents
Download an EDINET document
Download a disclosure identified by docID from get_edinet_documents. type=1 returns a ZIP archive and type=2 returns a PDF. Check Content-Type before parsing: file responses are binary, while error responses can be JSON.
參數
路徑
docIDstring必填Document management identifier from the document list API.
查詢
typeinteger必填允許值: 1 · 2 · 3 · 4 · 5
File type to download: 1 for filing body and audit report ZIP, 2 for PDF, 3 for alternate document and attachments ZIP, 4 for English document ZIP, 5 for CSV ZIP converted from XBRL.
請求範例
curl -G "https://openapi.felo.ai/v1/beta/edinet/documents/{docID}" \
--data-urlencode "type=<integer>" \
-H "Authorization: Bearer $FELO_API_KEY"回應
回應欄位
messagestring選填