# REALTOR.ca Canada Property Listings Scraper (`xyrelith-data/realtor-ca-property-listings-scraper`) Actor

Scrape Canadian MLS property listings from REALTOR.ca by city, province, map bounds, pasted map URL, or listing ID. Returns prices, addresses, property facts, photos, agents, brokerages and open houses.

- **URL**: https://apify.com/xyrelith-data/realtor-ca-property-listings-scraper.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 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

## REALTOR.ca Canada Property Listings Scraper

Pull Canadian MLS listings from REALTOR.ca into a clean dataset. Search by city, province, map bounds, a pasted REALTOR.ca map URL, or a list of listing URLs, IDs and MLS numbers. Get prices, addresses, property facts, photos, agents, brokerages and open-house times, with optional detail enrichment for taxes, condo fees, appliances, heating, cooling, basement, construction style and room sizes.

No account, cookies, API key or proxy setup is required.

### What this actor does

- **Three targeting modes** — area/bounds search, pasted map URLs, and direct listing lookups.
- **Every REALTOR.ca filter that changes results** — transaction type, residential and commercial property categories, building type, building style, ownership, parking, price or rent, bedrooms, bathrooms, interior size, land size, storeys, year built, maintenance fees, property taxes, units, keywords, listed-since date and open houses.
- **Tiling past the 10,000-result window** — the search API returns at most 10,000 records per query, so large markets are split into map tiles and de-duplicated by listing ID.
- **Sold listings included** — with a recency window and the sold date. REALTOR.ca usually hides the final sold price, so that field appears only when the source publishes it.
- **Bilingual** — English and French listing content.
- **Full detail records** — an optional per-listing page fetch adds the public description, annual property tax, condo/maintenance fee, appliances, heating and cooling, basement, construction style, frontage and depth, building amenities and room-by-room dimensions, plus the complete photo set.
- **Honest output** — a field the source does not publish is omitted, never guessed or filled with a sentinel.

### Modes

| Mode | What it does |
|---|---|
| `search` | Search by Canadian city, municipality, neighbourhood or province, or by explicit latitude/longitude bounds, or by a center point plus radius. |
| `mapUrl` | Paste one or more `realtor.ca/map` URLs. The bounding box and filters in the URL are kept. |
| `listingIds` | Paste listing URLs, bare property IDs or MLS numbers. Listing pages, property IDs and board-prefixed MLS numbers are all accepted. |

### Inputs and defaults

