# Realtor.com Property Detail Scraper (`good-apis/realtor-detail-scraper`) Actor

- **URL**: https://apify.com/good-apis/realtor-detail-scraper.md
- **Developed by:** [Danny](https://apify.com/good-apis) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Realtor.com Property Detail Scraper

Give it a **Realtor.com** property URL and get back the full, structured detail for that listing —
price, address, coordinates, beds/baths, square footage, lot size, year built, property type, HOA,
listing status and dates, valuation estimate, last-sold price/date, description and photo URLs.

**Pricing:** Pay per result — **$5.00 / 1,000 properties** ($0.005 per property). You are charged only
when a property is actually returned; a not-found / empty result costs nothing.

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `url` | string | yes | A Realtor.com property detail URL, or the bare permalink slug. |

```json
{ "url": "https://www.realtor.com/realestateandhomes-detail/603-Anfield-Cir_Austin_TX_78738_M89920-40993" }
```

The bare slug (`603-Anfield-Cir_Austin_TX_78738_M89920-40993`) is also accepted.

### Output

One dataset item per property:

| Field | Description |
|---|---|
| `property_id`, `listing_id` | Realtor.com identifiers |
| `url` | Canonical listing URL |
| `status` | Listing status (for\_sale, sold, …) |
| `list_price` | Current list price |
| `price_per_sqft` | Price per square foot |
| `estimated_value` | Realtor.com valuation estimate |
| `last_sold_price`, `last_sold_date` | Most recent sale |
| `list_date` | Date listed |
| `address`, `city`, `state`, `postal_code`, `county` | Location |
| `latitude`, `longitude` | Coordinates |
| `property_type`, `sub_type` | Property classification |
| `beds`, `baths`, `baths_full`, `baths_half` | Room counts |
| `sqft`, `lot_sqft` | Building & lot size |
| `year_built`, `stories`, `garage` | Structure detail |
| `hoa_fee` | HOA fee (if any) |
| `description` | Listing description (up to 2000 chars) |
| `photo_count`, `photos` | Photo count + up to 50 photo URLs |

### Use it from code

**Python**

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("good-apis/realtor-detail-scraper").call(
    run_input={"url": "https://www.realtor.com/realestateandhomes-detail/603-Anfield-Cir_Austin_TX_78738_M89920-40993"})
item = next(client.dataset(run["defaultDatasetId"]).iterate_items())
print(item["address"], item["list_price"], item["beds"], item["baths"])
```

**Node.js**

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('good-apis/realtor-detail-scraper').call({
    url: 'https://www.realtor.com/realestateandhomes-detail/603-Anfield-Cir_Austin_TX_78738_M89920-40993' });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);
```

### FAQ

**Where do I get property URLs?** From any Realtor.com search results page, or the address bar on a
listing page. The bare permalink slug also works.

**Which country?** Realtor.com — United States listings.

**Is a proxy needed?** No — anti-bot handling and proxying are fully server-side.

**A URL returned nothing — why?** The listing was removed/sold and no longer resolves, or the URL was
malformed. Live listings return a full record.

# Actor input Schema

## `url` (type: `string`):

A Realtor.com property detail URL (or the bare permalink slug), e.g. https://www.realtor.com/realestateandhomes-detail/603-Anfield-Cir\_Austin\_TX\_78738\_M89920-40993

## Actor input object example

```json
{
  "url": "https://www.realtor.com/realestateandhomes-detail/603-Anfield-Cir_Austin_TX_78738_M89920-40993"
}
```

# Actor output Schema

## `results` (type: `string`):

All scraped items in the default dataset.

# 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 = {
    "url": "https://www.realtor.com/realestateandhomes-detail/603-Anfield-Cir_Austin_TX_78738_M89920-40993"
};

// Run the Actor and wait for it to finish
const run = await client.actor("good-apis/realtor-detail-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 = { "url": "https://www.realtor.com/realestateandhomes-detail/603-Anfield-Cir_Austin_TX_78738_M89920-40993" }

# Run the Actor and wait for it to finish
run = client.actor("good-apis/realtor-detail-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "url": "https://www.realtor.com/realestateandhomes-detail/603-Anfield-Cir_Austin_TX_78738_M89920-40993"
}' |
apify call good-apis/realtor-detail-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=good-apis/realtor-detail-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/jnJoyqa2MF3nhzPsn/builds/5w0gxKEApXcFiZeUa/openapi.json
