Skip to main content

Unoffical Browser Based Python API of 5paisa

Project description


Unoffical Browser Based Python API of 5paisa made at Unofficed.

Its created live today morning only.

Feel Free to Tweak it, Modify it and Add the rest of the missing functions to it at your pace.


Use the package manager pip to install api5paisa.

pip install api5paisa


from api5paisa import Api5Paisa

api = Api5Paisa()
api.login("email or clientId", "passowrd", "dob in the format ddMMyyyy")
#for easy access create ~/.5paisa.conf and user api.login() refer examples/5paisa.conf

#Get Margin

#Get Trade Book

#Firing Order
order_response = api.order('SBIN', 170.2, 1)


For Documentation and Sample Code, Refer -


For Discussion and Improving this Code, Join -



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 api5paisa, version 0.0.9
Filename, size File type Python version Upload date Hashes
Filename, size api5paisa-0.0.9-py3-none-any.whl (17.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size api5paisa-0.0.9.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

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