| Input | Description | Default |
|---|---|---|
| `mode` | `search`, `mapUrl` or `listingIds`. | `search` |
| `location` | City, municipality, neighbourhood or province name for `search`. | `Toronto, Ontario` |
| `latitudeMin` / `latitudeMax` | Southern and northern edges of an explicit bounding box. Supply all four bounds together. | – |
| `longitudeMin` / `longitudeMax` | Western and eastern edges of an explicit bounding box. | – |
| `centerLatitude` / `centerLongitude` | Center point for a radius search. | – |
| `radiusKm` | Radius around the center point, in kilometres. | – |
| `mapUrls` | REALTOR.ca map URLs for `mapUrl`. | `[]` |
| `listingUrls` | Listing URLs, property IDs or MLS numbers for `listingIds`. | `[]` |
| `transactionType` | `forSale`, `forRent` or `sold`. | `forSale` |
| `propertyType` | `any`, `residential`, `condo`, `vacantLand`, `recreational`, `multiFamily`, `agriculture`, `parking`, or a commercial category. | `any` |
| `buildingType` | House, row/townhouse, apartment, duplex, triplex, fourplex, garden home, mobile/manufactured, special purpose, modular and the other REALTOR.ca building types. | `any` |
| `buildingStyle` | Attached, detached, semi-detached, stacked or link. | `any` |
| `ownershipType` | Freehold, condo/strata, timeshare/fractional or leasehold. | `any` |
| `parkingType` | Attached, integrated or detached garage, carport, underground, indoor, open, covered, parking pad, paved yard and more. | `any` |
| `priceMin` / `priceMax` | Sale price in CAD, or monthly rent when `transactionType` is `forRent`. | – |
| `bedroomsMin` / `bedroomsMax` | Bedroom range. Above-grade and below-grade bedrooms are both counted by the source. | – |
| `bathroomsMin` / `bathroomsMax` | Total bathroom range. | – |
| `interiorSizeMin` / `interiorSizeMax` | Interior floor area range in square feet. | – |
| `landSizeMin` / `landSizeMax` | Land size range in acres. | – |
| `storeysMin` / `storeysMax` | Storey range. | – |
| `yearBuiltMin` / `yearBuiltMax` | Construction year range. The source uses this filter but usually does not publish the year in the listing payload. | – |
| `maintenanceFeeMin` / `maintenanceFeeMax` | Monthly maintenance or condo fee range in CAD. | – |
| `propertyTaxMin` / `propertyTaxMax` | Annual property tax range in CAD. | – |
| `numberOfUnitsMin` / `numberOfUnitsMax` | Unit-count range for multi-family and commercial buildings. | – |
| `keywords` | Free-text terms such as `waterfront`, `pool` or `garage`. | – |
| `listedSince` | Only listings added on or after this date (`YYYY-MM-DD`). | – |
| `openHousesOnly` | Only listings with an open house in the window. | `false` |
| `openHouseFrom` / `openHouseTo` | Open-house date window (`YYYY-MM-DD`). Defaults to the next seven days. | – |
| `soldWithinDays` | Recency window for `sold` listings. | `30` |
| `sort` | `newest`, `oldest`, `priceLow` or `priceHigh`. | `newest` |
| `maxItems` | Stop after this many listings. | `50` |
| `includeDetails` | Fetch each listing page for the description, taxes, fees, appliances, systems, rooms and all photos. | `true` |
| `sweepGaps` | Re-read each tile from the opposite sort direction to catch listings that move between pages during a large live search. | `true` |
| `language` | `en` or `fr`. | `en` |
| `proxyConfiguration` | Optional proxy override. The actor picks a working connection automatically. | – |

### Output per listing

Identity and status

- `recordType` — always `listing`
- `propertyId`, `mlsNumber`, `url`
- `transactionType` — `forSale`, `forRent` or `sold`
- `status`, `statusId`, `standardStatusId`
- `tags` — label, colour and tag type

Pricing

- `price`, `priceDisplay`, `priceShort`, `priceUnit`, `pricePerSqft`
- `leaseRent`, `leaseRentDisplay`, `leasePeriod`, `leaseUnit` for rentals
- `soldPrice`, `soldPriceDisplay`, `soldAt`, `soldCloseDate` when published

Location

- `addressFull`, `street`, `unit`, `city`, `community`, `province`, `postalCode`
- `latitude`, `longitude`

Property facts

- `propertyType`, `propertyTypeId`, `buildingType`
- `bedrooms`, `bedroomsTotal`, `bedroomsAbove`, `bedroomsBelow`
- `bathrooms`, `bathroomsTotal`, `bathroomsFull`, `halfBathrooms`
- `interiorSize`, `interiorSizeValue`, `interiorSizeUnit`, `interiorSizeSqft`
- `floorArea`, `floorAreaRange`, `stories`
- `parkingType`, `parkingTypes`, `parkingSpaces`
- `ownershipType`, `ownershipTypeId`, `ownershipTypeGroupIds`
- `landSize`, `frontage`, `landDepth`, `landAccessType`, `landscapeFeatures`
- `amenitiesNearby`, `buildingAmenities`
- `publicRemarks` (from the detail page when `includeDetails` is on)

Media and contacts

- `photos` — high, medium and low resolution URLs with sequence number and last update
- `photoCount`
- `alternateUrls` — video, brochure, details, map, photo and sound links
- `media` — video and virtual-tour entries
- `agents` — name, first and last name, position, phones, websites, profile URL and photo
- `agentName`, `agentPosition`, `agentPhones`, `agentProfileUrl`, `agentPhotoUrl`
- `brokerageName`, `brokerageAddress`, `brokeragePhones`, `brokerageWebsite`, `brokerageLogo`, `brokerageProfileUrl`

Time and open houses

