Skip to main content

Official Python SDK for NBG APIs

Project description

NBG Python SDK

Downloads of nbg on PyPI nbg is packaged as wheel Supported Python versions of nbg Documentation Status

The nbg Python package enables developers to build applications that use the public APIs of the National Bank of Greece.


We suggest using a package manager like Poetry or Pipenv to install nbg. This guarantees that the intended version of nbg will be installed every time, through content hash checks:

poetry add nbg

Alternatively you can use Pipenv:

pipenv install nbg

In case you cannot use Poetry or Pipenv, you can always install nbg with pip:

pip install nbg


The full documentation for the NBG Python SDK is hosted at Read the Docs:

API clients

The National Bank of Greece provides a set of multiple APIs. To use each one of these APIs, you should pick the corresponding client from the nbg package.

Accounts Information PSD2 API

from nbg import account_information

# Step 1 - Set up client and authentication
client = account_information.AccountInformationPSD2Client(

# Step 2 - Set up a sandbox, when in development
sandbox_id = f"{client_id}_sandbox"

# Step 3 - Start working with the Account information API
accounts = client.accounts(user_id="your_user_id")

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nbg, version 0.7.1
Filename, size File type Python version Upload date Hashes
Filename, size nbg-0.7.1.tar.gz (19.8 kB) File type Source Python version None Upload date Hashes View
Filename, size nbg-0.7.1-py3-none-any.whl (24.3 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page