Avanza Tools

avanza-ts SDK

TypeScript SDK for Avanza applications.

avanza-ts is an ESM-first TypeScript SDK for Avanza. It owns the HTTP transport and an in-memory session; your application decides how to store credentials and present results.

Start with installation and your first request, then read how to get a TOTP secret and session duration. Browse the public API and its generated signatures. See For AI agents for Markdown versions of these docs.

For AI agents

Use the documentation index to find individual Markdown pages, or read all docs as Markdown. You can also copy or view the Markdown from any page using the controls above.

Disclaimer

This is an unofficial TypeScript SDK for Avanza's API. It is not affiliated with Avanza Bank AB. The underlying API can be taken down or changed without warning at any point in time.

The author of this software is not responsible for any indirect damages (foreseeable or unforeseeable), such as, if necessary, loss or alteration of or fraudulent access to data, accidental transmission of viruses or of any other harmful element, loss of profits or opportunities, the cost of replacement goods and services or the attitude and behavior of a third party.

On this page