{
  "openapi": "3.0.1",
  "info": {
    "title": "Japan EDINET Disclosure Filings (Official API)",
    "description": "List Japan's securities-disclosure filings (yuho, quarterly, large-shareholding, etc.) via the official EDINET API v2: by date or date range, filterable by company or document type. Bibliographic metadata only, corporations/funds only. Bring your own EDINET API key. Unofficial.",
    "version": "0.1",
    "x-build-id": "QfBdNTEX99jAJn31A"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jpopendata~japan-edinet-filings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jpopendata-japan-edinet-filings",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/jpopendata~japan-edinet-filings/runs": {
      "post": {
        "operationId": "runs-sync-jpopendata-japan-edinet-filings",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/jpopendata~japan-edinet-filings/run-sync": {
      "post": {
        "operationId": "run-sync-jpopendata-japan-edinet-filings",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "apiKey"
        ],
        "properties": {
          "apiKey": {
            "title": "Your EDINET API key (required)",
            "type": "string",
            "description": "REQUIRED. YOUR OWN EDINET API key (Subscription-Key, a 32-character string). This Actor does NOT bundle a shared key — every request runs under your own registration and EDINET's access limits apply to you. Register for free: https://disclosure2.edinet-fsa.go.jp/ → ログイン (create an account) → API キー発行 → copy the key."
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "list",
              "range"
            ],
            "type": "string",
            "description": "`list` (default) returns every disclosure filing for one submission date — set date. `range` returns filings across a dateFrom..dateTo window (company / document-type tracking), one request per day — set dateFrom and dateTo. Aliases \"day\"/\"period\" are accepted; if you pass only dateFrom/dateTo the Actor switches to range for you. Example: \"list\".",
            "default": "list"
          },
          "date": {
            "title": "Submission date (list mode)",
            "type": "string",
            "description": "list mode (REQUIRED there): the submission date to list, YYYY-MM-DD, e.g. \"2026-08-25\" (2026/08/25 and 20260825 are tolerated). Only Japanese business days have filings. EDINET keeps roughly the last 10 years available."
          },
          "dateFrom": {
            "title": "From date (range mode)",
            "type": "string",
            "description": "range mode (REQUIRED there): inclusive start submission date, YYYY-MM-DD, e.g. \"2026-08-01\" (2026/08/01 and 20260801 are tolerated)."
          },
          "dateTo": {
            "title": "To date (range mode)",
            "type": "string",
            "description": "range mode (REQUIRED there): inclusive end submission date, YYYY-MM-DD, e.g. \"2026-08-31\". The span is capped at 62 days per run (server-load safety)."
          },
          "docTypeCode": {
            "title": "Document type code filter",
            "type": "string",
            "description": "Optional. 3-digit EDINET document type codes to keep, comma-separated (\"120,140\") or as a list. Common: 120 有価証券報告書 (annual securities report / yuho), 140 四半期報告書 (quarterly), 160 半期報告書 (semi-annual), 180 臨時報告書 (extraordinary), 350 大量保有報告書 (large-shareholding). Leave empty for all types."
          },
          "secCode": {
            "title": "Securities code filter",
            "type": "string",
            "description": "Optional. Filer securities code (listed companies). Accepts the 4-digit ticker (e.g. \"7203\" for Toyota; \"7203.T\" is tolerated) or the full 5-digit EDINET securities code (\"72030\")."
          },
          "edinetCode": {
            "title": "EDINET code filter",
            "type": "string",
            "description": "Optional. Filer EDINET code, `E` + 5 digits (e.g. \"E02144\" for Toyota; lower-case is tolerated). Use this to track a single filer, including non-listed filers and funds' management companies."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of filing-metadata records to output across all fetched dates, 1-100000 (default 1000).",
            "default": 1000
          },
          "maxApiRequests": {
            "title": "Max upstream requests per run",
            "minimum": 1,
            "maximum": 120,
            "type": "integer",
            "description": "Hard safety cap on API requests per run, 1-120 (default 40; one request per date). Politeness (1 connection, >= 1.5 s spacing, exponential backoff on 429/5xx) is enforced in code; the EDINET terms forbid short-burst bulk access.",
            "default": 40
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy settings. Default is NO proxy (direct connection) — an official JSON API rarely needs one. The Actor backs off exponentially on 429/5xx and fails visibly on a persistent block; it never attempts rate-limit evasion.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}