# Centris Real Estate Scraper (`crawlerbros/centris-scraper`) Actor

Scrape Centris.ca - Quebec's official real estate listing network. Browse houses, condos, plexes, cottages, lots and rentals by region/city, or fetch full details for specific listing URLs. Get price, address, bedrooms, bathrooms, area, year built, photos, and broker info.

- **URL**: https://apify.com/crawlerbros/centris-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Real estate, Automation, Developer tools
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Centris Real Estate Scraper

Scrape [Centris.ca](https://www.centris.ca) — the official real estate listing network used by every real estate board in the province of Quebec, Canada. Browse houses, condos, plexes, cottages, lots and lofts for sale or for rent across 69 regions and cities, or fetch full details for specific listing URLs.

### What this actor does

- **Two modes:** `search` (browse by region, property type, transaction type) and `byUrls` (fetch specific listing pages you already have links for)
- **7 property types:** house, condo/apartment, plex (duplex/triplex/income property), cottage, lot/land, loft/studio, or all
- **Buy or rent:** every property type is available for sale; most are also available for rent
- **69 regions/cities:** every Quebec administrative region plus major cities, or search all of Quebec / all of Canada at once
- **Client-side filters:** price range, minimum bedrooms, minimum bathrooms, listing badge (new price / new property / open house)
- **Full detail enrichment (optional):** net area, year built, parking, move-in date, extra characteristics, full description, listing broker and agency
- **Empty fields are omitted** — every record only contains fields Centris actually published for that listing

### Output per listing

- `mlsNumber` — the Centris listing number
- `title`, `propertyType`, `transactionType` (`sale` / `rent`)
- `price`, `currency`
- `addressStreet`, `addressCity`, `fullAddress`
- `bedrooms`, `bathrooms`
- `netArea`, `lotArea`, `buildingArea`, `yearBuilt`, `parkingTotal`, `additionalFeatures`, `moveInDate`
- `characteristics` — any other listing attributes Centris publishes (condo type, fireplace, heating, etc.)
- `description` — full listing remarks
- `brokerName`, `brokerTitle`, `agencyName`
- `imageUrl`, `imageUrls[]`, `imageCount`
- `latitude`, `longitude`
- `listingBadges` — Centris.ca merchandising badges currently on the listing (e.g. `New price`, `New property`, `Open house`)
- `openHouseSchedule` — upcoming open-house date/time slots, when the listing has any scheduled (`includeDetails`/`byUrls` only)
- `sourceUrl` — the canonical Centris.ca listing page
- `recordType: "listing"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | select | `search` | `search` / `byUrls` |
| `transactionType` | select | `for-sale` | `for-sale` / `for-rent` (mode=search) |
| `propertyType` | select | `all` | `all` / `house` / `condo` / `plex` / `cottage` / `lot` / `loft-studio` (mode=search) |
| `location` | select | `all-quebec` | Quebec region or city, `all-quebec`, or `canada` (mode=search) |
| `minPrice` | int | – | Drop listings priced below this (CAD) |
| `maxPrice` | int | – | Drop listings priced above this (CAD) |
| `minBedrooms` | int | – | Drop listings with fewer bedrooms |
| `minBathrooms` | int | – | Drop listings with fewer bathrooms |
| `listingBadge` | select | – | Only keep listings carrying this badge: `newPrice` / `newProperty` / `openHouse` |
| `sortBy` | select | `relevance` | Server-side order to fetch listings in: `relevance` / `priceAsc` / `priceDesc` / `newest` / `oldest` (mode=search) |
| `includeDetails` | bool | `true` | Fetch each listing's detail page for full fields (slower, more complete) |
| `startUrls` | array | – | Centris.ca listing URLs to fetch (mode=byUrls) |
| `maxItems` | int | `20` | Hard cap on emitted records (1–500) |

#### Example: houses for sale in Montreal, $400K–$700K, 3+ bedrooms

```json
{
  "mode": "search",
  "transactionType": "for-sale",
  "propertyType": "house",
  "location": "montreal-island",
  "minPrice": 400000,
  "maxPrice": 700000,
  "minBedrooms": 3,
  "maxItems": 50
}
```

#### Example: condo rentals in Laval

```json
{
  "mode": "search",
  "transactionType": "for-rent",
  "propertyType": "condo",
  "location": "laval",
  "maxItems": 30
}
```

#### Example: fetch specific listing URLs

```json
{
  "mode": "byUrls",
  "startUrls": [
    "https://www.centris.ca/en/condos~for-sale~montreal-saint-laurent/17985337"
  ]
}
```

### Use cases

- **Real estate market research** — track prices, inventory, and days-on-market across Quebec regions
- **Investment analysis** — screen plexes and income properties for cap-rate modeling
- **Relocation / rental search** — pull all rentals in a target city into a spreadsheet or CRM
- **Lead generation for agents/brokers** — monitor new listings in a farm area
- **Data aggregation** — feed a real estate portal or price-tracking tool

### FAQ

**What's Centris?**  The official MLS-backed listing network operated by Quebec's real estate boards (AQPI / QPAREB). Every licensed Quebec broker publishes listings there, making it the most complete source for Quebec real estate.

**Does this cover all of Canada?**  Centris itself is Quebec-focused, though it also carries some listings tagged "Canada" (mostly other-province listings cross-posted by Quebec brokers). Set `location` to `canada` to include those -- but note Centris only exposes this cross-Canada view for `propertyType: "all"` combined with `transactionType: "for-sale"`; any other property type or `for-rent` combined with `location: "canada"` isn't routable on Centris.ca, and the actor fails soft with a clear status message instead of returning 0 unexplained records.

**Why do some listings have fewer fields than others?**  Fields depend on what the listing agent published — e.g. a vacant lot has no `bedrooms`; a rental usually omits `yearBuilt`. The actor only includes fields Centris actually populated.

**Why is `includeDetails` optional?**  Search-results pages already carry price, address, bedrooms, bathrooms and a thumbnail. Turning on `includeDetails` fetches each listing's own page for net area, year built, description, broker/agency and the full photo gallery — more complete but roughly 2x slower.

**How many listings can I pull at once?**  Up to 500 per run. Centris paginates 20 listings per page.

**Can I search by keyword/address?**  Not directly — Centris's keyword search requires a stateful multi-step session. Use `location` (region/city) combined with `propertyType`/`transactionType`/price/bedroom filters, or supply specific listing URLs via `byUrls` if you already know which properties you want.

**Are prices in CAD?**  Yes, all Centris listings are priced in Canadian dollars.

**What are `listingBadges`?**  Merchandising flags Centris itself displays on a listing: `New price` (recent price reduction), `New property` (newly listed), and `Open house` (a scheduled showing). Use `listingBadge` to filter to just one of these -- badges are read straight off the search-results page, so this filter works with or without `includeDetails`.

**When is `openHouseSchedule` populated?**  Only when the listing has an `Open house` badge AND you fetch its detail page — i.e. with `includeDetails: true` (the default in `search` mode) or always in `byUrls` mode. It lists each upcoming showing's date and time window.

# Actor input Schema

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

What to fetch.

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

Buy or rent.

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

Type of property to browse.

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

Quebec region or city to search in. Note: 'canada' only works with propertyType=all and transactionType=for-sale (Centris's only routable cross-Canada view).

## `minPrice` (type: `integer`):

Drop listings priced below this (CAD).

## `maxPrice` (type: `integer`):

Drop listings priced above this (CAD).

## `minBedrooms` (type: `integer`):

Drop listings with fewer bedrooms than this.

## `minBathrooms` (type: `integer`):

Drop listings with fewer bathrooms than this.

## `listingBadge` (type: `string`):

Only keep listings currently carrying this Centris.ca merchandising badge.

## `sortBy` (type: `string`):

Order to fetch listings in from Centris.ca. Applied server-side (Centris's own "Sort by" dropdown), so it changes which listings appear first/within `maxItems` when not fetching the full result set.

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

Direct Centris.ca listing URLs to fetch full details for, e.g. `https://www.centris.ca/en/condos~for-sale~montreal-saint-laurent/17985337`.

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

When on, fetches each listing's detail page for extra fields (net area, year built, parking, description). Slower but more complete.

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

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "search",
  "transactionType": "for-sale",
  "propertyType": "house",
  "location": "montreal-island",
  "listingBadge": "",
  "sortBy": "relevance",
  "startUrls": [],
  "includeDetails": true,
  "maxItems": 20
}
```

# Actor output Schema

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

Dataset containing all scraped Centris.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",
    "transactionType": "for-sale",
    "propertyType": "house",
    "location": "montreal-island",
    "listingBadge": "",
    "sortBy": "relevance",
    "startUrls": [],
    "includeDetails": true,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/centris-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",
    "transactionType": "for-sale",
    "propertyType": "house",
    "location": "montreal-island",
    "listingBadge": "",
    "sortBy": "relevance",
    "startUrls": [],
    "includeDetails": True,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/centris-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",
  "transactionType": "for-sale",
  "propertyType": "house",
  "location": "montreal-island",
  "listingBadge": "",
  "sortBy": "relevance",
  "startUrls": [],
  "includeDetails": true,
  "maxItems": 20
}' |
apify call crawlerbros/centris-scraper --silent --output-dataset

```

## MCP server setup

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