Skip to content

US Bank Data · Open-source Python package

U.S. bank data.
Ready for Python.

Build a notebook, MBA case, classroom exercise or hackathon project with a bank’s reporting quarter, units and original source attached. Start with a complete frozen quarter or an explicit bank cohort. No account or API key required.

v0.2.0 · Python 3.10+ · Standard-library data engine.

Frozen institution records
4,313
Selected financial fields
14
Teaching notebooks
5
Account or API key
None

Choose your starting point

One dataset. Your way of working.

Install. Export. Keep the evidence.

Install US Bank Data from PyPI. No account or API key is needed.

python -m pip install us-bank-data==0.2.0
from usbankdata import snapshot

banks = snapshot(quarter="2026Q2", edition="2026-q2-r1")
print(len(banks.rows))  # 4313 frozen institution financial records
cohort = banks.select(states=["NC"], min_assets_usd=100_000_000)
cohort.export("nc-banks.csv")  # includes a source manifest

The bundled 2026Q2 edition contains 4,313 institution financial records and all original source-response pages. It includes noninsured institutions (NC) and insured U.S. branches of foreign institutions (OI); it is not an insured-only or active-only population. This is a frozen June 30, 2026 edition, not a latest-data claim. The snapshot works offline after installation. Three separate sample institutions also provide eight-quarter interface examples; those samples are not a matched peer group.

Use panel(certs=[628, 3510, 58665], quarters=8, through="2026Q2") for a live shared reporting window. Requests support up to 100 explicit banks and 40 quarters, with no implicit current-active filter. An absent filing remains an explicit row. Existing single-bank calls remain compatible. The package records the selected window, retrieval time, metric definitions and archived responses. Missing observations remain missing. Live responses may revise earlier quarters; archived retrievals do not establish original-filing availability for backtests.

Use the tools you already know

Export CSV with a source manifest or a self-contained JSON snapshot. Optional pandas, Polars and Parquet support preserve the evidence alongside your analysis. The independently maintained OpenBB V5 extension adds obb.banksonsale; it is not bundled with or endorsed by OpenBB.

Download v0.2.0 and checksums · Read the 14-field dictionary · Review the data contract

US Bank Data on PyPI · Pin us-bank-data==0.2.0 to reproduce this release. Existing earlier imports and source identifiers remain compatible.

Prefer a quarter-wide file?

The separate website release 2026-q2-r1 provides 4,313 institution records for June 30, 2026. Public downloads require no package installation. Pin the release and preserve FDIC CERT and report date when joining records.

Check the units: website CSV/JSON monetary fields retain FDIC’s USD-thousands units. The Python package’s _usd columns are already converted to U.S. dollars. Ratios in both remain percentages. The package’s JSON snapshot envelope and the website’s JSON row array are different documented formats.

import json
from urllib.request import Request, urlopen

url = "https://www.banksonsale.com/data/releases/2026-q2-r1/financials.json"
request = Request(url, headers={"User-Agent": "BanksOnSaleData/1.0"})
with urlopen(request, timeout=30) as response:
    rows = json.load(response)

bank = next(row for row in rows if row["cert"] == 28478)
assets_usd = None if bank["ASSET"] is None else bank["ASSET"] * 1_000
print(bank["name"], bank["report_date"], assets_usd)
# Ratios such as RBCT1CER are already percentages.
# A JSON null is missing, not zero.

Follow the file-based Python example →. It supplies a descriptive BanksOnSaleData user agent because the hosting edge rejects Python’s unmodified default user agent.

Continue in the research workspace

BanksOnSale’s hosted workspace adds saved shortlists, watchlists, research dossiers and acquisition models. Some features require a subscription. Workspace data editions are displayed separately and can differ from your package’s selected quarter.

Professional bank research API

The professional API remains separate and requires an eligible account. Open the professional developer area →

Credit the source

Original source: FDIC BankFind Suite. BanksOnSale is an independent compiler. Code is MIT; the original dataset compilation and metadata are CC BY 4.0 with separate source attribution. Read the package licensing and the website dataset scope. Record the CERT, reporting dates and dataset ID or pinned release URL in your work.