{
  "openapi": "3.0.1",
  "info": {
    "title": "Switzerland FINMA Authorised Banks, FinTech, Crypto & Funds KYB",
    "description": "Screen & extract 2,800+ Swiss FINMA authorised Banks, Securities Firms, Art. 1b FinTech/Crypto Licensees, Portfolio Managers, Trustees, Fund Managers, Insurers & 2,400+ FINMA Warning List Alerts.",
    "version": "1.0",
    "x-build-id": "bQJbxyjPOOyNH7wFI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/regpulse-data~switzerland-finma-regulated-banks-fintech-funds-kyb/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-regpulse-data-switzerland-finma-regulated-banks-fintech-funds-kyb",
        "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/regpulse-data~switzerland-finma-regulated-banks-fintech-funds-kyb/runs": {
      "post": {
        "operationId": "runs-sync-regpulse-data-switzerland-finma-regulated-banks-fintech-funds-kyb",
        "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/regpulse-data~switzerland-finma-regulated-banks-fintech-funds-kyb/run-sync": {
      "post": {
        "operationId": "run-sync-regpulse-data-switzerland-finma-regulated-banks-fintech-funds-kyb",
        "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": {
          "mode": {
            "title": "Operation Mode",
            "enum": [
              "regulated_search",
              "kyb_screen",
              "warning_list",
              "watchlist_diff"
            ],
            "type": "string",
            "description": "Select 'regulated_search' to extract FINMA-authorised Swiss financial institutions, 'kyb_screen' for single/batch counterparty due diligence across both authorised registers and the FINMA Warning List, 'warning_list' to extract the 2,400+ FINMA Unauthorised Entities & Clone Domains list, or 'watchlist_diff' for stateful change monitoring.",
            "default": "regulated_search"
          },
          "sectors": {
            "title": "FINMA Regulated Sectors",
            "type": "array",
            "description": "Filter by Swiss FINMA supervisory sectors. Leave empty to include all sectors.",
            "items": {
              "type": "string",
              "enum": [
                "BANKS_SECURITIES",
                "FINTECH_CRYPTO_ART1B",
                "PORTFOLIO_MANAGERS_TRUSTEES",
                "FUND_MANAGERS_ASSET_MGRS",
                "INSURANCE_REINSURANCE",
                "TRADING_VENUES_DLT_FMI",
                "SRO_SUPERVISORY_ORGS"
              ]
            },
            "default": [
              "BANKS_SECURITIES",
              "FINTECH_CRYPTO_ART1B",
              "PORTFOLIO_MANAGERS_TRUSTEES",
              "FUND_MANAGERS_ASSET_MGRS"
            ]
          },
          "query": {
            "title": "Search Query (Institution Name, Domain, or Swiss City)",
            "type": "string",
            "description": "Case-insensitive filter matching legal name, trading/warning domain, or Swiss city (e.g., 'Sygnum', 'UBS', 'Zug', 'Zürich', 'Genève')."
          },
          "batchQueries": {
            "title": "Batch Counterparty Queries (for kyb_screen Mode)",
            "type": "array",
            "description": "Screen multiple Swiss banks, crypto/FinTech platforms, wealth managers, trustees, or domains in one run.",
            "items": {
              "type": "string"
            }
          },
          "cityFilter": {
            "title": "Swiss City / Financial Hub Filter",
            "type": "string",
            "description": "Optional Swiss city substring filter (e.g., 'Zug', 'Zürich', 'Genève', 'Lugano', 'Basel')."
          },
          "crossCheckWarningList": {
            "title": "Cross-Check Against FINMA Warning List (2,400+ Alerts)",
            "type": "boolean",
            "description": "Automatically cross-matches authorised institutions and KYB queries against FINMA's official Warning List of unauthorised firms and clone websites.",
            "default": true
          },
          "maxResults": {
            "title": "Maximum Records to Return",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Cap the number of billed records pushed to the dataset (set 0 for unlimited).",
            "default": 100
          },
          "watchlistStateKey": {
            "title": "Watchlist State Key (for watchlist_diff Mode)",
            "type": "string",
            "description": "Named state key inside the persistent Key-Value Store used to track newly authorised, removed, ceasing-operations, or newly warned Swiss entities.",
            "default": "SWITZERLAND_FINMA_WATCHLIST_SNAPSHOT"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}