Commonwealth Bank APIcommonwealthbank.com.au ↗
Retrieve CommBank home loan and personal loan rates, comparison rates, fees, and LVR-based margin tiers via 3 structured endpoints.
What is the Commonwealth Bank API?
The CommBank Loans API exposes loan product data from Commonwealth Bank of Australia across 3 endpoints. get_all_loans combines home and personal loan data into a single response, while get_home_loans returns principal-and-interest rates, interest-only variants, wealth package tiers, and LVR-based margins, and get_personal_loans returns interest and comparison rates for Fixed Rate, Variable Rate, and Secured personal loan products.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/11c2d6cd-56dd-4b7d-b645-e80948c44ea8/get_all_loans' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace commonwealthbank-com-au-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: CommBank Loans API — list home and personal loan products with rates."""
from parse_apis.commbank_loans_api import CommBank, HomeLoan, PersonalLoan, LoanCatalog, UpstreamError
commbank = CommBank()
# Get the full loan catalog (home + personal) in one call
catalog = commbank.loancatalogs.get()
print(catalog.metadata.institution, catalog.metadata.note)
# List all home loan products with their fees and principal-and-interest rates
for loan in commbank.homeloans.list(limit=5):
pi = loan.variation.principal_and_interest
print(loan.name, loan.type, loan.fees.establishment, pi.rate, pi.comparison_rate)
# Drill into one home loan's interest-only wealth package margins
loan = commbank.homeloans.list(limit=1).first()
if loan and loan.variation.interest_only.wealth_package:
wp = loan.variation.interest_only.wealth_package
for tier in wp.margins[:3]:
print(tier.code, tier.rate, tier.discount, tier.min_amount, tier.max_amount)
# List personal loan products with detected rates
for personal in commbank.personalloans.list(limit=3):
print(personal.product_name, personal.all_detected_rates_pa, personal.detected_comparison_rates_pa)
# Typed error handling
try:
for loan in commbank.homeloans.list(limit=1):
print(loan.name, loan.fees.ongoing)
except UpstreamError as exc:
print(f"Upstream issue: {exc}")
print("exercised: loancatalogs.get / homeloans.list / personalloans.list / typed error catch")
Retrieve all loan products (Home and Personal) in a single call. Returns home loan data from CommBank's internal rates API combined with personal loan rates scraped from product pages. Home loans include principal-and-interest and interest-only rates, wealth package variants, and LVR-based margin tiers. Personal loans include detected interest and comparison rates for Fixed, Variable, and Secured products.
No input parameters required.
{
"type": "object",
"fields": {
"metadata": "object with institution name and notes",
"home_loan_products": "array of home loan product objects with id, name, type, fees, and variation details including rates and margins",
"personal_loan_products": "array of personal loan product objects with product_name, source_url, all_detected_rates_pa, and detected_comparison_rates_pa"
},
"sample": {
"data": {
"metadata": {
"note": "Business loans are tailored; rates for savings/deposits/cards available on other hub pages.",
"institution": "Commonwealth Bank of Australia (CommBank)"
},
"home_loan_products": [
{
"id": 1,
"fees": {
"ongoing": 8,
"package": 0,
"settlement": 200,
"establishment": 600
},
"name": "Standard Variable Rate Home Loan",
"type": "V",
"loan_type": "standard",
"variation": {
"interest_only": {
"rate": 9.29,
"comparison_rate": 9.17
},
"principal_and_interest": {
"rate": 8.8,
"comparison_rate": 8.94
}
}
}
],
"personal_loan_products": [
{
"source_url": "https://www.commbank.com.au/personal-loans/fixed-rate-loan/rates-and-fees.html",
"product_name": "Fixed Rate Personal Loan",
"all_detected_rates_pa": [
"7.25",
"8.30",
"16.25",
"22.25",
"23.12"
],
"detected_comparison_rates_pa": [
"22.25"
]
}
]
},
"status": "success"
}
}About the Commonwealth Bank API
What the API covers
The API returns structured loan product data from Commonwealth Bank (CommBank), Australia's largest retail bank. It covers two loan categories — home loans and personal loans — across three endpoints. All endpoints are parameterless; you call them and receive the full current dataset for that category.
Home loan data (get_home_loans)
get_home_loans returns an array of home loan product objects. Each object includes an id, name, type, and fees, plus a variation structure that carries rate details. Variations distinguish principal-and-interest from interest-only repayment types, and include wealth package product variants. Rates are expressed alongside LVR-based margin tiers, so you can see how the advertised rate shifts across different loan-to-value bands. This is the data set useful for rate comparison tools and mortgage calculators.
Personal loan data (get_personal_loans)
get_personal_loans returns personal loan products including Fixed Rate, Variable Rate, and Secured loan types. Each record includes product_name, source_url, all_detected_rates_pa, and detected_comparison_ra. The comparison rate field is particularly useful for total-cost comparisons, as it factors in fees that the headline rate omits.
Combined endpoint
get_all_loans merges both datasets into one response. It returns a metadata object (institution name and notes), home_loan_products, and personal_loan_products. Use this endpoint when you need a complete picture of CommBank's consumer loan range in a single call.
The Commonwealth Bank API is a managed, monitored endpoint for commonwealthbank.com.au — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when commonwealthbank.com.au changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official commonwealthbank.com.au API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Build a home loan rate comparison tool that tracks CommBank's LVR-based margin tiers over time
- Monitor CommBank's advertised vs. comparison rates on personal loans to surface total cost differences
- Feed current CommBank interest rates into a mortgage repayment calculator
- Alert users when CommBank's fixed or variable personal loan rates change
- Aggregate CommBank home loan fees alongside rates for side-by-side lender analysis
- Track wealth package rate variants separately from standard home loan products
- Populate a financial research dashboard with up-to-date CommBank consumer loan data
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Commonwealth Bank have an official public developer API for loan rates?+
What does `get_home_loans` return beyond the headline interest rate?+
fees, type, and a variation structure that covers repayment type (principal-and-interest vs. interest-only), wealth package variants, and LVR-based margin tiers. This means you can reconstruct the effective rate for a given loan-to-value ratio and product configuration, not just the headline advertised rate.