{
  "openapi": "3.0.1",
  "info": {
    "title": "Taiwan Shareholder Meeting Calendar & E-Voting — 股東會",
    "description": "Every annual and extraordinary shareholder meeting filed by a Taiwan-listed company since 2005: meeting date and venue, the closed-book period that forces short sellers to cover, whether the board is up for election, and the e-voting window. TWSE, TPEx, Emerging and public-registered boards.",
    "version": "0.1",
    "x-build-id": "QsbMfmA9GXGDLDGhb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/chamarix~taiwan-shareholder-meetings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-chamarix-taiwan-shareholder-meetings",
        "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/chamarix~taiwan-shareholder-meetings/runs": {
      "post": {
        "operationId": "runs-sync-chamarix-taiwan-shareholder-meetings",
        "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/chamarix~taiwan-shareholder-meetings/run-sync": {
      "post": {
        "operationId": "run-sync-chamarix-taiwan-shareholder-meetings",
        "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": {
          "startYear": {
            "title": "Start meeting year",
            "pattern": "^(|\\d{4})$",
            "type": "string",
            "description": "Calendar year the meeting is held in, e.g. 2026. Leave empty for the current year. MOPS holds this report from 2005 onwards — 2004 and earlier answer 查無資料 on every board.",
            "default": ""
          },
          "endYear": {
            "title": "End meeting year",
            "pattern": "^(|\\d{4})$",
            "type": "string",
            "description": "Last meeting year to cover, inclusive. Leave empty to fetch only the start year. One request per board-year, so a twenty-year sweep of all four boards is 80 requests.",
            "default": ""
          },
          "markets": {
            "title": "Boards",
            "type": "array",
            "description": "Which boards to cover. Leave empty for all four. Only TWSE and TPEx have an open-data mirror to cross-check against; Emerging and public-registered companies are served by MOPS alone.",
            "items": {
              "type": "string",
              "enum": [
                "TWSE",
                "TPEX",
                "EMERGING",
                "PUBLIC"
              ],
              "enumTitles": [
                "TWSE — listed (上市)",
                "TPEx — OTC (上櫃)",
                "Emerging — pre-IPO (興櫃)",
                "Public-registered, untraded (公開發行)"
              ]
            },
            "default": []
          },
          "stockCodes": {
            "title": "Security codes filter",
            "type": "array",
            "description": "Optional list of security codes (e.g., ['2330', '2454']). Filtering happens after the fetch — MOPS serves a whole board-year at once, so a filtered run costs the same as an unfiltered one.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "meetingTypes": {
            "title": "Meeting type",
            "type": "array",
            "description": "Annual meetings (股東常會) are held once a year, mostly in May and June. Extraordinary meetings (股東臨時會) are called for a specific resolution — a merger, a capital reduction, a contested board seat — and are the interesting ones. Leave empty for both.",
            "items": {
              "type": "string",
              "enum": [
                "ANNUAL",
                "EXTRAORDINARY"
              ],
              "enumTitles": [
                "Annual general meeting (股東常會)",
                "Extraordinary meeting (股東臨時會)"
              ]
            },
            "default": []
          },
          "meetingMonths": {
            "title": "Meeting month filter",
            "type": "array",
            "description": "Keep only meetings held in these months, as two-digit strings. Taiwan's season is heavily bunched — of the 1,119 TWSE meetings in 2026, 566 fall in May and 516 in June. Leave empty for the whole year.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "boardElectionOnly": {
            "title": "Only meetings that elect a board",
            "type": "boolean",
            "description": "Keep only meetings whose 是否改選董監 is 是. Taiwanese boards serve three-year terms, so an election year is when a proxy fight, an activist stake or a change of control has to surface.",
            "default": false
          },
          "electronicVotingOnly": {
            "title": "Only meetings offering electronic voting",
            "type": "boolean",
            "description": "Keep only meetings with an e-voting window. Mandatory for listed and OTC companies since 2018, so this mainly matters on the Emerging board and on historical years.",
            "default": false
          },
          "includeOpenDataExtras": {
            "title": "Add the capital-increase and withdrawal columns",
            "type": "boolean",
            "description": "For the current year on TWSE, merge in t187ap38_L: planned cash capital increase and subscription rate, employee bonuses, director remuneration, and the meetings that were withdrawn after being announced — MOPS drops those from the report entirely, so this is the only way to see them. Costs one request. No TPEx equivalent exists.",
            "default": true
          },
          "crossCheck": {
            "title": "Cross-check MOPS against the exchange feeds",
            "type": "boolean",
            "description": "Compare every meeting against TWSE's t187ap41_L and TPEx's t187ap41_O — an entirely separate query path — and log whether each shared value reproduces. Costs one request per board and never changes the output.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}