Skip to main content

The Monobank API wrapper for Python

Project description

monobank-api - The Monobank API wrapper for Python


Python client for Monobank open API (


pip install monobank-api

or add to to your requirements.txt monobank-api==0.1.1 and run

pip install -r requirements.txt


Without authorization

Monobank open API allows making certain requests without any authorization.

from monobank_api import BaseAPI

mono = BaseAPI()
currencies = mono.get_currency()

Personal token

Request and activate your token at

from monobank_api import PersonalAPI

PERSONAL_TOKEN = "copy token here"

Authorization request

The corporate API documentation (

To use this authorization method, you'll need to generate a key and contact Monobank team.

Generate private key

openssl ecparam -genkey -name secp256k1 -out private_key.key

NOTE: Do not share this key with anyone.

Generate public key

openssl ec -in private_key.key -pubout >

For more information check the Monobank API documentation.

Usage example

from monobank_api import CorporateAPI

# the url has to be used by the user to confirm authorization
mono = CorporateAPI.request_auth("./private_key.pem")

if mono.check_auth():
    user_info = mono.get_client_info()


The MIT License (MIT). Please see License for more information.

Project details

Download files

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

Built Distribution

monobank_api-0.1.1-py3-none-any.whl (9.6 kB view hashes)

Uploaded py3

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