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.1(2w ago)772.5k21[4 issues](https://github.com/walle89/SwedbankJson/issues)[1 PRs](https://github.com/walle89/SwedbankJson/pulls)MITPHPPHP &gt;=5.5CI failing

Since May 14Pushed 2w 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 1w ago

READMEChangelog (8)Dependencies (10)Versions (24)Used By (0)

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

[](#swedbankjson)

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

Important

**Independent project.** SwedbankJson is not affiliated with or endorsed by Swedbank AB or any savings bank operating under the Sparbanken name. All trademarks belong to their respective owners.

**Responsible use.** This software is intended for education, research, and interoperability. Use it only with accounts and systems you are authorized to access, and comply with applicable laws and service terms.

- 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

57

—

FairBetter than 98% of packages

Maintenance96

Actively maintained with recent releases

Popularity33

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 ~247 days

Recently: every ~617 days

Total

19

Last Release

14d 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 (304 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-apiswedbankjsonswedenjsonapiclientBanking

### 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

[laravel/framework

The Laravel Framework.

34.9k556.2M21.3k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M774](/packages/sylius-sylius)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

11.3k4.0k](/packages/leantime-leantime)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

608.3M51](/packages/resend-resend-php)

PHPackages © 2026

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