RateSonar

v0.2.0
com.ratesonar/rates Checked 4 days ago Published 19 days ago

Dated record of advertised Australian bank and lender rates, plus RBA curves.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_products

Find current products by lender and words in the product name, e.g. institution "CBA" and query "standard variable". Returns institution_id and product_id for each match, with category, rate and observed_date. A product is the pair (institution_id, product_id): pass both to rate_history or rate_details. Use compare_rates instead to rank lenders for a category.

ParameterTypeDescription
categorystringOptional product category.
institutionstringA lender id or name, e.g. "cba", "Westpac", "Bendigo Bank".
limitintegerProducts to return. Default 10.
querystringWords in the product name, e.g. "standard variable" or "bonus saver".

compare_rates

Current comparison across institutions for a product category (home_loan | savings | term_deposit | credit_card | personal_loan | car_loan | business_loan): each product at its own most recent observation (observedDate tells you how fresh). Home loans can be filtered by loanPurpose/repaymentType/rateType — the headline home-loan rate is the owner-occupied P&I rate whose LVR band covers 80%. Term deposits take termMonths (the published rate for that term, e.g. 6 or 12) and deposits take customerSegment. Standard products only unless audience says otherwise. Returns the best `limit` rows (defa…

ParameterTypeDescription
category *stringProduct category to compare.
asOfstringHistorical snapshot date YYYY-MM-DD. Defaults to each product's latest observation.
audiencestringWho the product is for. Default standard (untagged rows count as standard); "any" includes green, veteran, SMSF, construction and other special-purpose products.
customerSegmentstringsavings and term_deposit only: personal or business products.
limitintegerRows to return, best first. Default 25, at most 40.
loanPurposestringLoans only: filter by purpose.
rateTypestringLoans only: rate structure.
repaymentTypestringLoans only: principal-and-interest vs interest-only.
termMonthsintegerterm_deposit only: rank each product's published rate for this term in months (6, 12, 24 …).

rate_history

Advertised rate history for one product (institutionId and productId). Returns each recorded rate, comparison rate and fees between two dates, with the date each was recorded. RateSonar's record starts 2026-06-12. Pass grid:true to also get `grid`, one point per day: status 'observed' on a recorded day; 'carried-forward' with sourceDate and fill {from, through, ageDays, reason:'no-record'} on a day RateSonar has no record for, carrying the last recorded rate (never the next one) until the next record. After the last record it carries only while RateSonar's gap ledger shows the product still ex…

ParameterTypeDescription
productId *stringProduct id from find_products or compare_rates, e.g. "f1d6fcc359804f3c9365d576c56356fc" with institutionId "cba" (CBA Standard Variable Rate Home Loan, owner occupied).
fromstringStart date YYYY-MM-DD (inclusive). Optional.
gridbooleanAlso return `grid`: one labelled point per day (observed or carried-forward), at most 367 days. A wider window returns `gridError` (pass from/to) and keeps `observations`. Default false.
institutionIdstringInstitution id, e.g. "cba". Pass it with every productId: a product is the pair (institutionId, productId).
tostringEnd date YYYY-MM-DD (inclusive). Optional.

rate_details

Exact CDR product-reference detail for one institution and product: every published lending or deposit rate entry and tier, with fees, features, eligibility, constraints, source quality flags, the date the version was recorded and the lender's own links. asOf returns the version current on that date. Detail exists for CDR products from 2026-06-12; it holds the conditions a headline rate leaves out.

ParameterTypeDescription
institutionId *stringInstitution id, e.g. "nab".
productId *stringCDR product id.
asOfstringLatest snapshot on or before YYYY-MM-DD. Optional.

rate_changes

Recent change-events, newest first: a rate moved, a product was added, or a product was withdrawn. Each event has the lender, the product's name and category, and field-level deltas (e.g. rate [6.09, 5.89], bps -20). Filter by institutionId, category, kind and direction. Returns `limit` events (default 50, at most 200); `truncated` says more match. This is a diff of RateSonar's consecutive captured observations.

ParameterTypeDescription
categorystringOptional product category, e.g. term_deposit.
directionstringOptional: only rate rises (up) or cuts (down).
institutionIdstringOptional, e.g. "cba". Omit for all lenders.
kindstringOptional event kind.
limitintegerEvents to return. Default 50.
sinceDaysintegerLook-back window in days. Default 14.

list_series

Every standard series slug the series tool accepts, with its label, kind (level or spread) and unit (% or bps). Call this before series when you do not know the slug.

series

Standardized rate series: named LEVEL series (hl.var.oo.pi = headline variable home loan; sav.max; td.12m; biz.loan.var; cash = RBA cash rate…) and SPREAD series in bps (spread.hl.var-cash = lending pass-through; spread.hl.var-sav.max = the margin; spread.hl.var-hl.fix.36m = variable vs 3yr fixed…), per institution per day. Last-known values are explicitly status:'carried-forward' with sourceDate and fill {from, through, ageDays, reason:'no-record'} (through = the next recorded date; null = the gap is open, or no record within 60 days after the window end). Between two records the last rat…

ParameterTypeDescription
slugs *arraySeries slugs from list_series, e.g. ["hl.var.oo.pi", "spread.hl.var-cash"].
fromstringStart date YYYY-MM-DD.
institutionsarrayInstitution ids, e.g. ["cba","anz"].
medianbooleanAdd a _median market line per slug.
tostringEnd date YYYY-MM-DD.

bank_position

Selected bank deposit and loan contracts against matching peer brands, own recorded history, RBA cash and dated funding disclosures. Pass an institutionId and product cohort. No claims about private ALM, intent or margins.

ParameterTypeDescription
institutionId *stringInstitution id from find_products or the bank desk.
amountnumber
depositKeystringOptional exact contract key from the cohort.
depositKindstring
loanKeystring
loanKindstring
paymentstring
questionstring

bank_analysis

An evidence-checked AI reading of bank_position. Supports savings or term deposits against variable/fixed home loans, card purchase rates, personal, car or business loans. Returns cited claims, inference labels and dated records; partial readings name withheld sections; unavailable or rejected AI leaves the records intact. No supplied rates accepted.

ParameterTypeDescription
institutionId *stringInstitution id from find_products or the bank desk.
amountnumber
depositKeystringOptional exact contract key from the cohort.
depositKindstring
loanKeystring
loanKindstring
paymentstring
questionstring

yield_curve

RBA curve nodes for an exact date or the latest publication: cash and bond yields as published, and the RBA's fitted zero, forward and discount curves (each point says whether it is observed or derived), with optional exact comparison date, instrument details, source digest and convention. Eight distinct cash/government families; no intraday OIS, BBSW, swap or futures feed. Zero/forward fitted data publish monthly.

ParameterTypeDescription
compareDatestringOptional exact second observation date.
datestringExact observation date YYYY-MM-DD; omit for latest. No silent carry-forward.
familystring

curve_pipeline_status

Validation, freshness, missing families, source hashes and last-good fallback status of the automated curve pipeline. An unhealthy response is evidence of a pipeline problem, not bank risk.