- `listedAt`, `daysOnMarket`, `timeOnRealtor`, `priceChangedAt`, `photoChangedAt`
- `openHouses` — start and end in ISO 8601 with the listing's time zone, plus the site's formatted label
- `hasOpenHouse`

Detail enrichment (`includeDetails`)

- `details` — property type, building type, storeys, square footage, community, title, land size, parking, time on REALTOR.ca, bathrooms, appliances, flooring, basement, features, foundation, style, rental equipment, cooling, heating, sewer, water, exterior finish, pool, community features, maintenance fee and what it includes, management company, total parking spaces and frontage/depth
- `annualPropertyTaxes`, `annualPropertyTaxesDisplay`
- `maintenanceFee`, `maintenanceFeeDisplay`, `maintenanceFeesIncludes`
- `heating`, `cooling`, `basement`, `constructionStyle`
- `appliances`, `features`, `buildingAmenities`
- `rooms` — level, room name, metric dimensions and imperial dimensions

### Example input

```json
{
  "mode": "search",
  "location": "Toronto, Ontario",
  "transactionType": "forSale",
  "propertyType": "condo",
  "priceMin": 400000,
  "priceMax": 800000,
  "bedroomsMin": 1,
  "sort": "priceLow",
  "maxItems": 100,
  "includeDetails": true,
  "language": "en"
}
```

### Example output

```json
{
  "recordType": "listing",
  "propertyId": "30517972",
  "mlsNumber": "N14185240",
  "url": "https://www.realtor.ca/real-estate/30517972/140-del-francesco-way-vaughan-vellore-village",
  "transactionType": "forSale",
  "status": "active",
  "price": 1098000,
  "priceDisplay": "$1,098,000",
  "addressFull": "140 DEL FRANCESCO WAY|Vaughan (Vellore Village), Ontario L6A3X3",
  "street": "140 DEL FRANCESCO WAY",
  "city": "Vaughan",
  "community": "Vellore Village",
  "province": "Ontario",
  "postalCode": "L6A3X3",
  "latitude": 43.8526551,
  "longitude": -79.5487913,
  "propertyType": "Single Family",
  "buildingType": "House",
  "bedrooms": "3",
  "bedroomsTotal": 3,
  "bathrooms": "4",
  "bathroomsTotal": 4,
  "halfBathrooms": 1,
  "interiorSize": "139.3534 m2",
  "interiorSizeSqft": 1499.99,
  "ownershipType": "Freehold",
  "photos": [
    {
      "highRes": "https://cdn.realtor.ca/listings/.../highres/0/n14185240_1.jpg",
      "mediumRes": "https://cdn.realtor.ca/listings/.../medres/0/n14185240_1.jpg",
      "lowRes": "https://cdn.realtor.ca/listings/.../lowres/0/n14185240_1.jpg",
      "sequence": 1
    }
  ],
  "agentName": "Duy Nguyen",
  "agentPosition": "Salesperson",
  "brokerageName": "REAL XPERTS REALTY INC.",
  "annualPropertyTaxes": 4802.48,
  "rooms": [
    {
      "level": "Main level",
      "room": "Living room",
      "dimensionsMetric": "4.66 m x 4.17 m",
      "dimensionsImperial": "15 ft ,3 in x 13 ft ,8 in"
    }
  ],
  "scrapedAt": "2026-11-16T20:36:00+00:00"
}
```

### Limits and notes

- **10,000 results per query.** REALTOR.ca exposes at most 10,000 records for one map search. The actor splits a large area into four child tiles, then four again, until every tile fits. A final reverse-sort sweep catches listings that move between pages while a live search is running. In a very large, fast-moving market a listing can still appear or disappear between two paginated requests.
- **Sold prices are usually hidden.** The sold date and status are reliable; `soldPrice` appears only when REALTOR.ca publishes it.
- **Agent emails are not published.** REALTOR.ca exposes only a contact-form ID, so email addresses are not scraped.
- **Year built is a filter, not an output.** The source accepts a construction-year filter but normally does not publish the year in the listing payload.
- **Full photos need `includeDetails`.** The search payload carries the primary photo; the listing page carries the complete gallery.
- **Connection is automatic.** REALTOR.ca applies bot protection. The actor tries a direct connection first and falls back to Apify's Canadian residential proxy when the direct path is blocked. No proxy setup is required from you.
- **English and French.** Set `language` to `fr` for French listing content and French listing URLs.

