Scraper APIREALTOR.ca
realtorca.search
The newest listings of an area of Canada on REALTOR.ca, for sale or to rent: MLS® number, price, address, pin, type, rooms, sizes, parking and brokerage.
- Id
realtorca.search- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/realtorca.search/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
area_urlrequired | string | The address of an area's page on realtor.ca: a town or a part of it, and a kind (real-estate, rentals, condos-for-sale, townhomes-for-sale, land-for-sale, new-listings, open-houses, condos-for-rent, apartments-for-rent), e.g. https://www.realtor.ca/on/toronto/real-estate or https://www.realtor.ca/bc/vancouver/rentals.Limit: at least 10 characters, at most 2048 characters. |
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
position | integer | The listing's place on the page, from 1, newest first. |
listing_id | string | REALTOR.ca's id of the listing, in its address. |
mls_number | string or null | The listing's MLS® number, e.g. C14196772. |
url | string | The listing's page on realtor.ca. realtorca.listing takes it. |
price | integer or null | The asking price, or the rent a month, in Canadian dollars. |
price_text | string or null | The price as the site writes it, e.g. $1,499,000, $2,200/Monthly. |
currency | string | Always CAD.Default: "CAD". |
address | string or null | The street address, as the site writes it. |
place | string or null | The town, its neighbourhood and province, with the postal code, e.g. Toronto (Westminster-Branson), Ontario M2R3C6. |
postal_code | string or null | The postal code. |
latitude | number or null | The listing's latitude. |
longitude | number or null | The listing's longitude. |
property_type | string or null | The kind of property, e.g. Single Family, Vacant Land. |
building_type | string or null | The kind of building, e.g. House, Apartment, Row / Townhouse. |
ownership | string or null | The ownership, e.g. Freehold, Condominium/Strata. |
bedrooms | string or null | The bedrooms as the site writes them; 4 + 3 is four above ground and three below. |
bathrooms | integer or null | The number of bathrooms. |
interior_size | string or null | The interior size as the site gives it, e.g. 139.3534 m2. |
land_size | string or null | The land's size as the site writes it, e.g. 76.4 x 150 FT. |
parking_spaces | integer or null | The number of parking spaces. |
parking | string or null | The kinds of parking, e.g. Attached Garage, Garage. |
listed | string or null | How long the listing has been on REALTOR.ca, as the site writes it, e.g. 7 min ago. |
brokerage | string or null | The brokerage that lists it. |
image | string or null | The listing's first photo. |
total_results | integer or null | How many listings the site says the area has, the same on every record. |
fetched_at | string (date-time) | When REALTOR.ca answered, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/realtorca.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"area_url":"https://www.realtor.ca/on/toronto/real-estate"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("realtorca.search", {
"area_url": "https://www.realtor.ca/on/toronto/real-estate",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("realtorca.search", {
area_url: "https://www.realtor.ca/on/toronto/real-estate",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "realtorca.search", map[string]any{"area_url": "https://www.realtor.ca/on/toronto/real-estate"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("realtorca.search", Map.of("area_url", "https://www.realtor.ca/on/toronto/real-estate"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run realtorca.search --input area_url=https://www.realtor.ca/on/toronto/real-estateInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"area_url": "https://www.realtor.ca/on/toronto/real-estate"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "realtorca.search",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"area_url": "https://www.realtor.ca/on/toronto/real-estate"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"position": 1,
"listing_id": "30530780",
"mls_number": "W14196984",
"url": "https://www.realtor.ca/real-estate/30530780/2562-islington-ave-avenue-w-toronto-thistletown-beaumonde-heights",
"price": 1499000,
"price_text": "$1,499,000",
"currency": "CAD",
"address": "2562 ISLINGTON AVE AVENUE W",
"place": "Toronto (Thistletown-Beaumonde Heights), Ontario M9V2X2",
"postal_code": "M9V2X2",
"latitude": 43.7325235,
"longitude": -79.5636776,
"property_type": "Single Family",
"building_type": "House",
"ownership": "Freehold",
"bedrooms": "4 + 3",
"bathrooms": 5,
"interior_size": "139.3534 m2",
"land_size": "76.4 x 150 FT",
"parking_spaces": 6,
"parking": "Attached Garage, Garage",
"listed": "7 min ago",
"brokerage": "RISING STAR REALTY LTD.",
"image": "https://cdn.realtor.ca/listings/TS639307065127630000/reb82/highres/4/w14196984_1.jpg",
"total_results": 9856,
"fetched_at": "2026-11-19T23:01:45.286615Z"
}
],
"next_cursor": null
}A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the REALTOR.ca scrapers are in their own section there.