addedInput schema / examples
Added value: +[
+ {
+ "window": "1y"
+ },
+ {
+ "as_of": "2024-01-15",
+ "window": "5y"
+ }
+]
addedOutput schema / properties / as_of_snapshot
Added value: +{
+ "properties": {
+ "date": {
+ "description": "Closest observation on or before requested as_of date",
+ "type": "string"
+ },
+ "rate_30yr": {
+ "description": "30-year fixed mortgage rate (percent)",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+}
removedOutput schema / properties / current_rate
Removed value: -{
- "description": "Latest mortgage rate (%)",
- "type": "number"
-}
removedOutput schema / properties / error
Removed value: -{
- "description": "Error message if data unavailable",
- "type": "string"
-}
addedOutput schema / properties / latest
Added value: +{
+ "properties": {
+ "date": {
+ "description": "ISO date of latest observation",
+ "type": "string"
+ },
+ "rate_30yr": {
+ "description": "30-year fixed mortgage rate (percent)",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+}
removedOutput schema / properties / note
Removed value: -{
- "description": "Data source (Freddie Mac Primary Mortgage Market Survey)",
- "type": "string"
-}
removedOutput schema / properties / snapshot_date
Removed value: -{
- "description": "ISO date of latest observation",
- "type": "string"
-}
removedOutput schema / properties / statistics
Removed value: -{
- "properties": {
- "average": {
- "description": "Average rate in window",
- "type": "number"
- },
- "maximum": {
- "description": "Max rate in window",
- "type": "number"
- },
- "minimum": {
- "description": "Min rate in window",
- "type": "number"
- },
- "observations": {
- "description": "Number of observations in window",
- "type": "integer"
- }
- },
- "type": "object"
-}
addedOutput schema / properties / stats
Added value: +{
+ "properties": {
+ "avg": {
+ "description": "Average rate in window (percent)",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "max": {
+ "description": "Maximum rate in window (percent)",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "min": {
+ "description": "Minimum rate in window (percent)",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+}
addedOutput schema / properties / time_series / description
Added value: +"Historical mortgage rates in chronological order"
changedOutput schema / properties / time_series / items / properties / date / description
Previous value: -"Observation date (YYYY-MM-DD)"New value: +"ISO date of observation"
removedOutput schema / properties / time_series / items / properties / rate
Removed value: -{
- "description": "Mortgage rate (%)",
- "type": "number"
-}
addedOutput schema / properties / time_series / items / properties / rate_30yr
Added value: +{
+ "description": "30-year fixed mortgage rate (percent)",
+ "type": [
+ "number",
+ "null"
+ ]
+}
removedOutput schema / required
Removed value: -[
- "snapshot_date",
- "window"
-]