### Data source

Data comes from the public REALTOR.ca website and its public listing search API. The actor reads only public listing data. It does not log in, save listings, contact agents or change anything on the site.

### FAQ

**Do I need a REALTOR.ca account?** No.

**Can I scrape all of Toronto?** Yes, with a large `maxItems`. Toronto has more than 10,000 active for-sale listings, so the actor tiles the map automatically. A run of 15,000 records takes a few minutes and makes many requests.

**Why is a price missing?** Some listings publish no price, and sold listings often hide the final sale price. The actor omits the field rather than inventing one.

**Can I get listings from a saved map search?** Yes. Open the search on REALTOR.ca, copy the map URL, and use `mode: "mapUrl"`. The bounding box and filters in the URL are kept.

**Can I look up a single listing?** Yes. Use `mode: "listingIds"` with a listing URL, a property ID, or an MLS number.

# Actor input Schema

## `mode` (type: `string`):

How to target listings.

## `location` (type: `string`):

City, municipality, neighbourhood or province name (mode=search). Examples: `Toronto, Ontario`, `Vancouver`, `New Brunswick`.

## `latitudeMin` (type: `number`):

Southern edge of an explicit map bounding box (mode=search). Supply all four bounds together.

## `latitudeMax` (type: `number`):

Northern edge of an explicit map bounding box (mode=search).

## `longitudeMin` (type: `number`):

Western edge of an explicit map bounding box (mode=search).

## `longitudeMax` (type: `number`):

Eastern edge of an explicit map bounding box (mode=search).

## `centerLatitude` (type: `number`):

Latitude of a center point for a radius search (mode=search). Use with centerLongitude and radiusKm.

## `centerLongitude` (type: `number`):

Longitude of a center point for a radius search (mode=search).

## `radiusKm` (type: `number`):

Radius around the center point, in kilometres (mode=search).

## `mapUrls` (type: `array`):

One or more realtor.ca map URLs whose bounding box and filters are kept (mode=mapUrl).

## `listingUrls` (type: `array`):

realtor.ca listing URLs, bare property IDs, or MLS numbers (mode=listingIds).

## `transactionType` (type: `string`):

For-sale listings, monthly rentals, or recent sales.

## `propertyType` (type: `string`):

Residential category or commercial category.

## `buildingType` (type: `string`):

Optional building type inside the selected property type.

## `buildingStyle` (type: `string`):

Attachment style, such as detached, semi-detached or attached.

## `ownershipType` (type: `string`):

Freehold, condo/strata, timeshare/fractional or leasehold.

## `parkingType` (type: `string`):

Optional parking facility filter.

## `priceMin` (type: `number`):

Minimum sale price, or minimum monthly rent when transactionType=forRent.

## `priceMax` (type: `number`):

Maximum sale price, or maximum monthly rent when transactionType=forRent.

## `bedroomsMin` (type: `integer`):

Minimum bedrooms (above grade plus below grade).

## `bedroomsMax` (type: `integer`):

Maximum bedrooms (above grade plus below grade).

## `bathroomsMin` (type: `integer`):

Minimum total bathrooms.

## `bathroomsMax` (type: `integer`):

Maximum total bathrooms.

## `interiorSizeMin` (type: `number`):

Minimum interior floor area in square feet.

## `interiorSizeMax` (type: `number`):

Maximum interior floor area in square feet.

## `landSizeMin` (type: `number`):

Minimum land size in acres.

## `landSizeMax` (type: `number`):

Maximum land size in acres.

## `storeysMin` (type: `integer`):

Minimum number of storeys.

## `storeysMax` (type: `integer`):

Maximum number of storeys.

## `yearBuiltMin` (type: `integer`):

Earliest construction year.

## `yearBuiltMax` (type: `integer`):

Latest construction year.

## `maintenanceFeeMin` (type: `number`):

Minimum monthly maintenance or condo fee.

