{
  "openapi": "3.0.1",
  "info": {
    "title": "FDIC Bank Financials Scraper: Health and Branches",
    "description": "Scrape FDIC data on every insured US bank. Get assets, deposits, income, capital ratios and loan quality with a health score, risk flags and yearly growth, plus quarterly history, branch offices with deposits and failed banks. Filter by name, state, size or holding company. Export to CSV or Excel.",
    "version": "1.0",
    "x-build-id": "3IYRRIFK5grrJzvWt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parselab~fdic-bank-financials-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parselab-fdic-bank-financials-scraper",
        "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/parselab~fdic-bank-financials-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parselab-fdic-bank-financials-scraper",
        "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/parselab~fdic-bank-financials-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parselab-fdic-bank-financials-scraper",
        "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": {
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000."
          },
          "mode": {
            "title": "What to collect",
            "enum": [
              "banks",
              "history",
              "branches",
              "failures"
            ],
            "type": "string",
            "description": "Banks returns one row per bank with its profile, the latest quarter and a health check. History returns one row per bank and quarter. Branches returns one row per branch office with location and deposits. Failed banks returns one row per bank failure.",
            "default": "banks"
          },
          "bankNames": {
            "title": "Bank names",
            "type": "array",
            "description": "Part of a bank name, for example Wells Fargo, Silicon Valley or Community. Any bank whose name contains the text is kept.",
            "items": {
              "type": "string"
            }
          },
          "certs": {
            "title": "FDIC certificate numbers",
            "type": "array",
            "description": "FDIC certificate numbers of banks, for example 3511 for Wells Fargo Bank. Use them when you know the exact bank.",
            "items": {
              "type": "string"
            }
          },
          "holdingCompanies": {
            "title": "Holding companies",
            "type": "array",
            "description": "Part of the name of the parent company, for example JPMorgan or Truist. All banks of that company are kept.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "Two letter state codes, for example CA, TX, NY. For banks and history it is the state of the head office, for branches it is the state of the branch.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Part of a city name, for example Austin. For banks and history it is the head office city, for branches it is the branch city.",
            "items": {
              "type": "string"
            }
          },
          "zipCodes": {
            "title": "ZIP codes",
            "type": "array",
            "description": "Five digit ZIP codes, for example 94105. For branches it is the ZIP code of the branch.",
            "items": {
              "type": "string"
            }
          },
          "charterClasses": {
            "title": "Charter classes",
            "type": "array",
            "description": "N for national banks, SM for state banks that are Federal Reserve members, NM for state banks that are not, SB for savings banks, SA for savings associations, OI for foreign bank branches.",
            "items": {
              "type": "string",
              "enum": [
                "N",
                "SM",
                "NM",
                "SB",
                "SA",
                "OI"
              ]
            }
          },
          "regulators": {
            "title": "Primary regulators",
            "type": "array",
            "description": "OCC for national banks, FDIC for state non-member banks, FRS for Federal Reserve member state banks.",
            "items": {
              "type": "string",
              "enum": [
                "OCC",
                "FDIC",
                "FRS"
              ]
            }
          },
          "minAssetsUsd": {
            "title": "Minimum total assets (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only banks with at least this much in assets, for example 1000000000 for one billion dollars."
          },
          "maxAssetsUsd": {
            "title": "Maximum total assets (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only banks with at most this much in assets."
          },
          "onlyWithRiskFlags": {
            "title": "Only banks with risk flags",
            "type": "boolean",
            "description": "Banks mode only. Keep banks that trip at least one warning, such as a loss, thin capital, many noncurrent loans or loans above deposits. The flags are a screen built from public ratios, not a rating.",
            "default": false
          },
          "sortBy": {
            "title": "Sort banks by",
            "enum": [
              "assets",
              "deposits",
              "netIncome",
              "roa",
              "roe",
              "healthScore",
              "assetGrowth"
            ],
            "type": "string",
            "description": "Banks mode only. Order of the results. Health score puts the weakest banks first.",
            "default": "assets"
          },
          "quarter": {
            "title": "Quarter",
            "type": "string",
            "description": "Banks mode. Quarter of the call report, for example 2026Q2 or 2026-06-30. Leave empty for the latest quarter."
          },
          "quarterFrom": {
            "title": "History from quarter",
            "type": "string",
            "description": "History mode. First quarter, for example 2024Q1. The default is 8 quarters before the last one."
          },
          "quarterTo": {
            "title": "History to quarter",
            "type": "string",
            "description": "History mode. Last quarter, for example 2026Q2. The default is the latest quarter."
          },
          "includeDeposits": {
            "title": "Add branch deposits",
            "type": "boolean",
            "description": "Branches mode. Adds the deposits of each branch from the annual deposit survey of the FDIC.",
            "default": true
          },
          "yearFrom": {
            "title": "Failures from year",
            "minimum": 1934,
            "maximum": 2100,
            "type": "integer",
            "description": "Failed banks mode. First year of failure, for example 2008."
          },
          "yearTo": {
            "title": "Failures to year",
            "minimum": 1934,
            "maximum": 2100,
            "type": "integer",
            "description": "Failed banks mode. Last year of failure."
          },
          "includeInactive": {
            "title": "Include closed institutions",
            "type": "boolean",
            "description": "Also match banks that no longer operate when you search by name or place.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}