Marginalen Bank API Access & Open Banking Data

Marginalen Bank is a Swedish bank offering everyday personal banking, savings and lending. If you want a clean, programmatic view of your Marginalen Bank money — balances and transactions you can pull into a script, a spreadsheet or your own tooling — open-banking.io gives you that without wrestling with PSD2 certificates or a sandbox. You connect once through a guided dashboard, and your data becomes yours to read on your own terms.

open-banking.io covers 2,600+ banks across the EU and UK. What sets it apart is the zero-knowledge design: your encryption keys are generated on your own device, and every piece of account data is decrypted locally with a key only you hold. The service stores only your public key, so its servers can never read your Marginalen Bank statements — they only ever hold ciphertext.

How to connect Marginalen Bank

Connecting happens entirely inside the open-banking.io dashboard — there is no API call, code or key involved in this step.

  1. Sign up for open-banking.io and set your encryption passphrase. Your keys are created right there on your device.
  2. In the dashboard, search for and select Marginalen Bank, then choose the personal account type it supports.
  3. You are redirected to Marginalen Bank's own secure login, where you approve access (the standard PSD2 consent) directly with the bank.
  4. Once you approve, your accounts sync back into your dashboard, ready to view.

Your PSD2 consent stays valid for up to 180 days, after which you simply re-approve on Marginalen Bank's screen to keep the connection live.

Access your data

Want to work with the data in code? That's an optional developer step you take after the bank is connected. On the Developers page, create an API key and export a credentials.json — it bundles your API key together with your private decryption key. From there use the CLI (openbanking accounts, openbanking transactions, openbanking sync), an SDK, or the REST API. Requests authenticate with the X-Api-Key header, and every response is decrypted locally with your own key — the API key alone would only ever hand back ciphertext.

All of this runs at roughly EUR 3/month, with no eIDAS certificate and no bank-developer registration to chase.

Does Marginalen Bank have a public API?

Not a general one. open-banking.io uses the regulated PSD2 access to Marginalen Bank (BIC MARGSESSXXX) so you can reach your own personal accounts.

Can open-banking.io see my Marginalen Bank data?

No. It's zero-knowledge — decryption happens on your device with a key only you hold. The servers store just your public key.

How long does access last before I re-approve?

Up to 180 days per consent. When it lapses, you re-authorise on Marginalen Bank's own login screen.

Ready to start? Connect your Marginalen Bank account at open-banking.io.