# Compass Urls Spider (`hello.datawizards/compass-urls-spider`) Actor

Compass Urls Spider is a powerful Apify Actor that extracts detailed real-estate data from Compass listing URLs. Get clean JSON with property details, agent info, images, status, and more—ideal for analytics, automation, and market insights. Built and supported by DataWizards.

- **URL**: https://apify.com/hello.datawizards/compass-urls-spider.md
- **Developed by:** [datawizards](https://apify.com/hello.datawizards) (community)
- **Categories:** Agents, Automation, Real estate
- **Stats:** 10 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $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/actors/running/actors-in-store.md#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

***

## 🧭 Compass Urls Spider · Apify Actor

***

### 📌 What Is `Compass Urls Spider`?

`Compass Urls Spider` is a powerful Apify Actor designed to **scrape detailed property information from any Compass listing URL**. Whether you are analyzing property trends, monitoring listings, generating real-estate datasets, or powering an internal system — this actor automates everything.

Simply provide one or multiple Compass URLs, and the actor returns **clean, structured JSON data** including property details, pricing, features, schools, agent info, images, and more.

***

### 🧠 Key Features

- 🏡 **Comprehensive Property Data** (beds, baths, square footage, lot size, agent info, description, price history & more)
- 🌐 **Supports Multiple URLs** in a single run
- 🛡️ Built-in **Apify Residential Proxy** compatibility
- ⚡ Fast, reliable, and optimized to bypass blocking
- 📷 Extracts listing images + related metadata
- 🧩 Perfect for integrations (ETL pipelines, dashboards, analytics tools)
- 🧭 Works even on *canceled* or *off-market* listings

***

### 🛠️ Input Schema

Here’s how you provide input to the actor:

```json
{
  "Urls": [
    "https://www.compass.com/listing/113-jefferson-drive-columbia-tn-38401/1721827764917827545/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

#### 🔐 Proxy Configuration Notes

- **useApifyProxy** — Must be `true` for stable scraping
- **apifyProxyGroups** — `"RESIDENTIAL"` recommended for lowest block rates

***

### 📤 Output Example

Below is a real example of the output provided by the actor:

```json
[
  {
    "title": "113 Jefferson Drive, Columbia, TN, 38401",
    "property_type": null,
    "price": null,
    "bedrooms": 4,
    "bathrooms": 5,
    "street_address": "113 Jefferson Drive",
    "city": "Columbia",
    "state": "TN",
    "zip_code": "38401",
    "neighborhood": "Columbia",
    "property_status": "Canceled",
    "nearby_schools": [
      "R Howell Elementary School",
      "E. A. Cox Middle School",
      "Columbia Central High School",
      "Northfield Academy",
      "Virtual Academy of Maury County",
      "Columbia Academy",
      "Calvary Baptist Academy"
    ]
  }
]
```

***

### 🚀 Use Cases

- 📊 **Real Estate Analytics** — Build comparative market analysis datasets
- 🧱 **Property Investment Tools** — Power valuation models with fresh listing data
- 🔄 **ETL / Data Pipelines** — Feed CRMs, dashboards, or BI tools
- 🕵️ **Market Monitoring** — Track property changes, status updates, agent listings
- 🏢 **Brokerage Automation** — Auto-sync Compass listings into internal platforms
- 🎓 **Academic & Research** — Housing market studies, affordability research

***

### ✅ Best Practices

- Use **RESIDENTIAL proxies** for large batches of URLs
- Avoid sending broken or redirected URLs
- For highest accuracy, limit batches to **500 URLs per run**
- Schedule runs on Apify to keep datasets continuously updated
- Save outputs to Dataset + integrate via API for seamless automation

***

### 📚 Additional Tips

- The actor handles **off-market, canceled, or sold** listings gracefully
- For custom formats (CSV, Excel, API-ready JSON), DataWizards can provide tailored solutions
- Rate-limit Compass to avoid temporary blocking

***

### 🤝 Support

Need customization? Cleaner output? More fields?
**DataWizards are ready whenever you are!**

📧 **Email:** <hello.datawizard@gmail.com>
✉️ **Support Email Subject:** `Compass Urls Spider – Support Request`
🔗 **Connect with us:** <https://linkedin.com/in/data-wizards-aa8080342>

***

### 🐛 Bugs, Improvements & Custom Requests

If you’d like additional fields, a simplified output, or have found a bug:

📩 **Email:** <hello.datawizard@gmail.com>
🛠️ **Subject:** `Bug Report – Compass Urls Spider`

DataWizards can also build **custom scrapers, full automation pipelines, or enterprise-grade datasets** upon request.

***

### 🧰 Need Something More?

Whether you need:

- A **larger real-estate dataset**
- A **multi-site property aggregator**
- A **custom API built on top of Compass data**
- Or simply more fields added to this actor

—we’ve got you covered.

**DataWizards = reliable, scalable, and always ready to help.**

***

# Actor input Schema

## `Urls` (type: `array`):

A list of URLs of the web pages you want to scrape data from.

## `proxyConfiguration` (type: `object`):

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "Urls": [
    "https://www.compass.com/listing/113-jefferson-drive-columbia-tn-38401/1721827764917827545/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "Urls": [
        "https://www.compass.com/listing/113-jefferson-drive-columbia-tn-38401/1721827764917827545/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hello.datawizards/compass-urls-spider").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 = {
    "Urls": ["https://www.compass.com/listing/113-jefferson-drive-columbia-tn-38401/1721827764917827545/"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("hello.datawizards/compass-urls-spider").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 '{
  "Urls": [
    "https://www.compass.com/listing/113-jefferson-drive-columbia-tn-38401/1721827764917827545/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call hello.datawizards/compass-urls-spider --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hello.datawizards/compass-urls-spider"
        }
    }
}

```

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/OmZf6Elb7Bd1Q6eDz/builds/b49zs8fzjtAcLwoGD/openapi.json
