Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    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.

    Inputs of realtorca.search
    FieldTypeDescription
    area_urlrequiredstringThe 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.

    Record fields of realtorca.search
    FieldTypeNotes
    positionintegerThe listing's place on the page, from 1, newest first.
    listing_idstringREALTOR.ca's id of the listing, in its address.
    mls_numberstring or nullThe listing's MLS® number, e.g. C14196772.
    urlstringThe listing's page on realtor.ca. realtorca.listing takes it.
    priceinteger or nullThe asking price, or the rent a month, in Canadian dollars.
    price_textstring or nullThe price as the site writes it, e.g. $1,499,000, $2,200/Monthly.
    currencystringAlways CAD.Default: "CAD".
    addressstring or nullThe street address, as the site writes it.
    placestring or nullThe town, its neighbourhood and province, with the postal code, e.g. Toronto (Westminster-Branson), Ontario M2R3C6.
    postal_codestring or nullThe postal code.
    latitudenumber or nullThe listing's latitude.
    longitudenumber or nullThe listing's longitude.
    property_typestring or nullThe kind of property, e.g. Single Family, Vacant Land.
    building_typestring or nullThe kind of building, e.g. House, Apartment, Row / Townhouse.
    ownershipstring or nullThe ownership, e.g. Freehold, Condominium/Strata.
    bedroomsstring or nullThe bedrooms as the site writes them; 4 + 3 is four above ground and three below.
    bathroomsinteger or nullThe number of bathrooms.
    interior_sizestring or nullThe interior size as the site gives it, e.g. 139.3534 m2.
    land_sizestring or nullThe land's size as the site writes it, e.g. 76.4 x 150 FT.
    parking_spacesinteger or nullThe number of parking spaces.
    parkingstring or nullThe kinds of parking, e.g. Attached Garage, Garage.
    listedstring or nullHow long the listing has been on REALTOR.ca, as the site writes it, e.g. 7 min ago.
    brokeragestring or nullThe brokerage that lists it.
    imagestring or nullThe listing's first photo.
    total_resultsinteger or nullHow many listings the site says the area has, the same on every record.
    fetched_atstring (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-estate

    Install 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:

    JSON
    {
      "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.

    JSON
    {
      "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.

    JSON
    {
      "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.