Practical examples for using the Houski API.
Select the programming language you want to display the code examples in.
curl -X GET "http://127.0.0.1:8080/avm?api_key=YOUR_API_KEY&property_id=10004f7afe0c1946"
const houski_recipe_data = async (): Promise<AvmResponse> => {
// You must copy the AvmResponse type declarations from the
// Houski API documentation to strongly type the response
const url = new URL('http://127.0.0.1:8080/avm');
url.searchParams.set('api_key', 'YOUR_API_KEY');
url.searchParams.set('property_id', '10004f7afe0c1946');
const response = await fetch(url);
const data = await response.json();
return data;
}
(async () => {
let data: AvmResponse = await houski_recipe_data();
// Log the response
console.log(data);
})();
{
"cache_hit": false,
"cost_cents": 500.0,
"data": {
"address": "6 1744 7 Street SW",
"bathroom_full": 2,
"bathroom_half": 1,
"bedroom": 3,
"city": "Calgary",
"comparable_properties": [
{
"address": "926 19 Avenue SW",
"distance_km": 0.2907145321369171,
"estimate_sale_date_sold": "2024-07-14",
"image": "2451bdbb306cf252_becf0254",
"interior_sq_m": 127.1832046508789,
"latitude": 51.03630065917969,
"list_price": 925000,
"longitude": -114.08334350585938
},
{
"address": "533 22 Avenue SW",
"distance_km": 0.5224830508232117,
"estimate_sale_date_sold": "2026-06-16",
"image": "db4bc6fd8048d72c_88ad1716",
"interior_sq_m": 117.70716857910156,
"latitude": 51.03311538696289,
"list_price": 979800,
"longitude": -114.0734634399414
},
{
"address": "532 19 Avenue SW",
"distance_km": 0.4096251428127289,
"estimate_sale_date_sold": "2026-06-09",
"image": "4e8ab637fe4deea3_2959aa54",
"interior_sq_m": 133.6863555908203,
"latitude": 51.03630447387695,
"list_price": 849999,
"longitude": -114.07335662841795
},
{
"address": "322 22 Avenue SW",
"distance_km": 0.6917150616645813,
"estimate_sale_date_sold": "2024-12-02",
"image": "cd57a749ccbf0e4a_a5db3ff7",
"interior_sq_m": 141.30435180664062,
"latitude": 51.03366470336914,
"list_price": 1058000,
"longitude": -114.07012176513672
},
{
"address": "1813 7 Street SW",
"distance_km": 0.04296400398015976,
"estimate_sale_date_sold": "2026-03-16",
"image": "10e046c92f58690e_850041c2",
"interior_sq_m": 143.1623992919922,
"latitude": 51.03633117675781,
"list_price": 1099000,
"longitude": -114.0797119140625
},
{
"address": "1 2 2122 15 Street SW",
"distance_km": 1.2502657175064087,
"estimate_sale_date_sold": "2025-07-25",
"image": "701703ade795233_3d02be0a",
"interior_sq_m": 126.53289031982422,
"latitude": 51.03578567504883,
"list_price": 999900,
"longitude": -114.09705352783205
},
{
"address": "530 23 Avenue SW",
"distance_km": 0.5622954368591309,
"estimate_sale_date_sold": "2024-09-17",
"image": "afc76584a23b7580_da8b3050",
"interior_sq_m": 140.2824249267578,
"latitude": 51.03273010253906,
"list_price": 1099900,
"longitude": -114.0732421875
},
{
"address": "522 21 Avenue SW",
"distance_km": 0.4816213548183441,
"estimate_sale_date_sold": "2025-08-14",
"image": "1ae3f175c10121c_ed56f72b",
"interior_sq_m": 142.97659301757812,
"latitude": 51.03451919555664,
"list_price": 849000,
"longitude": -114.07280731201172
},
{
"address": "2712 Erlton Street SW",
"distance_km": 1.4146496057510376,
"estimate_sale_date_sold": "2022-08-12",
"image": "1f7c4fe6c8646712_69974dc1",
"interior_sq_m": 126.53289031982422,
"latitude": 51.02934265136719,
"list_price": 945000,
"longitude": -114.06210327148438
},
{
"address": "612 23 Avenue SW",
"distance_km": 0.4856403768062592,
"estimate_sale_date_sold": "2026-05-06",
"image": "dcbdc6996921a055_7388bdb7",
"interior_sq_m": 126.1612777709961,
"latitude": 51.03273010253906,
"list_price": 1175000,
"longitude": -114.0748291015625
}
],
"comparable_properties_total": 46137,
"construction_year": 2006,
"country": "Canada",
"den": 0,
"estimate_list_price": {
"confidence_score": 95.01814270019533,
"model_metrics": {
"coefficient_of_variation": 39.8504753626973,
"error_10th_percentile": 4338.16259765625,
"error_25th_percentile": 11031.234375,
"error_50th_percentile": 25255.4375,
"error_75th_percentile": 53322.8125,
"error_90th_percentile": 106059.9453125,
"error_95th_percentile": 184402.015625,
"forecast_std_dev": 255608.171875,
"mae": 60686.69140625,
"mape": 8.463743209838867,
"mean_bias": -10692.3330078125,
"median_bias": 414.9375,
"median_mape": 4.9818596839904785,
"mse": 65449492480.0,
"over_prediction_rate": 50.320489737126394,
"pct_error_10th": 0.9080060720443726,
"pct_error_90th": 15.432555198669434,
"rmse": 255830.984375,
"testing_r_squared": 0.94,
"training_r_squared": 0.98,
"under_prediction_rate": 49.679510262873606,
"within_10_pct": 77.83939503060857,
"within_15_pct": 89.31220741807707,
"within_20_pct": 94.54807346056896,
"within_5_pct": 50.14043932301044
},
"value": 985289.375
},
"estimate_rent_monthly": {
"confidence_score": 93.83267974853516,
"model_metrics": {
"coefficient_of_variation": 22.798548277028747,
"error_10th_percentile": 29.91469955444336,
"error_25th_percentile": 74.45068359375,
"error_50th_percentile": 169.37689208984375,
"error_75th_percentile": 335.43365478515625,
"error_90th_percentile": 655.9906005859375,
"error_95th_percentile": 1026.8118896484375,
"forecast_std_dev": 668.0843505859375,
"mae": 316.8042297363281,
"mape": 10.418495178222656,
"mean_bias": -44.97128677368164,
"median_bias": -3.4735107421875,
"median_mape": 6.167322635650635,
"mse": 448360.4375,
"over_prediction_rate": 49.36860714736709,
"pct_error_10th": 1.1183578968048096,
"pct_error_90th": 21.039480209350582,
"rmse": 669.5972290039062,
"testing_r_squared": 0.71,
"training_r_squared": 0.86,
"under_prediction_rate": 50.63139285263291,
"within_10_pct": 68.802879151408,
"within_15_pct": 82.28943048364692,
"within_20_pct": 89.08953150650335,
"within_5_pct": 42.044450056825355
},
"value": 3264.86865234375
},
"estimate_sale_price": {
"confidence_score": 94.2463607788086,
"model_metrics": {
"coefficient_of_variation": 44.60855523222251,
"error_10th_percentile": 5113.02490234375,
"error_25th_percentile": 13220.5859375,
"error_50th_percentile": 29188.890625,
"error_75th_percentile": 58933.328125,
"error_90th_percentile": 114315.671875,
"error_95th_percentile": 186286.953125,
"forecast_std_dev": 281802.53125,
"mae": 67590.8359375,
"mape": 9.812854766845703,
"mean_bias": -10934.208984375,
"median_bias": -818.546875,
"median_mape": 5.7536420822143555,
"mse": 79532048384.0,
"over_prediction_rate": 49.140341067934024,
"pct_error_10th": 1.0522005558013916,
"pct_error_90th": 18.072734832763672,
"rmse": 282014.28125,
"testing_r_squared": 0.91,
"training_r_squared": 0.95,
"under_prediction_rate": 50.859658932065976,
"within_10_pct": 72.40704500978474,
"within_15_pct": 85.81213307240705,
"within_20_pct": 91.81576740285156,
"within_5_pct": 45.07268660889013
},
"value": 1007039.125
},
"image": "10004f7afe0c1946_cfcd8c1a",
"interior_sq_m": 126.53289031982422,
"latitude": 51.03611755371094,
"longitude": -114.0792007446289,
"price_history": [
{
"date": "2025-04-05",
"estimate_list_price": 1246703.75,
"estimate_rent_monthly": 3696.97802734375,
"estimate_sale_price": 1084237.0
},
{
"date": "2025-05-05",
"estimate_list_price": 1131942.25,
"estimate_rent_monthly": 3515.64404296875,
"estimate_sale_price": 1091759.625
},
{
"date": "2025-06-04",
"estimate_list_price": 1086310.125,
"estimate_rent_monthly": 3461.307373046875,
"estimate_sale_price": 1097453.0
},
{
"date": "2025-07-04",
"estimate_list_price": 1070948.375,
"estimate_rent_monthly": 3416.4599609375,
"estimate_sale_price": 1110048.5
},
{
"date": "2025-08-03",
"estimate_list_price": 1070948.375,
"estimate_rent_monthly": 3415.769287109375,
"estimate_sale_price": 1112928.5
},
{
"date": "2025-09-02",
"estimate_list_price": 1070948.375,
"estimate_rent_monthly": 3356.6318359375,
"estimate_sale_price": 1118930.75
},
{
"date": "2025-10-02",
"estimate_list_price": 1116353.5,
"estimate_rent_monthly": 3332.473876953125,
"estimate_sale_price": 1135950.0
},
{
"date": "2025-11-01",
"estimate_list_price": 1098763.125,
"estimate_rent_monthly": 3303.2783203125,
"estimate_sale_price": 1136043.125
},
{
"date": "2025-12-01",
"estimate_list_price": 1118185.125,
"estimate_rent_monthly": 3230.425048828125,
"estimate_sale_price": 1037229.875
},
{
"date": "2025-12-31",
"estimate_list_price": 1118185.125,
"estimate_rent_monthly": 3244.417236328125,
"estimate_sale_price": 1028674.3125
},
{
"date": "2026-01-30",
"estimate_list_price": 1129809.0,
"estimate_rent_monthly": 3299.638671875,
"estimate_sale_price": 1032306.5625
},
{
"date": "2026-03-01",
"estimate_list_price": 1124448.375,
"estimate_rent_monthly": 3244.417236328125,
"estimate_sale_price": 1032306.5625
},
{
"date": "2026-03-31",
"estimate_list_price": 1134238.5,
"estimate_rent_monthly": 3313.17236328125,
"estimate_sale_price": 1011515.8125
},
{
"date": "2026-04-30",
"estimate_list_price": 1122743.625,
"estimate_rent_monthly": 3237.92626953125,
"estimate_sale_price": 1012317.75
},
{
"date": "2026-05-30",
"estimate_list_price": 1078400.25,
"estimate_rent_monthly": 3304.5166015625,
"estimate_sale_price": 1017831.75
},
{
"date": "2026-06-29",
"estimate_list_price": 1032075.25,
"estimate_rent_monthly": 3321.47998046875,
"estimate_sale_price": 1015678.1875
},
{
"date": "2026-07-29",
"estimate_list_price": 975430.4375,
"estimate_rent_monthly": 3264.86865234375,
"estimate_sale_price": 1007039.125
},
{
"date": "2026-08-28",
"estimate_list_price": 921448.0625,
"estimate_rent_monthly": 3062.944580078125,
"estimate_sale_price": 1007039.125
},
{
"date": "2026-09-27",
"estimate_list_price": 985289.375,
"estimate_rent_monthly": 3264.86865234375,
"estimate_sale_price": 1007039.125
}
],
"property_id": "10004f7afe0c1946",
"property_type": "House",
"property_warning_flags": [],
"province": "Alberta",
"score_air_quality": 6,
"score_bicycle": 9,
"score_cell_coverage": 10,
"score_curb_appeal": 5,
"score_earthquake": 9,
"score_education": 9,
"score_entertainment": 10,
"score_family": 3,
"score_fire": 10,
"score_flood": 9,
"score_food_and_drink": 10,
"score_hurricane": 10,
"score_internet": 10,
"score_nature": 6,
"score_parking": 10,
"score_quiet": 4,
"score_retirement": 3,
"score_safety": 6,
"score_shopping": 9,
"score_smell": 6,
"score_tornado": 8,
"score_total": 8,
"score_total_percent": 0.7599999904632568,
"score_traffic": 1,
"score_transit": 9,
"score_walkability": 10,
"score_water_quality": 8,
"valuation_date": "2026-09-27"
},
"error": "",
"price_quote": false,
"time_ms": 541,
"url": "https://www.houski.ca/avm-report/10004f7afe0c1946_536a8ab4"
}