{
  "openapi": "3.0.1",
  "info": {
    "title": "Taiwan New Company Registrations (公司設立登記) — Official MOEA Data",
    "description": "Monthly list of newly incorporated Taiwan companies from the official Ministry of Economic Affairs open data: business ID, name, county, capital, approval date, optional business items. Filter by month, county, capital and industry keyword.",
    "version": "0.0",
    "x-build-id": "ErmXzTiTaW6nXvAFg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/waisuan~taiwan-new-company-registrations/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-waisuan-taiwan-new-company-registrations",
        "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/waisuan~taiwan-new-company-registrations/runs": {
      "post": {
        "operationId": "runs-sync-waisuan-taiwan-new-company-registrations",
        "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/waisuan~taiwan-new-company-registrations/run-sync": {
      "post": {
        "operationId": "run-sync-waisuan-taiwan-new-company-registrations",
        "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",
        "properties": {
          "months": {
            "title": "Months (YYYY-MM)",
            "type": "array",
            "description": "Registration months, e.g. 2026-09. Leave empty for the latest published month (published around the 14th of the following month).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "counties": {
            "title": "Counties / cities",
            "type": "array",
            "description": "Filter by the county in the company address. Empty = all of Taiwan.",
            "items": {
              "type": "string",
              "enum": [
                "臺北市",
                "新北市",
                "桃園市",
                "臺中市",
                "臺南市",
                "高雄市",
                "基隆市",
                "新竹市",
                "嘉義市",
                "新竹縣",
                "苗栗縣",
                "彰化縣",
                "南投縣",
                "雲林縣",
                "嘉義縣",
                "屏東縣",
                "宜蘭縣",
                "花蓮縣",
                "臺東縣",
                "澎湖縣",
                "金門縣",
                "連江縣"
              ],
              "enumTitles": [
                "Taipei 臺北市",
                "New Taipei 新北市",
                "Taoyuan 桃園市",
                "Taichung 臺中市",
                "Tainan 臺南市",
                "Kaohsiung 高雄市",
                "Keelung 基隆市",
                "Hsinchu City 新竹市",
                "Chiayi City 嘉義市",
                "Hsinchu County 新竹縣",
                "Miaoli 苗栗縣",
                "Changhua 彰化縣",
                "Nantou 南投縣",
                "Yunlin 雲林縣",
                "Chiayi County 嘉義縣",
                "Pingtung 屏東縣",
                "Yilan 宜蘭縣",
                "Hualien 花蓮縣",
                "Taitung 臺東縣",
                "Penghu 澎湖縣",
                "Kinmen 金門縣",
                "Lienchiang 連江縣"
              ]
            },
            "default": []
          },
          "minCapital": {
            "title": "Min registered capital (TWD)",
            "minimum": 0,
            "type": "integer",
            "description": "Min registered capital (TWD)."
          },
          "maxCapital": {
            "title": "Max registered capital (TWD)",
            "minimum": 0,
            "type": "integer",
            "description": "Max registered capital (TWD)."
          },
          "nameKeyword": {
            "title": "Company name contains",
            "type": "string",
            "description": "e.g. 科技, 餐飲, 生技",
            "default": ""
          },
          "businessKeyword": {
            "title": "Business item keyword or code",
            "type": "string",
            "description": "Matches the registered business items (營業項目), e.g. 資訊軟體, 餐館業, or a code prefix such as I301 or F5. Requires one extra lookup per candidate company, so runs are slower.",
            "default": ""
          },
          "includeBusinessItems": {
            "title": "Include business items and company status",
            "type": "boolean",
            "description": "Adds the registered business item list and current status for each company (one extra request per company).",
            "default": false
          },
          "includeRepresentative": {
            "title": "Include representative name",
            "type": "boolean",
            "description": "The representative (代表人) is a natural person's name. Off by default; if you enable it you are responsible for complying with Taiwan's Personal Data Protection Act.",
            "default": false
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Max results.",
            "default": 20
          },
          "maxBusinessLookups": {
            "title": "Max business-item lookups",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Safety cap on extra per-company requests when a business keyword or business items are requested.",
            "default": 300
          },
          "requestDelayMs": {
            "title": "Delay between requests (ms)",
            "minimum": 500,
            "maximum": 30000,
            "type": "integer",
            "description": "Delay between requests (ms).",
            "default": 1000
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}