# Mls Properties and Details Scraper (`realestateapi/mls-properties-and-details-scraper`) Actor

Mls Properties and Details Scraper — Parse public MLS-style listing data only when source terms or written permission allow the intended use; requests are disabled by default.

- **URL**: https://apify.com/realestateapi/mls-properties-and-details-scraper.md
- **Developed by:** [Real Estate API](https://apify.com/realestateapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 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.

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

## Mls Properties and Details Scraper

### What does Mls Properties and Details Scraper do?

Mls Properties and Details Scraper accepts only explicitly supplied public pages that expose a supported property-typed JSON-LD record. It ignores generic links and product metadata. It can return addresses, prices, bedrooms, bathrooms, area, descriptions, images, and property URLs when a source exposes them. It does not connect to a specific MLS service or provide a public MLS data API.

**Source authorization:** each MLS provider sets its own terms. This Actor defaults to `authorizationConfirmed: false`, makes zero source requests, and returns `SKIPPED_POLICY`. Set it to `true` only after checking that every supplied source permits the intended automated collection and reuse or after obtaining written permission. Redirects are not followed, and broker credentials/private feeds are unsupported.

### Why scrape public MLS pages?

Investors can monitor asking prices and inventory, analysts can compare neighborhoods, and real-estate teams can build a clean dataset from public listing pages. The Actor accepts listing, search, and area URLs and keeps requests sequential and bounded. Apify adds scheduling, API access, integrations, proxy configuration, and run monitoring.

### What data can it extract?

| Field | Type | Description |
| --- | --- | --- |
| `url` | URL | Public listing URL |
| `address` | string | Property address or public listing label |
| `price` | number | Numeric asking price |
| `beds` | number | Bedroom count |
| `baths` | number | Bathroom count |
| `areaSqFt` | number | Living area in square feet |
| `description` | string | Public listing description |
| `image` | URL | Primary property image |
| `recordId` | string | Stable identifier derived from the listing URL |
| `sourceUrl` | URL | Page whose property data was parsed |
| `propertyType` | string | Supported property type when present |
| `recordType` | string | `listing` only |

### How to scrape public MLS listings

1. Add public listing, search, or area URLs to `startUrls`.
2. Confirm that every target source permits the intended use, then set `authorizationConfirmed: true`, `maxItems`, a polite delay, and an appropriate timeout.
3. Run the Actor and inspect listing records in the Dataset tab.
4. Download the dataset as JSON, HTML, CSV, or Excel, or use the API tab for programmatic access.

### How much will it cost?

Cost depends on the number of pages and compute time. Small searches are inexpensive; larger URL lists and slow pages consume more compute. Use `maxItems`, `requestDelayMs`, and `requestTimeoutSecs` to keep usage predictable.

### Input and output

See the input tab for full configuration options. Credentials and private MLS feeds are intentionally unsupported. The Actor writes only structured property listings with a property address and listing detail; access failures, unsupported content, policy skips, and run status are kept in the `OUTPUT` key-value summary. A clean bounded or empty run reports `SUCCEEDED` / `COMPLETED`; a failure without saved listings reports `FAILED` / `FAILED` and exits nonzero; a failure after real listings have been saved reports `SUCCEEDED` / `PARTIAL` and exits successfully. An unauthorized default run reports `SUCCEEDED` / `SKIPPED_POLICY` with zero source requests and dataset rows.

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. Example:

```json
{
  "recordType": "listing",
  "url": "https://listings.example.test/property/123",
  "address": "123 Main Street, Dublin",
  "price": 450000,
  "beds": 3,
  "baths": 2,
  "areaSqFt": 1800
}
```

### FAQ, disclaimers, and support

Only source-authorized public listing pages are read. The Actor does not collect broker credentials or access private feeds. MLS pages can contain personal data and third-party listing content; comply with the terms and permissions for each provider and use the Actor only for an authorized purpose. Offline parser fixtures are synthetic and never written to the active dataset.

# Actor input Schema

## `authorizationConfirmed` (type: `boolean`):

Required before requests. Confirm that each target's terms or written permission allows automated collection and the intended reuse. MLS portals have different rules; this is a caller attestation, not a bypass.

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

Listing, search, or area pages on sources for which automated use is authorized. MLS access credentials are not supported.

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

Maximum property records to emit.

## `requestDelayMs` (type: `integer`):

Delay between public requests.

## `requestTimeoutSecs` (type: `integer`):

Maximum time allowed for each public page.

## Actor input object example

```json
{
  "authorizationConfirmed": false,
  "startUrls": [],
  "maxItems": 25,
  "requestDelayMs": 500,
  "requestTimeoutSecs": 45
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing validated MLS-style property listing records only.

## `runSummary` (type: `string`):

Canonical run status, counts, and failures stored in the key-value store.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("realestateapi/mls-properties-and-details-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("realestateapi/mls-properties-and-details-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 '{}' |
apify call realestateapi/mls-properties-and-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,realestateapi/mls-properties-and-details-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/3vdJj7nLj1bO2JVw4/builds/dZUEtLnMgj8tgOb6O/openapi.json
