Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Beanscrape

Beanscrape is a local, privacy-focused CLI tool that scrapes records from financial institution websites using browser automation.

Features

  • Fully local. Runs on your machine. No credentials or data leave your computer (except to your bank’s website).
  • Free and Open Source (FOSS). You may view, modify, and redistribute the source code.
  • Scriptable. Bank scripts are C# scripts.
  • Extensible. Create scripts for any bank using the interactive teach command and an LLM.

How it works

  1. Beanscrape opens a real browser (Chromium via Playwright).
  2. You log in to your bank. If you saved your credentials, it logs in for you.
  3. Navigates to the transaction page.
  4. Extracts transactions.
  5. Outputs JSON or CSV.

You then import the output into Surebeans (or any budgeting tool).

You agree to follow your bank’s terms of service. Most banks have a “use at your own risk” policy toward finance automation tools, but some deploy technical or contractual mechanisms to block them.

In general, accessing your own financial data via automated tools is supported by:

  • CFPB Section 1033 (Dodd-Frank Act): consumers have the right to access their financial data.
  • GDPR Article 20: right to data portability.
  • Van Buren v. United States (2021): accessing data you’re authorized to view is not a CFAA violation.

Sections

PageDescription
InstallDownload and install Beanscrape
RunScrape transactions
CredentialsStore bank login credentials securely
ScriptsBank scripts overview
TeachInteractive session to capture bank website details
Script CreationGenerate new scripts using an LLM
TroubleshootingCommon issues and fixes