Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Download an EDINET document

Сервер:https://openapi.felo.ai
Клиентские библиотеки

EDINET

​

Japanese corporate disclosure listings and document downloads.

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.

Параметры пути
  • docID
    Тип: string
    обязательно

    Document management identifier from the document list API.

Query-параметры
  • type
    Тип: integer enum
    обязательно

    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.

    значения
    • 1
    • 2
    • 3
    • 4
    • 5
Ответы
  • 200
    Тип: string Формат: binary

    Binary ZIP/PDF file content or JSON error payload depending on Content-Type.

  • 400

    Invalid request parameters.

  • 401

    A valid Felo API key is required.

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 404

    Document not found.

  • 429

    Rate limit exceeded.

  • 500

    Gateway or upstream failure.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for get/v1/beta/edinet/documents/{docID}
curl 'https://openapi.felo.ai/v1/beta/edinet/documents/S1000000?type=1' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
@filename
Download an EDINET document