## `maintenanceFeeMax` (type: `number`):

Maximum monthly maintenance or condo fee.

## `propertyTaxMin` (type: `number`):

Minimum annual property tax.

## `propertyTaxMax` (type: `number`):

Maximum annual property tax.

## `numberOfUnitsMin` (type: `integer`):

Minimum number of units, for multi-family and commercial buildings.

## `numberOfUnitsMax` (type: `integer`):

Maximum number of units, for multi-family and commercial buildings.

## `keywords` (type: `string`):

Free-text terms such as `waterfront`, `pool` or `garage`.

## `listedSince` (type: `string`):

Only listings added on or after this date (YYYY-MM-DD).

## `openHousesOnly` (type: `boolean`):

Only listings with an open house in the selected window. Defaults to the next 7 days.

## `openHouseFrom` (type: `string`):

Earliest open-house date (YYYY-MM-DD). Used with openHousesOnly.

## `openHouseTo` (type: `string`):

Latest open-house date (YYYY-MM-DD). Used with openHousesOnly.

## `soldWithinDays` (type: `string`):

Recency window for sold listings (transactionType=sold).

## `sort` (type: `string`):

Order of the returned listings.

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

Stop after this many listings. Large markets are split into map tiles automatically.

## `includeDetails` (type: `boolean`):

Visit each listing page for the description, property tax, condo fees, appliances, heating/cooling, room dimensions and the full photo set. Adds one request per listing.

## `sweepGaps` (type: `boolean`):

Re-read each map tile from the opposite sort direction to catch listings that shift between pages while a large search is running.

## `language` (type: `string`):

English or French listing content.

## `proxyConfiguration` (type: `object`):

Optional proxy override. The actor automatically selects a working connection and needs no proxy setup.

## Actor input object example

```json
{
  "mode": "search",
  "location": "Toronto, Ontario",
  "mapUrls": [],
  "listingUrls": [],
  "transactionType": "forSale",
  "propertyType": "any",
  "buildingType": "any",
  "buildingStyle": "any",
  "ownershipType": "any",
  "parkingType": "any",
  "openHousesOnly": false,
  "soldWithinDays": "30",
  "sort": "newest",
  "maxItems": 3,
  "includeDetails": false,
  "sweepGaps": false,
  "language": "en"
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset containing the scraped REALTOR.ca listings.

# 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 = {
    "mode": "search",
    "location": "Toronto, Ontario",
    "mapUrls": [],
    "listingUrls": [],
    "transactionType": "forSale",
    "propertyType": "any",
    "buildingType": "any",
    "buildingStyle": "any",
    "ownershipType": "any",
    "parkingType": "any",
    "openHousesOnly": false,
    "soldWithinDays": "30",
    "sort": "newest",
    "maxItems": 3,
    "includeDetails": false,
    "sweepGaps": false,
    "language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/realtor-ca-property-listings-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 = {
    "mode": "search",
    "location": "Toronto, Ontario",
    "mapUrls": [],
    "listingUrls": [],
    "transactionType": "forSale",
    "propertyType": "any",
    "buildingType": "any",
    "buildingStyle": "any",
    "ownershipType": "any",
    "parkingType": "any",
    "openHousesOnly": False,
    "soldWithinDays": "30",
    "sort": "newest",
    "maxItems": 3,
    "includeDetails": False,
    "sweepGaps": False,
    "language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/realtor-ca-property-listings-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 '{
  "mode": "search",
  "location": "Toronto, Ontario",
  "mapUrls": [],
  "listingUrls": [],
  "transactionType": "forSale",
  "propertyType": "any",
  "buildingType": "any",
  "buildingStyle": "any",
  "ownershipType": "any",
  "parkingType": "any",
  "openHousesOnly": false,
  "soldWithinDays": "30",
  "sort": "newest",
  "maxItems": 3,
  "includeDetails": false,
  "sweepGaps": false,
  "language": "en"
}' |
apify call xyrelith-data/realtor-ca-property-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/realtor-ca-property-listings-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/TeNjYWMe5jeqypjPo/builds/QccrWCB5NF5JiCg70/openapi.json
