Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

137
Views
Login to Bank via Python Requests

I've been looking into logging in to my bank (Westpac AU) through python requests and retrieving some transaction data. I've combed through the web and stackoverflow and whilst many aim for the same goal, I don't believe I haven't seen anyone providing much detail on whether it's actually possible.

The bank in question uses Javascript and it looks they use Fiserv services to encrypt(?) certain information. They do not have an API either (for personal use).

Here's my current code (though is quite amateurish, I'm only currently experimenting) -

from requests_html import HTMLSession
from bs4 import BeautifulSoup
"""
from msedge.selenium_tools import Edge, EdgeOptions


options = EdgeOptions()
options.use_chromium = True

driver = Edge(options = options)
"""


EAM_URL = "https://banking.westpac.com.au/eam/servlet/getEamInterfaceData"
LOGIN_URL = "https://banking.westpac.com.au/wbc/banking/handler?TAM_OP=login&segment=personal&logout=false"
SUBMIT_URL = 'https://banking.westpac.com.au/eam/servlet/AuthenticateHttpServlet'

headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.55",
           }

data = {"username":"", "password","halgm","brand","__RequestVerificationToken","guidID"}

with HTMLSession() as session:
    login_req = session.get(LOGIN_URL, cookies={}
                            )
    eam1 = session.get(EAM_URL)
    eam2 = session.get(EAM_URL)
    print(dict(login_req.cookies))

I don't really know where to start either.

This is my last try before I experiment with Selenium, so I thought I'd see if anyone knows. Thanks.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!