{
  "openapi": "3.0.1",
  "info": {
    "title": "Bank Mergers & Acquisitions: Federal Reserve Applications",
    "description": "Bank mergers, acquisitions and holding company applications filed with the Federal Reserve, from official Federal Register notices: applicant, target bank, Reserve Bank, comment deadline. New-applications-only monitor mode. No API key.",
    "version": "0.1",
    "x-build-id": "W0VjrHsUK8fV7DK13"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/quarrylane-data~fed-bank-holding-company-applications/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-quarrylane-data-fed-bank-holding-company-applications",
        "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/quarrylane-data~fed-bank-holding-company-applications/runs": {
      "post": {
        "operationId": "runs-sync-quarrylane-data-fed-bank-holding-company-applications",
        "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/quarrylane-data~fed-bank-holding-company-applications/run-sync": {
      "post": {
        "operationId": "run-sync-quarrylane-data-fed-bank-holding-company-applications",
        "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": {
          "daysBack": {
            "title": "Date window (days back)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Federal Register publication dates in the last N days. Default 60.",
            "default": 60
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "First Federal Register publication date to include, as YYYY-MM-DD (inclusive). When set, it overrides \"Days back\"."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Last publication date to include, as YYYY-MM-DD (inclusive). Defaults to today."
          },
          "noticeTypes": {
            "title": "Notice types",
            "type": "array",
            "description": "Which Federal Reserve notice types to include: bank holding company deals, savings and loan holding company deals, and/or nonbanking activity proposals. Leave empty for all three.",
            "items": {
              "type": "string",
              "enum": [
                "bhc",
                "slhc",
                "nonbanking"
              ],
              "enumTitles": [
                "Bank holding company formations, acquisitions and mergers",
                "Savings and loan holding company formations, acquisitions and mergers",
                "Proposals to engage in nonbanking activities"
              ]
            }
          },
          "transactionTypes": {
            "title": "Transaction types",
            "type": "array",
            "description": "Only return these transaction types (classified from the notice text): becoming a holding company, acquisition, merger, nonbanking activity, retaining shares, or other. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "holding-company-formation",
                "acquisition",
                "merger",
                "nonbanking-activity",
                "retain-shares",
                "other"
              ],
              "enumTitles": [
                "Become a holding company",
                "Acquisition",
                "Merger",
                "Nonbanking activity",
                "Retain shares",
                "Other"
              ]
            }
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "Two-letter states matched on the applicant or target location, e.g. TX, OK.",
            "items": {
              "type": "string"
            }
          },
          "reserveBanks": {
            "title": "Federal Reserve Banks",
            "type": "array",
            "description": "Only return applications handled by these Federal Reserve Bank districts, e.g. New York or Dallas. Leave empty for all 12.",
            "items": {
              "type": "string",
              "enum": [
                "Atlanta",
                "Boston",
                "Chicago",
                "Cleveland",
                "Dallas",
                "Kansas City",
                "Minneapolis",
                "New York",
                "Philadelphia",
                "Richmond",
                "San Francisco",
                "St. Louis"
              ]
            }
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Optional text match on applicant or proposal, e.g. Chime or ESOP."
          },
          "onlyNew": {
            "title": "Only new applications since last run (monitor mode)",
            "type": "boolean",
            "description": "Later runs return only applications not seen before under this monitor key. The first run bills up to maxItems as application-record events and seeds the rest without charging. Later runs bill new-application events.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Label for this saved monitor (plain text, not a password or API key). When \"Only new\" monitor mode is on, the Actor remembers which records it has already delivered under this name and returns only new ones next time. Use a different name per filter set or client, for example \"client-a-weekly\". Older inputs that use monitorKey still work.",
            "default": "default"
          },
          "maxItems": {
            "title": "Maximum applications",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Default 15 (fast, auto-test safe). Free Apify plans are capped at 15.",
            "default": 15
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}