# Century21 Scraper (`getdataforme/century21-scraper`) Actor

The Century21 Scraper actor allows you to easily extract property details from Century21 listings. By running this actor, you can gather comprehensive information about properties, such as price, address, number of bedrooms and bathrooms, agent details, and much more.

- **URL**: https://apify.com/getdataforme/century21-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** Automation, Lead generation, Real estate
- **Stats:** 14 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.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

## Century21 Scraper

The **Century21 Scraper** actor allows you to easily extract property details from Century21 listings. By running this actor, you can gather comprehensive information about properties, such as price, address, number of bedrooms and bathrooms, agent details, and much more.

`Note: Please activate Proxy to get the result without blockage.`\
Running without a proxy may lead to data extraction restrictions or blockages.

### How this Century21 Scraper Works

- Simply rent our **Century21 Scraper**, and you get 2 hours of a free trial to test the actor and see if it meets your needs.
- Enter the specific property URL(s) in the input field under **"urls"**.
- The scraper will extract detailed property data and return it in a structured format.

### Century21 Scraper Output Result Sample

Once the scraper runs successfully, you will receive detailed information about the property in a structured format:

```
{
  "URL": "https://www.century21.com/property/308-e-william-street-philadelphia-pa-19134-C2184102214",
  "title": "308 E William Street, Philadelphia, PA 19134 - MLS# PAPH2446524 | CENTURY 21",
  "property_type": "Other Residential",
  "price": "$95,000",
  "bedrooms": "2",
  "bathrooms": "1",
  "street_address": "308 E William Street",
  "city": "Philadelphia, PA",
  "state": "Pennsylvania",
  "zip_code": "19134",
  "HOA_fees": "0",
  "property_tax": "0",
  "image_urls": [
    "https://www.century21.com/c21/photo/320x240/i.c21.com/1265i96/gvg3kqhc1385mryjy0cpv4j1z6i96",
    "https://www.century21.com/c21/photo/320x240/i.c21.com/1265i96/9zr5dp28gf5wmt2at5ajce4je2i96",
    "https://www.century21.com/c21/photo/320x240/i.c21.com/1265i96/gh6fexgatmd74be36kbtxaady7i96",
    "https://www.century21.com/c21/photo/320x240/i.c21.com/1265i96/3dq7hb873sar4hpx831j6n0a45i96",
    "https://www.century21.com/c21/photo/320x240/i.c21.com/1265i96/tkgh1qbdmgd1m0jqw24achvka4i96",
    "https://www.century21.com/c21/photo/320x240/i.c21.com/1265i96/tf4phv5e2qspmaj7ax40kq4v01i96",
    "https://www.century21.com/c21/photo/320x240/i.c21.com/1265i96/6f0ncz7s6d0b49ah8ftcefen76i96"
  ],
  "listing_agent_name": "Robert Rosado Sr",
  "listing_agent_phone": "(215) 704-4402",
  "MLS_number": "PAPH2446524",
  "description": "Welcome to a two-bedroom home located in the developing neighborhood of West Kensington. Public transportation and services are nearby. The house is comfortable but needs some repairs. This house is ready for owner occupancy or investors looking for a rental unit to add to their portfolio. Don't let this opportunity slip by you.",
  "nearby_schools": [
    "Lewis Elkin Elementary School",
    "Aspira Charter School At John B. Stetson",
    "Thomas A. Edison High School"
  ]
}
```

#### How to Use Century21 Scraper

1. **Proxy Configuration (Optional but recommended)**\
   To avoid IP blocks or rate limits, it's recommended to use Apify Proxy. You can set this up in the input configuration:
   ```json
   {
     "proxyConfiguration": {
       "useApifyProxy": true,
       "apifyProxyGroups": [
         "RESIDENTIAL"
       ]
     }
   }
   ```

2. **URL Input**\
   Enter the URL(s) of the Century21 property listings you want to scrape in the `urls` field. You can input multiple URLs to scrape more properties at once.

   Example input:

   ```json
   {
     "urls": [
       "https://www.century21.com/property/308-e-william-street-philadelphia-pa-19134-C2184102214"
     ]
   }
   ```

3. **Results**\
   Once the actor runs, it will return detailed property information in the structure shown in the sample above.

#### Output Fields Explanation

- **URL**: The URL of the property listing.
- **title**: The title of the property listing (typically includes the property name and MLS number).
- **property\_type**: Type of property (e.g., "Other Residential").
- **price**: The price of the property.
- **bedrooms**: The number of bedrooms in the property.
- **bathrooms**: The number of bathrooms in the property.
- **street\_address**: The street address of the property.
- **city**: The city in which the property is located.
- **state**: The state in which the property is located.
- **zip\_code**: The zip code for the property.
- **HOA\_fees**: The HOA fees for the property (if applicable).
- **property\_tax**: The property tax amount.
- **image\_urls**: List of URLs to images related to the property.
- **listing\_agent\_name**: The name of the listing agent.
- **listing\_agent\_phone**: The contact phone number of the listing agent.
- **MLS\_number**: The MLS number associated with the listing.
- **description**: A detailed description of the property.
- **nearby\_schools**: A list of nearby schools.

#### Support

For more customizations or bug reports, please contact our support team at support@getdataforme.com or report an issue.\
You can reach us easily here: <https://getdataforme.com/contact/>

Don't forget to mention the subject and any specific custom support requests.

Thank you!

# 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.century21.com/property/308-e-william-street-philadelphia-pa-19134-C2184102214"
  ],
  "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.century21.com/property/308-e-william-street-philadelphia-pa-19134-C2184102214"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/century21-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 = {
    "urls": ["https://www.century21.com/property/308-e-william-street-philadelphia-pa-19134-C2184102214"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/century21-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 '{
  "urls": [
    "https://www.century21.com/property/308-e-william-street-philadelphia-pa-19134-C2184102214"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getdataforme/century21-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/century21-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/ugDmPfhTgoc7W9CD3/builds/ytgjmqxZefsYpKekw/openapi.json
