{
  "openapi": "3.0.1",
  "info": {
    "title": "DART Korea Corporate Filings Scraper",
    "description": "Scrape public corporate-disclosure metadata from DART, Korea's official filing system: company, market, report name, submitter, receipt date, receipt number and the public permalink. Metadata only - filing documents are never downloaded.",
    "version": "0.2",
    "x-build-id": "WUeloYLzQDTi1rXBr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/signaldatatools~dart-filings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-signaldatatools-dart-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/signaldatatools~dart-filings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-signaldatatools-dart-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/signaldatatools~dart-filings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-signaldatatools-dart-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": [
          "maxItems"
        ],
        "properties": {
          "maxItems": {
            "title": "Max filings",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many filings.",
            "default": 100
          },
          "maxPages": {
            "title": "Max result pages",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Result pages to walk. The run also stops on its own once the last page of the result set is reached.",
            "default": 5
          },
          "pageSize": {
            "title": "Filings per page",
            "minimum": 10,
            "maximum": 100,
            "type": "integer",
            "description": "Filings requested per page. 100 is the highest value the search accepts; anything larger is silently reduced to 15 by the site, so the actor caps it at 100.",
            "default": 30
          },
          "startDate": {
            "title": "Receipt date from",
            "type": "string",
            "description": "Earliest receipt date, as YYYYMMDD or YYYY-MM-DD. Leave empty to search the whole archive."
          },
          "endDate": {
            "title": "Receipt date to",
            "type": "string",
            "description": "Latest receipt date, as YYYYMMDD or YYYY-MM-DD. Inclusive. Leave empty for no upper bound."
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "date",
              "crp",
              "rpt"
            ],
            "type": "string",
            "description": "Which column the result set is ordered on.",
            "default": "date"
          },
          "sortDirection": {
            "title": "Sort direction",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Ascending or descending within the chosen sort column.",
            "default": "desc"
          },
          "corporationType": {
            "title": "Market",
            "enum": [
              "all",
              "P",
              "A",
              "N",
              "E"
            ],
            "type": "string",
            "description": "Restrict to filers listed on one market.",
            "default": "all"
          },
          "reportTypes": {
            "title": "Report type codes",
            "type": "array",
            "description": "Optional filing-category codes; leave empty for every type. Verified codes: A001 annual report, A002 half-year report, A003 quarterly report, B001 material-fact report, C001 securities registration (equity), D001 large shareholding report, E001 treasury-stock acquisition/disposal, F001 audit report, G001 securities registration (fund, trust type), H001 asset-securitisation plan, I001 periodic market disclosure, J001 large intra-group transaction. Codes outside this scheme return zero rows.",
            "items": {
              "type": "string"
            }
          },
          "requestDelaySeconds": {
            "title": "Delay between requests (s)",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Politeness pause between HTTP requests.",
            "default": 2
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Check the target's robots.txt before every request and skip disallowed URLs. This actor only calls the allowed search-results endpoint; filing document bodies and the corporate-profile popup are disallowed there and are never fetched.",
            "default": true
          },
          "includeContactInfo": {
            "title": "Include contact details",
            "type": "boolean",
            "description": "Off by default. When off, phone numbers and e-mail addresses are stripped from any free-text field in the output.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy settings. A Korean residential or datacenter IP is recommended.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyCountry": "KR"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}