This page contains examples of common use cases for the Houski API.
You can copy and paste the code examples into your own application.
Select the programming language you want to display the code examples in.
curl -X GET "https://api.houski.ca/properties?api_key=YOUR_API_KEY&country_abbreviation=ca&estimate_rent_date_listed_gte=2025-06-21&select=estimate_rent_date_listed"
const houski_recipe_data = async (): Promise<PropertiesResponse> => { // You must copy the PropertiesResponse type declarations from the // Houski API documentation to strongly type the response const url = new URL('https://api.houski.ca/properties'); url.searchParams.set('api_key', 'YOUR_API_KEY'); url.searchParams.set('country_abbreviation', 'ca'); url.searchParams.set('estimate_rent_date_listed_gte', '2025-06-21'); url.searchParams.set('select', 'estimate_rent_date_listed'); const response = await fetch(url); const data = await response.json(); return data; } (async () => { let data: PropertiesResponse = await houski_recipe_data(); // Log the response console.log(data); })();
{ "cache_hit": false, "cost_cents": 1.8000000715255735, "data": [ { "address": "2415 Casselman Crescent Southwest", "property_id": "100d77cb857cde30" }, { "address": "108 Wolf Hollow Villas SE", "property_id": "1106c8c458767fe" }, { "address": "1345 Lacon", "property_id": "111d115bee3dca0" }, { "address": "9155 155 Street Northwest", "property_id": "116b48e60fc0d0da" }, { "address": "4144 Maryvale Road Northeast", "property_id": "11fbef181801cc2" }, { "address": "20308 44 Avenue Northwest", "property_id": "14dc3d7496591224" } ], "error": "", "pagination": { "current_page": 1, "has_next_page": true, "has_previous_page": false, "page_total": 47 }, "price_quote": false, "result_total": 280, "time_ms": 176, "ui_info": { "country": "Canada", "country_abbreviation": "CA", "country_abbreviation_id": "9ace2b6431b7f1be", "country_abbreviation_link": "ca", "country_slug": "canada" } }