~Look for aqbanking and hbci/fints. Most of the major banks hace an endpoint, though you might have to google for the exact data~
Edit: Missed that his is about ledger-cli, not gnucash. Sorry.
Edit: Missed that his is about ledger-cli, not gnucash. Sorry.