# Royal LePage Canada Scraper | Real Estate Listings (`parseforge/royallepage-canada-scraper`) Actor

Extract Royal LePage Canadian real estate listings with address, price, beds, baths, square footage, agent, MLS number, and photos. Filter by city, type, or price. Useful for realtors, property analysts, and investors tracking the Canadian housing market.

- **URL**: https://apify.com/parseforge/royallepage-canada-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Real estate, Travel, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $19.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

![ParseForge Banner](https://github.com/ParseForge/apify-assets/blob/ad35ccc13ddd068b9d6cba33f323962e39aed5b2/banner.jpg?raw=true)

## 🏠 Royal LePage Canada Scraper

> 🚀 **Export Royal LePage Canada listings in seconds.** Pull price, address, beds/baths, MLS, agent and photos from any Canadian city, no MLS membership required.

> 🕒 **Last updated:** 2026-05-25 · **📊 17 fields** per record · **All of Canada** · **All RLP brokerages**

This actor scrapes property listings published on [royallepage.ca](https://www.royallepage.ca), one of Canada's largest real estate networks with 20,000+ REALTORS across every province. It walks the public search results pages, parses each listing card, and produces clean structured records ready for CSV, Excel, JSON or XML download.

Coverage includes Ontario, Quebec, British Columbia, Alberta, Saskatchewan, Manitoba, Nova Scotia, New Brunswick, Newfoundland, PEI, Yukon, Northwest Territories. Houses, condos, townhomes, plexes, vacant land and commercial inventory are all surfaced when present on the source page.

| 🎯 Target Audience | 💡 Primary Use Cases |
|---|---|
| Realtors, investors, proptech analysts, relocators, market researchers | Comparable sales research, lead lists, valuation models, market dashboards, BI feeds |

### 📋 What the Royal LePage Canada Scraper does
- Walks the paginated search URL you provide
- Extracts every listing card on the page
- Captures address, price, beds, baths, property type, photo, RLP id and direct URL
- Stops when the requested item count is reached

> 💡 **Why it matters:** Royal LePage publishes fresh MLS-fed inventory daily. A live extract beats stale CSV exports and gives you a defensible dataset for analysis.

### 🎬 Full Demo (_🚧 Coming soon_)

### ⚙️ Input
<table>
<tr><th>Field</th><th>Type</th><th>Required</th><th>Description</th></tr>
<tr><td>searchUrl</td><td>string</td><td>Yes</td><td>Royal LePage search URL (paste from the site after filtering)</td></tr>
<tr><td>maxItems</td><td>integer</td><td>No</td><td>Max records to return. Free tier capped at 10.</td></tr>
</table>

```json
{
  "searchUrl": "https://www.royallepage.ca/en/search/homes/on/toronto/",
  "maxItems": 50
}
````

```json
{
  "searchUrl": "https://www.royallepage.ca/en/search/homes/bc/vancouver/",
  "maxItems": 200
}
```

> ⚠️ **Good to Know:** the source paginates ~24 listings per page. Use the on-site filters (city, price, beds, property type) to scope your URL before passing it in.

### 📊 Output

| Field | Type | Description |
|---|---|---|
| 🖼 imageUrl | string | Primary listing photo |
| 📌 title | string | Street address (line 1) |
| 💰 price | number | Listing price in CAD |
| 💵 priceText | string | Original price string with currency |
| 🔗 url | string | Direct link to property page |
| 🆔 id | string | Royal LePage listing id |
| 🗝 rlpKey | string | Internal RLP map key (lat.lon) |
| 🏠 propertyType | string | House, Condo, Townhouse, etc. |
| 🛏 bedrooms | number | Number of bedrooms |
| 🛁 bathrooms | number | Number of bathrooms |
| 📍 address | string | Street address |
| 🏙 city | string | City |
| 🗺 province | string | Province code (ON, BC, etc.) |
| 🇨🇦 country | string | Always "Canada" |
| 🆕 status | string | Flag (e.g. "new listing") if present |
| 🕒 scrapedAt | string | ISO timestamp |
| ❌ error | string | Null on success |

Sample record:

```json
{
  "imageUrl": null,
  "title": "565332 Sideroad 7a",
  "price": 5495000,
  "priceText": "$5,495,000",
  "url": "https://www.royallepage.ca/en/property/ontario/grey-highlands/565332-sideroad-7a/28208059/mlsx13168368/",
  "id": "28208059",
  "propertyType": "House",
  "bedrooms": 5,
  "bathrooms": 6,
  "city": "Grey Highlands",
  "province": "ON",
  "country": "Canada",
  "status": "new listing",
  "scrapedAt": "2026-05-25T17:36:35.029Z"
}
```

### ✨ Why choose this Actor

- 🇨🇦 Full national coverage, every RLP brokerage
- 🧱 No MLS membership or API key required
- ⚡ Direct HTML extraction, no headless browser overhead
- 🧮 Numeric price and bed/bath fields ready for analysis
- 📦 CSV, Excel, JSON, XML export via Apify dataset

### 📈 How it compares to alternatives

| Approach | Coverage | Cost | Freshness |
|---|---|---|---|
| Manual copy-paste | Tiny | Free, slow | Stale |
| MLS membership | National | $$$ | Live |
| This actor | National | $ | Live |

### 🚀 How to use

1. [Create a free account w/ $5 credit](https://console.apify.com/sign-up?fpr=vmoqkp)
2. Open the Royal LePage Canada Scraper on Apify
3. Paste your filtered royallepage.ca search URL
4. Set maxItems
5. Run — download CSV / Excel / JSON / XML when finished

### 💼 Business use cases

#### Real estate comparable analysis

| Need | How this helps |
|---|---|
| Recent comparable listings | Pull every active listing in a postal code |
| Price-per-sqft benchmarks | Aggregate beds/baths/price across a city |

#### Investor lead generation

| Need | How this helps |
|---|---|
| Off-market candidate sourcing | Filter by long days-on-market |
| Multi-city portfolio screening | Run the actor on different provinces in parallel |

#### Mortgage and insurance underwriting

| Need | How this helps |
|---|---|
| Loan-to-value validation | Confirm asking price tier per neighbourhood |
| Property type mix | Quantify single-family vs condo supply |

#### PropTech and BI

| Need | How this helps |
|---|---|
| Dashboard data feed | Schedule a daily run and pipe to your warehouse |
| Realtor brand share | Count RLP listings vs other brand scrapers |

### 🔌 Automating Royal LePage Canada Scraper

Connect to Make, Zapier, n8n, Slack, Airbyte, GitHub Actions or Google Drive via the Apify integrations panel. Trigger on schedule and route results to Sheets, BigQuery, S3 or your CRM.

### 🌟 Beyond business use cases

#### Research

Track price trends over time for academic housing studies.

#### Personal

Build a watchlist of dream homes in a new province before relocating.

#### Non-profit

Map housing affordability indicators across a region.

#### Experimentation

Train ML pricing models with daily snapshots of national inventory.

### 🤖 Ask an AI assistant about this scraper

Open ChatGPT, Claude, Perplexity or Copilot and paste the actor URL to get tailored automation tips.

### ❓ Frequently Asked Questions

**Q1. Do I need a Royal LePage account?**
No, only the public website is queried.

**Q2. Which provinces are covered?**
All of them, plus the three territories, wherever RLP publishes listings.

**Q3. Are sold or expired listings included?**
No, only currently active inventory shown on the search page.

**Q4. Can I filter by price or bedroom count?**
Yes, apply the filters on the website first and copy the resulting URL.

**Q5. How fresh is the data?**
The actor fetches in real time on each run, so freshness equals the site freshness (typically same-day).

**Q6. Does this work for commercial listings?**
Yes, use the commercial section URL from royallepage.ca.

**Q7. What is the imageUrl when null?**
The listing has no photo on the search page (RLP shows a placeholder lawn sign).

**Q8. How many pages are scraped?**
As many as needed to satisfy maxItems, up to an internal safety cap of 50 pages.

**Q9. Is there a rate limit?**
The actor uses realistic browser headers and paces requests. Heavy parallel runs may need a proxy.

**Q10. Can I get agent contact info?**
The search page only shows brokerage info. For agent details, scrape the detail URLs separately.

**Q11. Is the data legal to collect?**
Only publicly available data is read, no login or paywall is bypassed.

### 🔌 Integrate with any app

Apify supports webhooks, REST API, n8n, Make, Zapier, Airbyte, Slack, Discord, GitHub, Google Sheets, Drive, BigQuery, AWS S3 and more.

### 🔗 Recommended Actors

| Actor | Use case |
|---|---|
| Apartments.com Scraper | US rental listings |
| Zillow Scraper | US for-sale listings |
| Realtor.com Scraper | US MLS listings |

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge).

**🆘 Need Help?** [Open our contact form](https://tally.so/r/BzdKgA)

> **⚠️ Disclaimer:** independent tool, not affiliated with Royal LePage. Only publicly available data collected.

# Actor input Schema

## `searchUrl` (type: `string`):

Royal LePage search URL (paste from royallepage.ca after filtering)

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

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000

## Actor input object example

```json
{
  "searchUrl": "https://www.royallepage.ca/en/search/homes/on/toronto/",
  "maxItems": 10
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "searchUrl": "https://www.royallepage.ca/en/search/homes/on/toronto/",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/royallepage-canada-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 = {
    "searchUrl": "https://www.royallepage.ca/en/search/homes/on/toronto/",
    "maxItems": 10,
}

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

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

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

```

## CLI example

```bash
echo '{
  "searchUrl": "https://www.royallepage.ca/en/search/homes/on/toronto/",
  "maxItems": 10
}' |
apify call parseforge/royallepage-canada-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=parseforge/royallepage-canada-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Royal LePage Canada Scraper | Real Estate Listings",
        "description": "Extract Royal LePage Canadian real estate listings with address, price, beds, baths, square footage, agent, MLS number, and photos. Filter by city, type, or price. Useful for realtors, property analysts, and investors tracking the Canadian housing market.",
        "version": "0.1",
        "x-build-id": "5kxmaZeGSGxvsnfeG"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/parseforge~royallepage-canada-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-parseforge-royallepage-canada-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/parseforge~royallepage-canada-scraper/runs": {
            "post": {
                "operationId": "runs-sync-parseforge-royallepage-canada-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/parseforge~royallepage-canada-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-parseforge-royallepage-canada-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchUrl": {
                        "title": "Search URL",
                        "type": "string",
                        "description": "Royal LePage search URL (paste from royallepage.ca after filtering)",
                        "default": "https://www.royallepage.ca/en/search/homes/on/toronto/"
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
