# HouseSigma Property Scraper (Bypass Limit) (`redoy49/housesigma-scraper`) Actor

Extract all property listings from HouseSigma without the 9-page (180 items) UI limit. High-speed zero-browser extraction for For-Sale, Sold, Delisted, and Leased homes with pricing, coordinates, and formatted Excel/CSV export.

- **URL**: https://apify.com/redoy49/housesigma-scraper.md
- **Developed by:** [Redoy Al Hasan](https://apify.com/redoy49) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## HouseSigma Property Scraper

Extract all property listings from HouseSigma without the 9-page (180 listings) limit. High-speed zero-browser extraction for active, sold, delisted, and leased properties with map coordinates, pricing, and formatted Excel and CSV exports.

### Why Use This Scraper?

HouseSigma's official web interface artificially caps map search results at 9 pages (20 properties per page = 180 total properties), even when hundreds or thousands of listings are available in a municipality or region.

This Actor completely bypasses the 9-page restriction by directly connecting to HouseSigma's underlying encrypted data layer. It retrieves the entire inventory of properties (for example, all 800+ delisted listings in Hamilton or thousands of properties across Greater Toronto Area) in seconds.

### How It Works

1. Search on HouseSigma (housesigma.com) with your desired city, status (For Sale, Sold, Delisted, Leased), price range, or property type.
2. Copy the URL from your browser address bar.
3. Paste the URL into the startUrls input of this Actor.
4. Run the Actor. All properties matching your filters will be extracted beyond the 9-page barrier.

If you do not have a URL, you can optionally provide just the City name (e.g. Hamilton, Toronto) and choose a Status from the dropdown.

### Key Features

- Complete Inventory Extraction: Overcomes the 180-listing UI cap. Extract hundreds or thousands of listings in a single run.
- Zero-Browser High Speed: Operates entirely via encrypted API endpoints without launching heavy headless browsers, delivering results at 40 to 60 listings per second.
- Automatic Filter Resolution: City, municipality, province, status (Delisted, For Sale, Sold, Leased), and sorting are automatically detected from the input URL.
- Clean, Structured Outputs: Automatically normalizes addresses, unmasks street names from SEO slugs, separates municipality and province, and parses coordinates.
- Dual Spreadsheet Exports: Automatically generates a professionally styled Excel spreadsheet (OUTPUT.xlsx) with colored status badges and clickable property links, plus a standardized UTF-8 CSV file (OUTPUT.csv) in the Key-Value Store.
- Full Spatial Coordinates: Latitude and longitude for every listing for mapping, GIS, and spatial clustering.

### Input Parameters

| Parameter | Type | Required | Default | Description |
| :--- | :--- | :--- | :--- | :--- |
| startUrls | Array | No | Sample Hamilton URL | One or more HouseSigma map or search URLs with your filters applied. Municipality IDs, city slugs, and status filters are parsed automatically. |
| city | String | No | - | Optional city name (e.g., Hamilton, Toronto, Mississauga). Only used if no start URL is provided. |
| status | Select | No | sale-delisted | Optional property status filter (sale-delisted, for-sale, sold, for-lease, leased). Only used if no start URL is provided. |
| maxItems | Integer | No | 100 | Maximum number of property listings to collect. The web UI stops at 180 (9 pages), but this actor can extract all available listings. |

### Output Fields

Each record pushed to the dataset and spreadsheets contains only essential, high-value real estate data:

| Field | Type | Description |
| :--- | :--- | :--- |
| listingId | String | HouseSigma unique listing identifier. |
| address | String | Normalized street address (unmasked from SEO slug). |
| municipality | String | City or municipality name (e.g., Hamilton, Toronto). |
| province | String | Two-letter Canadian province code (e.g., ON, BC, AB). |
| listStatus | String | Listing status (e.g., Terminated, Expired, For Sale, Sold). |
| houseType | String | Property structure type (Detached, Semi-Detached, Condo Townhouse, Apartment). |
| houseStyle | String | Architectural style (e.g., Bungalow Raised, 2-Storey, Sidesplit). |
| price | String | Listed asking price or sign-in indicator. |
| priceSold | String | Sold price if applicable and accessible. |
| bedrooms | Number | Number of bedrooms. |
| washrooms | Number | Number of bathrooms. |
| parking | Number | Total parking spaces including garage. |
| areaSqFt | String | Square footage of the property interior. |
| rentYield | String | Estimated rental yield percentage (e.g., 3.3%). |
| dateStatusChange | String | Relative timestamp of the last status change. |
| latitude | Number | Latitude coordinate for mapping. |
| longitude | Number | Longitude coordinate for mapping. |
| url | String | Canonical HouseSigma listing web URL. |
| photoUrl | String | Primary high-resolution property photograph. |
| galleryImages | Array | Array of listing photos (available in JSON dataset). |

### Sample Dataset Output

```json
{
  "listingId": "AKv53Dx2ZEr3MnxB",
  "address": "118 Napoli Drive",
  "municipality": "Hamilton",
  "province": "ON",
  "listStatus": "Terminated",
  "houseType": "D.",
  "houseStyle": "Bungalow Raised",
  "price": "Sign-in required",
  "priceSold": "Sign-in required",
  "bedrooms": 3,
  "washrooms": 2,
  "parking": 2,
  "areaSqFt": "1500-2000",
  "rentYield": "3.3%",
  "dateStatusChange": "2 months ago",
  "latitude": 43.22605602,
  "longitude": -79.92746695,
  "url": "https://housesigma.com/on/hamilton-real-estate/118-napoli-drive/home/0J6Em7bbGEw7XBeq?id_listing=AKv53Dx2ZEr3MnxB",
  "photoUrl": "https://cache15.housesigma.com/file/pix-itso/163500428/81de9_1_1200.webp?b496e8ca",
  "galleryImages": [
    "https://cache15.housesigma.com/file/pix-itso/163500428/81de9_1_1200.webp?b496e8ca",
    "https://cache15.housesigma.com/file/pix-itso/163500428/81de9_2.jpg?b496e8ca"
  ]
}
```

### Download Formats

In addition to Apify Dataset exports (JSON, CSV, XML), every run automatically produces:

1. OUTPUT.xlsx: Formatted Microsoft Excel workbook with dark blue headers, auto-fitted columns, alternating row shading, status color badges, and clickable links to property pages and photos.
2. OUTPUT.csv: Clean UTF-8 CSV file ready for import into CRM software, Google Sheets, or database pipelines.

Access both files directly under the Key-Value Store tab of your run.

# Actor input Schema

## `startUrls` (type: `array`):

HouseSigma map or listing search URLs with your desired filters applied (e.g. municipality, status, price, property type). When provided, city and status are detected automatically and bypass the 9-page limit.

## `city` (type: `string`):

Target city name (e.g. Hamilton, Toronto, Mississauga). Only used if no start URL is provided.

## `status` (type: `string`):

Property status filter. Only used if no start URL is provided or if status is not specified in the URL.

## `maxItems` (type: `integer`):

Maximum number of property listings to collect. The web UI stops at 180 (9 pages), but this actor can extract all available listings.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://housesigma.com/on/hamilton-real-estate/map/?center_marker=43.2557206,-79.8711024&view=map&municipality=10134&status=sale-delisted&lat=43.255721&lon=-79.871102&zoom=12&page=1"
    }
  ],
  "status": "sale-delisted",
  "maxItems": 100
}
```

# Actor output Schema

## `dataset` (type: `string`):

Structured property listing records with status, coordinates, pricing, and specs.

## `excel` (type: `string`):

Download formatted Excel file with styled headers, auto-adjusted column widths, color-coded status badges, and clickable links.

## `csv` (type: `string`):

Download clean, standardized UTF-8 CSV data.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://housesigma.com/on/hamilton-real-estate/map/?center_marker=43.2557206,-79.8711024&view=map&municipality=10134&status=sale-delisted&lat=43.255721&lon=-79.871102&zoom=12&page=1"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("redoy49/housesigma-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://housesigma.com/on/hamilton-real-estate/map/?center_marker=43.2557206,-79.8711024&view=map&municipality=10134&status=sale-delisted&lat=43.255721&lon=-79.871102&zoom=12&page=1" }] }

# Run the Actor and wait for it to finish
run = client.actor("redoy49/housesigma-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://housesigma.com/on/hamilton-real-estate/map/?center_marker=43.2557206,-79.8711024&view=map&municipality=10134&status=sale-delisted&lat=43.255721&lon=-79.871102&zoom=12&page=1"
    }
  ]
}' |
apify call redoy49/housesigma-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,redoy49/housesigma-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Sm7ACcha0XzzMrWxp/builds/O8fkzZGIJJn83ZrAk/openapi.json
