# Royal LePage Property Scraper — Canadian Real Estate (`ocrad/royallepage-property-scraper`) Actor

Scrape RoyalLePage.ca Canadian real estate listings from any city or search URL (English or French): price, MLS number, property type, beds, baths, address, coordinates, photo, plus description, features, square footage, fees, agent and brokerage from listing pages. Export JSON/CSV/Excel.

- **URL**: https://apify.com/ocrad/royallepage-property-scraper.md
- **Developed by:** [Ocrad](https://apify.com/ocrad) (community)
- **Categories:** Real estate, Lead generation, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 records

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

### Royal LePage Property Scraper

***

Canadian Real Estate. Provide any RoyalLePage.ca city or search URL (English or French) and get structured property listing data across result pages: price, MLS® number, property type, beds, baths, address, coordinates and photo. Turn on `detailedInfo` to add the description, all "Label: Value" features, square footage, condo fees, listing agent, brokerage, phone and all photos from each listing page.

***

#### **📋 Example Output**

**Basic record** (`detailedInfo: false`):

```json
{
  "id": "29513124",
  "url": "https://www.royallepage.ca/en/property/ontario/toronto/57-68-winston-park-boulevard/29513124/mlsw14127158/",
  "mlsNumber": "W14127158",
  "title": "57-68 Winston Park Boulevard, Toronto, ON",
  "price": 545000,
  "currency": "CAD",
  "listingType": "sale",
  "propertyType": "Townhouse",
  "bedrooms": 2,
  "bathrooms": 2,
  "sqft": null,
  "address": "57-68 Winston Park Boulevard",
  "city": "Toronto",
  "province": "ON",
  "postalCode": "M3K 1C3",
  "latitude": 43.729931041375586,
  "longitude": -79.46596662129947,
  "agentName": null,
  "officeName": null,
  "imageUrl": "https://rlp.jumplisting.com/photos/feed/5/321/412/7158/29513124_0_med.jpg",
  "isNewListing": true,
  "description": null,
  "features": null,
  "scrapedAt": "2026-10-29T16:40:36.722Z"
}
```

**Detailed record** (`detailedInfo: true`, additional fields):

```json
{
  "id": "29506916",
  "url": "https://www.royallepage.ca/en/property/ontario/toronto/603-29-camden-street/29506916/mlsc14123372/",
  "mlsNumber": "C14123372",
  "title": "603 - 29 CAMDEN STREET, Toronto, Ontario, M5V 3N3",
  "price": 599700,
  "currency": "CAD",
  "listingType": "sale",
  "propertyType": "Condo",
  "bedrooms": 1,
  "bathrooms": 1,
  "sqft": "600-699",
  "address": "603 - 29 CAMDEN STREET",
  "city": "Toronto",
  "province": "ON",
  "postalCode": "M5V 3N3",
  "latitude": 43.646911,
  "longitude": -79.397175,
  "agentName": "John Gaio",
  "officeName": "Royal LePage Certified Realty, Brokerage",
  "agentPhone": "416.951.6385",
  "imageUrl": "https://rlp.jumplisting.com/photos/29/50/69/16/29506916_0.jpg",
  "isNewListing": true,
  "listedAt": "2026-10-28T00:00:00.000Z",
  "description": "Experience authentic urban condo living at Camden Lofts in the heart of Toronto's vibrant Queen West Fashion and Entertainment District. This stylish 1-bedroom, 1-bathroom suite features an open-concept layout, impressive 10-foot ceilings …",
  "features": "Style: Apartment | Building Type: Apartment | Amenities: Party Room, Storage - Locker | Architectural Style: Loft | Basement Type: None | Exterior Finish: Brick, Concrete | Floor Space: 600 - 699 sqft Square Feet | …",
  "maintenanceFees": "$697 Monthly",
  "taxes": null,
  "yearBuilt": null,
  "images": ["https://rlp.jumplisting.com/photos/29/50/69/16/29506916_0_lg.jpg", "… 17 more"],
  "scrapedAt": "2026-10-29T16:40:43.944Z"
}
```

`price` is a number in CAD. Cards show the postal code and photo only when the listing has a photo (about 7 in 10 listings); the listing page (`detailedInfo`) always has the postal code. `sqft` comes from the listing page and is a number or a range such as `600-699` when the board only gives a range.

#### ⚙️ **Configuration**

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `url` | String | *(required)* | Royal LePage city or search URL, English or French, e.g. `https://www.royallepage.ca/en/on/toronto/properties/` or `https://www.royallepage.ca/en/search/homes/qc/montreal/`. Add `?sortby=high_to_low_price` or `?sortby=low_to_high_price` to change the order. A single `/en/property/…` URL returns that listing with full details. |
| `maxPages` | Integer | `1` | Number of result pages to scrape (46 listings each). Royal LePage shows at most the first 1,000 results (22 pages) per search. |
| `detailedInfo` | Boolean | `false` | Visit each listing page for description, features, square footage, fees, agent and brokerage (one extra request per listing). |
| `proxyConfiguration` | Object | Apify Proxy (auto) | Proxy settings. Switch to RESIDENTIAL only if results are empty. |

##### Example Input

```json
{
  "url": "https://www.royallepage.ca/en/on/toronto/properties/?sortby=high_to_low_price",
  "maxPages": 3,
  "detailedInfo": false
}
```

##### Getting your search URL

1. Open [royallepage.ca](https://www.royallepage.ca) and search for a city, neighbourhood or address
2. Apply filters or a sort order — the URL looks like `/en/on/toronto/properties/` or `/en/search/homes/on/toronto/`
3. Copy the full URL from your browser address bar and paste it as the `url` input

***

#### 💬 **Support and Feedback**

Reach out via Apify support channels or leave feedback on the Actor's page.

#### **Is it legal to scrape Royal LePage data?**

It is legal to scrape publicly available data such as prices, addresses and listing details. Results may contain personal data (listing agent names and phone numbers); scrape personal data only with a legitimate reason. Personal data is protected by PIPEDA and provincial privacy laws — consult your legal advisor if unsure.

# Actor input Schema

## `url` (type: `string`):

A royallepage.ca city or search results URL, English or French, e.g. https://www.royallepage.ca/en/on/toronto/properties/ or https://www.royallepage.ca/en/search/homes/qc/montreal/ (add ?sortby=high_to_low_price or low_to_high_price to change the order). A single /en/property/… URL returns that listing with full details.

## `maxPages` (type: `integer`):

How many result pages to scrape (46 listings each). Pages are a trailing path segment (…/properties/2/). Royal LePage shows at most the first 1,000 results (22 pages) per search.

## `detailedInfo` (type: `boolean`):

Visit each listing page for the description, features, square footage, condo fees, agent name, brokerage, phone and all photos. Slower: one extra request per listing.

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

Defaults to Apify Proxy (auto). Switch to RESIDENTIAL only if results are empty.

## Actor input object example

```json
{
  "url": "https://www.royallepage.ca/en/on/toronto/properties/",
  "maxPages": 1,
  "detailedInfo": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `id` (type: `string`):

Royal LePage listing ID

## `url` (type: `string`):

Listing page URL

## `mlsNumber` (type: `string`):

MLS® number

## `title` (type: `string`):

Street address, city and province (title of the listing)

## `price` (type: `string`):

Asking price or monthly rent (number)

## `currency` (type: `string`):

Always CAD

## `listingType` (type: `string`):

sale or rent

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

Property type, e.g. House, Condo, Townhouse, Vacant Land

## `bedrooms` (type: `string`):

Number of bedrooms

## `bathrooms` (type: `string`):

Number of bathrooms

## `sqft` (type: `string`):

Floor space in square feet (detailedInfo only; a range such as 600-699 when the board only gives a range)

## `address` (type: `string`):

Street address

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

City (sometimes with the neighbourhood in brackets)

## `province` (type: `string`):

Province code, e.g. ON

## `postalCode` (type: `string`):

Postal code

## `latitude` (type: `string`):

Latitude

## `longitude` (type: `string`):

Longitude

## `agentName` (type: `string`):

Listing agent name (detailedInfo only)

## `officeName` (type: `string`):

Brokerage / office name (detailedInfo only)

## `agentPhone` (type: `string`):

Listing agent phone (detailedInfo only)

## `imageUrl` (type: `string`):

Main photo URL

## `isNewListing` (type: `string`):

true when the card carries the "new listing" flag

## `listedAt` (type: `string`):

ISO 8601 date the listing was posted (detailedInfo only)

## `description` (type: `string`):

Listing description (detailedInfo only)

## `features` (type: `string`):

All "Label: Value" features joined with " | " (detailedInfo only)

## `maintenanceFees` (type: `string`):

Condo / maintenance fees as displayed (detailedInfo only)

## `taxes` (type: `string`):

Property taxes as displayed, when the board provides them (detailedInfo only)

## `yearBuilt` (type: `string`):

Year built, when the board provides it (detailedInfo only)

## `images` (type: `string`):

All photo URLs (detailedInfo only)

## `scrapedAt` (type: `string`):

ISO 8601 timestamp when the record was scraped

# 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 = {
    "url": "https://www.royallepage.ca/en/on/toronto/properties/",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ocrad/royallepage-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 = {
    "url": "https://www.royallepage.ca/en/on/toronto/properties/",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("ocrad/royallepage-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 '{
  "url": "https://www.royallepage.ca/en/on/toronto/properties/",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call ocrad/royallepage-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ocrad/royallepage-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/GnkI6bUcRLVRBjMyB/builds/LRm0jGZDPkjieBFyN/openapi.json
