# Corcoran Real Estate Listings Scraper (`vexaloom-labs/corcoran-real-estate-listings-scraper`) Actor

Scrape Corcoran - luxury real estate brokerage. Search homes for sale and rent by region with price, beds, baths, and property-type filters; fetch listing detail pages with agent info, media, and square footage.

- **URL**: https://apify.com/vexaloom-labs/corcoran-real-estate-listings-scraper.md
- **Developed by:** [vexaloom-labs](https://apify.com/vexaloom-labs) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 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/actors/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

## Corcoran Real Estate Listings Scraper

Collect **Corcoran** property listings without a login, cookie or API key. Search for-sale and rental inventory across 40+ regions, follow the site's own pagination, filter by price, bedrooms, bathrooms, property type, status, neighborhood, city or ZIP, and optionally enrich every listing with its detail-page description, features, taxes and building facts.

### What it collects

- **Listing search** — Corcoran's live search index for any region or group of regions.
- **Exact lookups** — pass listing IDs or paste full Corcoran listing URLs.
- **Region directory** — every Corcoran region with its ID, areas, slug and map coordinates.
- **Real filters** — price, bedroom, bathroom, property type, listing status, location names, ZIP codes, open-house days and new developments are sent to Corcoran's search API, so they hold across every page.
- **Full result pages** — the actor pages with the site's cursor until your item cap is reached or the source is exhausted.
- **Detail enrichment** — optional per-listing detail fetch adds description, amenities, year built, taxes, days on market and building information.

Every record is omit-empty: a field is present only when Corcoran publishes a real value for that listing.

### Modes

| Mode | What it does |
|---|---|
| `search` | Search listings by region with filters and pagination. |
| `byIds` | Look up exact listings by ID or full Corcoran URL. |
| `browseRegions` | Emit the live region directory. |

### Input

| Field | Type | Notes |
|---|---|---|
| `mode` | select | `search`, `byIds` or `browseRegions`. |
| `regionId` | integer | Single Corcoran region ID (1 = New York City). |
| `regionIds` | array | Multiple region IDs; replaces `regionId` when set. |
| `transactionType` | select | `for-sale` or `for-rent`. |
| `listingIds` | array | IDs or full listing URLs for `byIds`. |
| `minPrice` / `maxPrice` | integer | Price range in USD. |
| `minBedrooms` / `maxBedrooms` | integer | Bedroom range. |
| `minBathrooms` / `maxBathrooms` | integer | Bathroom range. |
| `propertyTypes` | multi-select | Condo, Co-op, Condop, Townhouse, Single Family, Multi Family, Commercial. |
| `listingStatus` | select | Any, Active, PreListing, Contract Signed, Back on Market, Sold, Rented. |
| `soldRentedWindowDays` | integer | History window for Sold/Rented searches (default 30 days). |
| `openHouseDays` | multi-select | Only listings with an open house on these upcoming days (0 = today, ... 6). |
| `isNewDevelopment` | boolean | New developments only. |
| `neighborhoods` | array | Neighborhood names, e.g. `Upper East Side`. |
| `citiesOrBoroughs` | array | City or borough names, e.g. `Manhattan`. |
| `zipCodes` | array | US ZIP codes. |
| `searchQuery` | string | Corcoran keyword search (address, building, neighborhood). |
| `sortBy` | select | Recommended, Newest, price low/high, most square feet, open houses first. |
| `includeDetails` | boolean | Fetch each listing's detail page for extra fields. |
| `maxItems` | integer | 1–10,000; default 25, daily-test prefill 3. |

#### Defaults

| Field | Default |
|---|---|
| `mode` | `search` |
| `regionId` | `1` (New York City) |
| `regionIds` | empty |
| `transactionType` | `for-sale` |
| `listingIds` | empty |
| `propertyTypes` | empty (all types) |
| `listingStatus` | `any` |
| `soldRentedWindowDays` | `30` |
| `openHouseDays` | empty |
| `isNewDevelopment` | `false` |
| `neighborhoods`, `citiesOrBoroughs`, `zipCodes` | empty |
| `sortBy` | `recommended+desc` |
| `includeDetails` | `false` |
| `maxItems` | `25` (prefill `3`) |

#### Example: Manhattan condos between $1M and $3M

```json
{
  "mode": "search",
  "regionId": 1,
  "propertyTypes": ["Condo"],
  "minPrice": 1000000,
  "maxPrice": 3000000,
  "minBedrooms": 2,
  "sortBy": "price+desc",
  "maxItems": 100
}
```

#### Example: rentals with open houses this week

```json
{
  "mode": "search",
  "regionIds": [1, 2],
  "transactionType": "for-rent",
  "openHouseDays": ["1"],
  "maxItems": 50
}
```

#### Example: look up listings from URLs

```json
{
  "mode": "byIds",
  "listingIds": [
    "109473943",
    "https://www.corcoran.com/listing/for-sale/1122-madison-avenue-penthouse-new-york-ny-10028/23734012/regionId/1"
  ]
}
```

### Output

Each listing record keeps its stable camelCase fields and adds more data when Corcoran publishes it:

- **Identity** — `listingId`, `propertyId`, `webId`, `buildingId`, `listingUrl`, `sourceUrl`, `listingMlsNumber`, `sourceKey`, `listingAgency`.
- **Address** — `address1`, `address2`, `streetName`, `city`, `state`, `zipCode`, `boroughName`, `neighborhoodName`, `latitude`, `longitude`.
- **Place** — `regionId`, `regionName`, `country`.
- **Pricing** — `price`, `priceUSD`, `minimumLeaseRate`, `maximumLeaseRate`, `annualTax`, `monthlyTax`.
- **Layout** — `bedrooms`, `bathrooms`, `halfBaths`, `totalBedrooms`, `totalBathrooms`, `squareFootage`, `acreage`, `acreageUnit`, `yearBuilt`, `stories`, `daysOnMarket`.
- **Classification** — `listingStatus`, `listingStatusLabel`, `propertyType`, `ownership`, `buildingType`, `listingType`, `transactionType`, `unitType`.
- **Content** — `description`, `headline`, `features[]`, `essentialFeatures[]`, `additionalFeatures[]`.
- **Media** — `mediaUrl`, `media[]`, `listingImages[]`, `buildingImages[]`, `floorplanUrls[]`, `videoUrl`.
- **Open houses** — `openHouses[]` with date, start/end time, virtual and appointment flags.
- **People** — `agents[]` with name, title, email, phone, office, license and photo.
- **Building** — `buildingName`, `buildingType`, `buildingOwnership`, `buildingDescription`, `buildingFeatures[]`, `buildingFloors`, `buildingUnitCount`, `buildingYearBuilt`.
- **Status flags** — `isNewDevelopment`, `isExclusive`, `isReducedPrice`, `isOpenHouse`, `isTrending`, `isIdx`, `isVow`, `hasVirtualTour`, `isAddressHidden`, `isPriceHidden`.
- **Provenance** — `recordType`, `scrapedAt`, plus `attributionCompanyName`, `attributionCompanyLogoUrl`.

`browseRegions` records contain `regionId`, `regionName`, `regionCode`, `regionSlug`, `regionUrl`, `areas[]`, `defaultZone`, `affiliateName` and coordinates.

### Use cases

- Track luxury inventory and price bands across Corcoran's regional markets.
- Build agent lead lists from listing contacts.
- Monitor new developments, open houses and price reductions.
- Pull sold/rented comparables for appraisal and investment research.
- Feed listing data into dashboards or CRMs with stable listing IDs.

### FAQ

#### Does this need a Corcoran account?

No. The actor reads Corcoran's public listing API and public region directory without cookies, logins or keys.

#### Are prices and statuses live?

Yes. Every value comes from Corcoran at scrape time.

#### How far can pagination go?

`maxItems` supports up to 10,000 listings per run and the actor pages through the site's own result set. A single very broad region can contain more listings than the cap; raise `maxItems` or narrow the filters.

#### What does `includeDetails` add?

One detail request per listing adds description, amenity list, taxes, days on market, building details and full media. It makes runs slower but does not change the base fields.

#### Why are some fields missing?

Conditional fields are omitted when Corcoran does not publish them — for example, land listings often have no bathroom count. Nothing is invented or emitted as null.

#### Do old saved inputs still work?

Yes. Saved tasks using `regionId`, `listingIds`, `searchQuery`, `minPrice`, `maxPrice`, `minBedrooms`, `maxBedrooms`, `listingStatus` or `maxItems` run unchanged. Legacy status names (`InContract`, `Closed`, `Contingent`) are mapped to the current Corcoran statuses.

### Limitations

- Corcoran's search API is the source; a listing that is hidden or removed on the site is not returned.
- Sold and rented searches look back over a configurable window (`soldRentedWindowDays`, default 30 days).
- Very large `maxItems` requests take longer because each page is fetched from Corcoran's API.
- This is a third-party actor and is not affiliated with Corcoran.

# Actor input Schema

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

Search listings, look up exact listings by ID or URL, or browse the region directory.

## `regionId` (type: `integer`):

Corcoran region ID for search mode. `1` = New York City, `2` = South Florida, `3` = The Hamptons, `100` = Northern California, `103` = Chicago, `109` = Denver, `128` = Nashville, `133` = Houston, `137` = Boston, `141` = Washington Metro Area. Use mode=browseRegions for the full list.

## `regionIds` (type: `array`):

Search several regions in one run. When set, this replaces Region ID. Example: `1, 2, 3` for NYC, South Florida and the Hamptons.

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

Sale or rental listings.

## `listingIds` (type: `array`):

Listing IDs or full Corcoran listing URLs for mode=byIds. Example: `109473943` or `https://www.corcoran.com/listing/for-sale/.../109473943`.

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

Only listings priced at least this much. Leave empty for no minimum.

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

Only listings priced at most this much. Leave empty for no maximum.

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

Only listings with at least this many bedrooms.

## `maxBedrooms` (type: `integer`):

Only listings with at most this many bedrooms.

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

Only listings with at least this many bathrooms.

## `maxBathrooms` (type: `integer`):

Only listings with at most this many bathrooms.

## `propertyTypes` (type: `array`):

Limit to one or more property types. Leave empty for every type.

## `listingStatus` (type: `string`):

Limit to a status. Sold and Rented search recent history; use Sold/rented window to widen it.

## `soldRentedWindowDays` (type: `integer`):

How far back to search when Listing status is Sold or Rented. Ignored for other statuses.

## `openHouseDays` (type: `array`):

Only listings with an open house on these upcoming days (0 = today, 1 = tomorrow, ... 6). Leave empty to ignore open-house dates.

## `isNewDevelopment` (type: `boolean`):

Only return new-development listings.

## `neighborhoods` (type: `array`):

Neighborhood names, e.g. `Upper East Side`, `Chelsea`. Leave empty for the whole region.

## `citiesOrBoroughs` (type: `array`):

City or borough names, e.g. `Manhattan`, `Brooklyn`, `Miami Beach`.

## `zipCodes` (type: `array`):

US ZIP codes, e.g. `10022`, `33139`.

## `searchQuery` (type: `string`):

Free-text search handled by Corcoran, e.g. an address, building or neighborhood.

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

Order of listings before the item cap is applied.

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

Fetch each listing's detail page for description, features, year built, taxes, days on market and building info. Costs one extra request per listing.

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

Hard cap on emitted listings. Larger caps page through Corcoran's search results.

## Actor input object example

```json
{
  "mode": "search",
  "regionId": 1,
  "regionIds": [],
  "transactionType": "for-sale",
  "listingIds": [],
  "propertyTypes": [],
  "listingStatus": "any",
  "soldRentedWindowDays": 30,
  "openHouseDays": [],
  "isNewDevelopment": false,
  "neighborhoods": [],
  "citiesOrBoroughs": [],
  "zipCodes": [],
  "sortBy": "recommended+desc",
  "includeDetails": false,
  "maxItems": 3
}
```

# Actor output Schema

## `records` (type: `string`):

Dataset containing all scraped records.

# 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",
    "regionId": 1,
    "regionIds": [],
    "transactionType": "for-sale",
    "listingIds": [],
    "propertyTypes": [],
    "listingStatus": "any",
    "soldRentedWindowDays": 30,
    "openHouseDays": [],
    "isNewDevelopment": false,
    "neighborhoods": [],
    "citiesOrBoroughs": [],
    "zipCodes": [],
    "sortBy": "recommended+desc",
    "includeDetails": false,
    "maxItems": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("vexaloom-labs/corcoran-real-estate-listings-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",
    "regionId": 1,
    "regionIds": [],
    "transactionType": "for-sale",
    "listingIds": [],
    "propertyTypes": [],
    "listingStatus": "any",
    "soldRentedWindowDays": 30,
    "openHouseDays": [],
    "isNewDevelopment": False,
    "neighborhoods": [],
    "citiesOrBoroughs": [],
    "zipCodes": [],
    "sortBy": "recommended+desc",
    "includeDetails": False,
    "maxItems": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("vexaloom-labs/corcoran-real-estate-listings-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",
  "regionId": 1,
  "regionIds": [],
  "transactionType": "for-sale",
  "listingIds": [],
  "propertyTypes": [],
  "listingStatus": "any",
  "soldRentedWindowDays": 30,
  "openHouseDays": [],
  "isNewDevelopment": false,
  "neighborhoods": [],
  "citiesOrBoroughs": [],
  "zipCodes": [],
  "sortBy": "recommended+desc",
  "includeDetails": false,
  "maxItems": 3
}' |
apify call vexaloom-labs/corcoran-real-estate-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vexaloom-labs/corcoran-real-estate-listings-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/36wAVUxoiJAsGtTmH/builds/LQDL15bRv0WcpZsEN/openapi.json
