Mortgage Rates Time Series
Retrieve historical time series data for mortgage rates from New Zealand financial institutions.
This endpoint provides historical time series data for mortgage rates, allowing you to analyze trends and changes over time. The data is stored in Cloudflare D1 database, enabling efficient querying of historical datasets.
Response Data
The response includes:
- Timestamp for each data point
- Institution name and ID
- Interest rates for different term periods (6 months, 1 year, 2 years, etc.)
- Floating/variable rates
- Special rates and promotional offers
- Loan-to-value ratio requirements
Use Cases
- Historical Analysis: Track how mortgage rates have changed over time to identify trends and patterns
- Comparative Studies: Compare rate changes across different institutions to identify competitive offerings
- Economic Research: Correlate interest rate changes with wider economic indicators
- Predictive Modeling: Develop forecasting models based on historical rate movements
- Visualization Tools: Create interactive charts and graphs showing rate trends over time
Notes on Data Storage
The time series data is stored in Cloudflare D1, a serverless SQL database built on SQLite. This allows for:
- Efficient querying of historical datasets
- Fast retrieval of large time series datasets
- Reliable data persistence and backup
- Scalable performance for growing historical datasets
Query Parameters
Date in YYYY-MM-DD format for historical data
"2025-03-01"
Start date in YYYY-MM-DD format for time series range
"2025-01-01"
End date in YYYY-MM-DD format for time series range
"2025-03-01"
Optional institution ID to filter time series data
"institution:anz"
Optional mortgage term in months to filter by
"6"
Response
MortgageRatesTimeSeries
Time series data keyed by date in YYYY-MM-DD format
List of all available dates in YYYY-MM-DD format
Current server timestamp
"2025-03-04T02:30:00.000Z"