# Realtor.ca Property Scraper (`yugenox/realtor-ca-property-scraper`) Actor

Scrape active MLS property listings from Canada's Realtor.ca (CREA): price, beds/baths, size, address, days-on-market, photos, MLS#, and the listing agent — by Canadian city, province, or postal code. Canada only, not the US realtor.com. For realtor profiles, use our Realtor.ca Agent Scraper.

- **URL**: https://apify.com/yugenox/realtor-ca-property-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** Real estate, Lead generation, Agents
- **Stats:** 4 total users, 3 monthly users, 92.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-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 Property Scraper — Canadian MLS® Listings with Agent Details

Pull **active property listings from [Realtor.ca](https://www.realtor.ca)**, Canada's national
CREA/MLS® portal, for any city, province or postal code. Price, beds, baths, size, days on market,
coordinates, photos, MLS® number — **and the listing agent attached to every listing**.

> 🇨🇦 **Canada only.** For US listings use a realtor.com scraper. For Canadian *agent profiles* see
> the **Realtor.ca Agent Scraper**.

***

### Why this scraper

Realtor.ca is protected by **Imperva Advanced Bot Protection**, which is why Canadian listing data
is far harder to get than US data — and why most "MLS scrapers" are US-only.

- **No API key, no MLS® feed, no CREA membership**, no brokerage login.
- **The listing agent comes with the listing.** Most scrapers give you the property and stop. Agent
  name, brokerage and phone are embedded in every row, so listings and people arrive joined.
- **Real coordinates** on every row — drop straight into a map, a geo-join or a radius query.
- **For sale or for rent, residential or commercial**, selectable per run.

***

### Input

| Field | Type | Required | Default | Description |
|---|---|:--:|---|---|
| `locations` | array of strings | ✅ | | Cities, provinces or postal codes to search. |
| `limitPerLocation` | integer | | | Max listings per location. Up to ~600 per search area. |
| `transactionType` | string | | `sale` | `sale` or `rent`. |
| `propertyType` | string | | `residential` | `residential` or `commercial`. |

```json
{
  "locations": ["Toronto, ON", "Mississauga, ON"],
  "limitPerLocation": 200,
  "transactionType": "sale",
  "propertyType": "residential"
}
```

**On coverage:** each search area returns up to ~600 listings. For a market bigger than that, pass
several narrower locations — neighbourhoods or adjacent cities — rather than one big city, and you
get full coverage instead of the first 600.

***

### Output

One row per listing.

| Field | Type | Description |
|---|---|---|
| `mlsNumber` | string | MLS® number. Stable — use it as your primary key. |
| `price` | string | Display price, e.g. `"$949,900"`. |
| `priceValue` | number | Numeric price, for sorting and filtering. |
| `bedrooms` | string | Beds. `"2 + 1"` means two bedrooms plus a den. |
| `bathrooms` | string | Baths. |
| `sizeInterior` | string | Interior size as published. |
| `propertyType` | string | e.g. Single Family, Condo. |
| `ownershipType` | string | e.g. Freehold, Condominium/Strata. |
| `address` | string | Street address. |
| `cityProvince` | string | City, neighbourhood, province and postal, as displayed. |
| `postalCode` | string | Postal code. |
| `province` | string | Province. |
| `latitude` / `longitude` | number | Coordinates. |
| `daysOnRealtor` | number | Days on market. |
| `photoUrl` | string | Main listing photo. |
| `listingUrl` | string | Realtor.ca listing page. |
| `agents` | array | Listing agent(s): `individualId`, `name`, `brokerage`, `phone`. |
| `location` | string | The location you searched, echoed back for grouping. |

```json
{
  "mlsNumber": "W1234567",
  "price": "$949,900",
  "priceValue": 949900,
  "bedrooms": "2 + 1",
  "bathrooms": "2",
  "sizeInterior": "65 m2",
  "propertyType": "Single Family",
  "ownershipType": "Condominium/Strata",
  "address": "1830 BLOOR STREET W",
  "cityProvince": "Toronto (High Park North), Ontario M6P 0A2",
  "postalCode": "M6P0A2",
  "province": "Ontario",
  "latitude": 43.6546,
  "longitude": -79.4631,
  "daysOnRealtor": 9,
  "photoUrl": "https://cdn.realtor.ca/listings/.../w1234567_1.jpg",
  "listingUrl": "https://www.realtor.ca/real-estate/.../...",
  "agents": [
    { "individualId": 1419503, "name": "JANE DOE", "brokerage": "ROYAL LEPAGE SIGNATURE REALTY", "phone": "(416) 555-0198" }
  ],
  "location": "Toronto, ON"
}
```

*Values above are illustrative.*

***

### What people use it for

**Market analysis and comps.** Price per square foot, days on market and inventory by neighbourhood,
refreshed on a schedule — the numbers a CMA or an investment memo actually needs.

**Investor deal flow.** Filter on `priceValue`, `daysOnRealtor` and `propertyType` to surface stale
listings and price-drop candidates automatically, instead of refreshing a portal by hand.

**Proptech and portals.** A live Canadian listing feed with coordinates, for a map product, an
alerting service or an internal valuation model — without an MLS® data licence.

**Selling to realtors.** Because every listing carries its agent, one run gives you both the
inventory and the people behind it — the list that photographers, stagers, drone operators and
mortgage brokers are really after.

***

### Scale, speed and cost

- Listings are fetched in pages of 100, roughly **0.05 seconds per listing**.
- \~600 listings per search area; split large markets into several locations for full coverage.
- Cost is Apify compute only — no third-party solver and no per-request fee.

Start with `limitPerLocation: 10` to see the shape of the data before scaling up.

***

### FAQ

**Do I need an MLS® feed or CREA membership?**
No. This reads only what Realtor.ca shows the public.

**Can I get sold or historical prices?**
No. Realtor.ca publishes active listings; sold data is behind the boards and isn't public. `daysOnRealtor`
is your best public signal of how long something has been sitting.

**Why did a big city return only ~600 listings?**
That's the per-search-area cap. Pass narrower locations — neighbourhoods or adjacent cities — and
the totals add up.

**Are agent emails included?**
No. Realtor.ca doesn't publish agent emails anywhere; you get the phone and brokerage, which it does.

**Can I search by postal code?**
Yes for listings. (Note the *agent* scraper does not accept postal codes — that's a Realtor.ca
difference between the two searches, not an inconsistency here.)

**For-rent listings?**
Set `transactionType` to `rent`. Commercial works the same way via `propertyType`.

**Do I need a proxy?**
No. It runs from Apify's default IPs at normal volume.

**How fresh is it?**
Read live at run time. Schedule the actor to keep a feed current.

***

**Is it legal to scrape REALTOR.ca?**
This Actor only collects publicly available data: property listings that anyone can view on REALTOR.ca without an account. Collecting publicly available data is generally legal, but you're responsible for how you use it. Results can include listing agents' names and business contact details, and that counts as personal data. You must follow privacy laws such as GDPR, PIPEDA and CCPA, as well as REALTOR.ca's terms. If you're unsure, check with a lawyer. More on this: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

**Does it access any private data?**
No. Everything comes from pages REALTOR.ca shows to any visitor without logging in. It never uses a login, never touches private or restricted accounts, and never reaches password-protected areas.

### Notes

- MLS®, Multiple Listing Service® and REALTOR® are trademarks owned by The Canadian Real Estate
  Association. This actor is not affiliated with or endorsed by CREA or Realtor.ca.
- Only publicly visible listing information is collected.

# Actor input Schema

## `locations` (type: `array`):

Canadian cities to search, as "City, Province" (e.g. "Toronto, ON") or a bare city name. Supported cities: Toronto, Mississauga, Brampton, Vaughan, Markham, Oakville, Hamilton, Ottawa, London, Vancouver, Surrey, Burnaby, Victoria, Calgary, Edmonton, Montreal, Winnipeg, Halifax.

## `limitPerLocation` (type: `integer`):

Cap listings per location. Up to 600 per search area (larger markets need multiple/narrower locations).

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

For-sale or for-rent listings.

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

Residential or commercial.

## Actor input object example

```json
{
  "locations": [
    "Toronto, ON",
    "Mississauga, ON",
    "Vancouver, BC"
  ],
  "limitPerLocation": 100,
  "transactionType": "sale",
  "propertyType": "residential"
}
```

# 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 = {
    "locations": [
        "Toronto, ON"
    ],
    "limitPerLocation": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/realtor-ca-property-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 = {
    "locations": ["Toronto, ON"],
    "limitPerLocation": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/realtor-ca-property-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 '{
  "locations": [
    "Toronto, ON"
  ],
  "limitPerLocation": 100
}' |
apify call yugenox/realtor-ca-property-scraper --silent --output-dataset

```

## MCP server setup

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