PHPackages                             walle89/swedbank-json - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. walle89/swedbank-json

ActiveLibrary[API Development](/categories/api)

walle89/swedbank-json
=====================

Unofficial API client for the Swedbank's and Sparbanken's mobile apps in Sweden.

v1.0.0(4y ago)752.5k19[3 issues](https://github.com/walle89/SwedbankJson/issues)[1 PRs](https://github.com/walle89/SwedbankJson/pulls)MITPHPPHP &gt;=5.5

Since May 14Pushed 11mo ago9 watchersCompare

[ Source](https://github.com/walle89/SwedbankJson)[ Packagist](https://packagist.org/packages/walle89/swedbank-json)[ Docs](https://github.com/walle89/SwedbankJson)[ RSS](/packages/walle89-swedbank-json/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (23)Used By (0)

Caution

This project is not affiliated with, endorsed by, or associated with Swedbank, Sparbanken, or any of their subsidiaries. All trademarks and brand names are the property of their respective owners. Use of the information and resources provided in this repository is for educational and interoperability purposes only and may be subject to legal or policy restrictions.

SwedbankJson
============

[](#swedbankjson)

Unofficial API client for the Swedbank's and Sparbanken's mobile apps in Sweden.

- Overview of your bank accounts, loans, debit and credit cards
- List account transactions
- Transfer money between accounts
- Sign in with different profiles, ideal for Swedbank Företag app users
- Activate, deactivate, and view quick balance (aka. snabbsaldo)
- No authentication required to view quick balance, ideal for unattended monitoring and automation

**Authentication methods**

- Mobile BankID
- Security token with one time code

Security
--------

[](#security)

All SwedbankJson API client traffic is TLS encrypted and strictly between your device/server that runs the code and Swedbank's servers. The client can not and will not send any information to any third party for any reason.

Installation and documentation
------------------------------

[](#installation-and-documentation)

- [Introduction and installation](INSTALL.md)
- [Authentication methods](docs/authentication.md)
- [Reference](docs/reference.md)

Code example
------------

[](#code-example)

List bank statements with authentication method [security token with one time code](docs/authentication.md#security-token-with-one-time-code).

```
$auth     = new SwedbankJson\Auth\SecurityToken($appData, $username, $challengeResponse);
$bankConn = new SwedbankJson\SwedbankJson($auth);

$accountInfo = $bankConn->accountDetails();
$bankConn->terminate(); // Sign out

echo 'Bank statements
';
print_r($accountInfo);
```

All API endpoints do not require to sign in. One example is quick balance.

```
$auth     = new SwedbankJson\Auth\UnAuth($appData);
$bankConn = new SwedbankJson\SwedbankJson($auth);

$quickBalance = $bankConn->quickBalance($subID);

echo 'Quick balance
';
print_r($quickBalance);
```

FAQ
---

[](#faq)

### Can I install SwedbankJson without Composer?

[](#can-i-install-swedbankjson-without-composer)

No, it's either recommended or supported. It's much easier to use Composer than manually download all the dependencies. [Read more about installing with Composer](docs/composer.md).

### Is SwedbankJson compatible with Swedbank's non-swedish apps?

[](#is-swedbankjson-compatible-with-swedbanks-non-swedish-apps)

To the best of my knowledge, the API utilized by SwedbankJson is specific to the Swedish market and is not used by banking apps outside of Sweden.

### Why use the mobile apps API instead of the official Open Banking API?

[](#why-use-the-mobile-apps-api-instead-of-the-official-open-banking-api)

In short, if you have access to the Swedish mobile banking apps for certain major banks, this library can be used immediately to, for example, log in and fetch real transaction data (i.e., production access).

To obtain similar production access through the official Open Banking API, the following are generally required:

1. Hold a PISP, AISP, or equivalent license from a local financial regulatory authority such as [Finansinspektionen](https://www.fi.se/sv/betalningar/andra-betaltjanstdirektivet-psd-2/). Applying for such a license may involve fees.
2. Valid QSEAL and QWAC certificates.
3. Apply for and receive approval for production access from the bank.

In summary, getting started with the official Open Banking API typically involves a lengthy, complex, and costly process.

Support and Feedback
--------------------

[](#support-and-feedback)

This project utilize GitHub Issues for both support and feedback. Before creating a new issue, please do the following:

1. Check the documentation (see links under [Installation and documentation](#installation-and-documentation)).
2. [Search in issues](https://github.com/walle89/SwedbankJson/issues).

If you didn't find your answer, you are welcome to [create a new issue](https://github.com/walle89/SwedbankJson/issues).

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 98.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~156 days

Recently: every ~173 days

Total

18

Last Release

1718d ago

Major Versions

0.7.6 → v1.0.02021-08-28

PHP version history (2 changes)0.2.0PHP &gt;=5.4

v0.6.0PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb61a0cff01b0e27c721fe14ef0d442189c0feb9c638b7395f1e3b69a47b42f3?d=identicon)[walle89](/maintainers/walle89)

---

Top Contributors

[![walle89](https://avatars.githubusercontent.com/u/225431?v=4)](https://github.com/walle89 "walle89 (301 commits)")[![bankshark](https://avatars.githubusercontent.com/u/11736384?v=4)](https://github.com/bankshark "bankshark (1 commits)")[![jarnheimer](https://avatars.githubusercontent.com/u/1903647?v=4)](https://github.com/jarnheimer "jarnheimer (1 commits)")[![matthiaspalmer](https://avatars.githubusercontent.com/u/138578?v=4)](https://github.com/matthiaspalmer "matthiaspalmer (1 commits)")[![NisseDILLIGAF](https://avatars.githubusercontent.com/u/1413322?v=4)](https://github.com/NisseDILLIGAF "NisseDILLIGAF (1 commits)")

---

Tags

api-clientbank-statementscomposermit-licensephpswedbankswedbank-apiswedbankjsonswedenjsonapiwrapperSwedbank

### Embed Badge

![Health badge](/badges/walle89-swedbank-json/health.svg)

```
[![Health](https://phpackages.com/badges/walle89-swedbank-json/health.svg)](https://phpackages.com/packages/walle89-swedbank-json)
```

###  Alternatives

[gabrielbull/ups-api

PHP UPS API

4642.4M10](/packages/gabrielbull-ups-api)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)[wayofdev/laravel-symfony-serializer

📦 Laravel wrapper around Symfony Serializer.

2113.6k](/packages/wayofdev-laravel-symfony-serializer)[lasserafn/laravel-economic

Economic REST wrapper for Laravel

1118.5k](/packages/lasserafn-laravel-economic)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
