Felo API PlatformFelo API Platform

데이터 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선택