データ 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任意