{
  "openapi": "3.0.1",
  "info": {
    "title": "🇹🇼 Taiwan FSC + SFB Enforcement · 金管會證期局裁罰",
    "description": "Taiwan FSC (金融監督管理委員會) + SFB (證券期貨局) enforcement: penalties (裁罰), warnings, license revocations under Banking Act, Insurance Act, SEA. NTD+USD amounts, Trad-Chinese+English names, statutory citations. Bloomberg TW regulatory alternative.",
    "version": "0.0",
    "x-build-id": "medGl1aYCa7F59fWl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nexgendata~taiwan-fsc-sfb-enforcement-notices/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nexgendata-taiwan-fsc-sfb-enforcement-notices",
        "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/nexgendata~taiwan-fsc-sfb-enforcement-notices/runs": {
      "post": {
        "operationId": "runs-sync-nexgendata-taiwan-fsc-sfb-enforcement-notices",
        "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/nexgendata~taiwan-fsc-sfb-enforcement-notices/run-sync": {
      "post": {
        "operationId": "run-sync-nexgendata-taiwan-fsc-sfb-enforcement-notices",
        "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": {
          "regulator": {
            "title": "Regulator",
            "enum": [
              "FSC",
              "SFB",
              "both"
            ],
            "type": "string",
            "description": "Which regulator to surface. 'FSC' = Financial Supervisory Commission (金融監督管理委員會) cases from the 銀行局 (Banking Bureau), 保險局 (Insurance Bureau), and 檢查局 (Examination Bureau) — supervises banks, insurers, and asset managers under the Banking Act, Insurance Act, and related statutes. 'SFB' = Securities & Futures Bureau (證券期貨局) cases — the FSC arm focused on TWSE/TPEx-listed firms, securities brokers, futures dealers, and investment trusts under the Securities and Exchange Act. 'both' = unified merged feed of FSC + SFB penalty cases, distinguished by the regulator field. All four bureaus publish through the same FSC central penalty index.",
            "default": "both"
          },
          "action_type": {
            "title": "Action type",
            "enum": [
              "fine",
              "warning",
              "license_revocation",
              "all"
            ],
            "type": "string",
            "description": "Filter by enforcement action category. 'fine' = administrative monetary penalty (罰鍰) — typically NT$1M-NT$100M, the dominant category on the FSC penalty index. 'warning' = public warning / corrective order (糾正 / 警告 / 命令改善) under Banking Act §61-1 and equivalents. 'license_revocation' = registration / business-licence revocation (廢止許可 / 撤照) under Banking Act §62, Insurance Act §149, or SEA §66 — rare but high-impact. 'all' = every enforcement category.",
            "default": "all"
          },
          "target_filter": {
            "title": "Target entity filter (Traditional Chinese or English)",
            "type": "string",
            "description": "Case-insensitive substring match against target firm/individual name (Traditional Chinese OR English) and the summary text. Use for counterparty monitoring — e.g. '國泰' (Cathay), '中信' (CTBC), '台新' (Taishin), '新光' (Shin Kong), '玉山' (E.SUN), '南山' (Nan Shan), 'Cathay', 'CTBC', 'Taishin', or a specific bureau name '保險局' to filter for insurance-bureau actions only. Leave empty to skip."
          },
          "date_from": {
            "title": "Date of action — from (YYYY-MM-DD)",
            "type": "string",
            "description": "Lower bound on the date FSC / SFB published the penalty decision (裁處書發文日期, ISO YYYY-MM-DD). Defaults to 90 days before today if empty. Combine with date_to to build a quarterly enforcement report. The FSC central penalty index typically surfaces ~12-15 cases at any time, spanning roughly the most recent 6-12 months."
          },
          "date_to": {
            "title": "Date of action — to (YYYY-MM-DD)",
            "type": "string",
            "description": "Upper bound on the date FSC / SFB published the penalty decision (ISO YYYY-MM-DD). Defaults to today if empty."
          },
          "max_actions": {
            "title": "Maximum actions to emit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Cap on the number of enforcement-action rows emitted in a single run. The FSC central penalty index lists ~15 recent cases at any time; the curated fallback set adds another ~12 historically-significant cases. 50 is plenty for a normal quarterly sweep; bump up to 500 only when paired with a wide date window for a multi-year backfill.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}