Felo API PlatformFelo API Platform

Data 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Необязательный