{
  "openapi": "3.0.1",
  "info": {
    "title": "DART Korea 공시·재무제표 API (DART Korea Filings & Financials)",
    "description": "Korean corporate filings and financial statements from DART, normalised to English field names and real numbers. Feed it a ticker like 005930 and get the balance sheet, income statement and cash flow as clean JSON. Covers 119,000 companies across KOSPI, KOSDAQ and KONEX.",
    "version": "0.1",
    "x-build-id": "37eh0Y7KosC6kTXW2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/linus009400~dart-korea-filings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-linus009400-dart-korea-filings-scraper",
        "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/linus009400~dart-korea-filings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-linus009400-dart-korea-filings-scraper",
        "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/linus009400~dart-korea-filings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-linus009400-dart-korea-filings-scraper",
        "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": [
          "mode",
          "companies"
        ],
        "properties": {
          "mode": {
            "title": "What to fetch",
            "enum": [
              "filings",
              "financials",
              "company"
            ],
            "type": "string",
            "description": "**Filings** = disclosure list (8-K style). **Financials** = full financial statements. **Company** = company profile, CEO, industry, registration numbers.",
            "default": "filings"
          },
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "Ticker (`005930`), DART corp_code (`00126380`), or Korean name (`삼성전자`). Mix freely.",
            "default": [
              "005930"
            ],
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "From date (filings mode)",
            "type": "string",
            "description": "`YYYY-MM-DD` or `YYYYMMDD`. Defaults to 90 days ago."
          },
          "dateTo": {
            "title": "To date (filings mode)",
            "type": "string",
            "description": "`YYYY-MM-DD` or `YYYYMMDD`. Defaults to today."
          },
          "filingType": {
            "title": "Filing category",
            "enum": [
              "",
              "A",
              "B",
              "C",
              "D",
              "E",
              "F",
              "G",
              "H",
              "I",
              "J"
            ],
            "type": "string",
            "description": "Leave empty for all categories."
          },
          "fiscalYear": {
            "title": "Fiscal year",
            "type": "string",
            "description": "Four-digit year, e.g. `2025`. Defaults to last completed year."
          },
          "reportType": {
            "title": "Report period",
            "enum": [
              "ANNUAL",
              "HALF",
              "Q1",
              "Q3"
            ],
            "type": "string",
            "description": "Which periodic report to read the figures from. Korean issuers file an annual report plus half-year, Q1 and Q3 reports.",
            "default": "ANNUAL"
          },
          "consolidation": {
            "title": "Consolidation basis",
            "enum": [
              "CONSOLIDATED",
              "SEPARATE"
            ],
            "type": "string",
            "description": "**Consolidated** includes subsidiaries — this is what most analysts want. **Separate** is the parent entity alone. The two sets of figures can differ substantially.",
            "default": "CONSOLIDATED"
          },
          "detailLevel": {
            "title": "Level of detail",
            "enum": [
              "key",
              "full"
            ],
            "type": "string",
            "description": "**Key accounts** returns ~20 headline IFRS lines with English labels. **Full** returns every line item as filed.",
            "default": "key"
          },
          "maxResults": {
            "title": "Maximum rows",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard cap on billed rows. Protects you from an unexpectedly large query.",
            "default": 1000
          },
          "dartApiKey": {
            "title": "Your DART API key (optional)",
            "type": "string",
            "description": "Leave empty to use the shared key. For heavy or scheduled use, get your own free key in about a minute at [opendart.fss.or.kr](https://opendart.fss.or.kr/uss/umt/EgovMberInsertView.do) — each key allows 20,000 requests per day."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}