# Craigslist · Search · Details · Email (`madeingermany/craigslist-scraper`) Actor

Get attributes like bedrooms, square footage, prices, or compensation. Captures descriptions, high-res images, embedded map coordinates (Lat/Lon), phone numbers, and directly extracts EMAILS!

- **URL**: https://apify.com/madeingermany/craigslist-scraper.md
- **Developed by:** [Made In Germany](https://apify.com/madeingermany) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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?

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

## Craigslist Scraper — Apartments, Classifieds & Gigs with Phone & Email Extraction

A high-performance, production-grade Apify Actor to search, extract, and monitor listings from **Craigslist** across all categories, locations, and subareas. Built with **Crawlee (CheerioCrawler)** and **got-scraping** using a pure HTTP-first architecture—achieving blazing-fast extraction speeds without the overhead of heavy headless browsers.

***

### 🚀 Key Features & Why It Beats Alternatives

- **⚡ Blazing Fast Pure HTTP Execution**: Avoids sluggish Chromium/Playwright browsers. It extracts full HTML SSR data directly, reducing execution time and proxy bandwidth costs by up to 90%.
- **📧 Direct Email & Phone Number Extraction**: Proactively checks listing bodies and parses response headers/endpoints to capture contact details, emails, and phone numbers.
- **📍 Rich Structured Data**: Extracts bedrooms, bathrooms, square footage, pricing, geographic coordinates (`latitude`, `longitude`), and full descriptions.
- **📸 High-Resolution Image Galleries**: Pulls complete sets of original high-resolution photo URLs directly from image manifests.
- **🛡️ Anti-Bot Circumvention**: Pre-configured for rotating Residential Proxies with modern Chrome TLS fingerprinting and header emulation.
- **💰 Pay-Per-Event (PPE) Pricing**: Pay only for what you extract! Minimal actor startup cost and per-item pricing.

***

### 💰 Pricing (Pay-Per-Event)

This actor operates on a pay-as-you-go **Pay-Per-Event (PPE)** pricing model. You only pay for what you extract:

| Event Name | Purpose | Price (USD) | Description |
|---|---|---|---|
| **`apify-default-dataset-item`** | result | `$0.0015` | Single result in the default dataset. |
| **`email-event`** | Email event | `$0.05` | Charged for each email extracted |
| **`apify-actor-start`** | Actor Start | `$0.007` | Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). |
| **`additional-data`** | Additional Data | `$0.001` | Charged for additional data |

***

### 📥 Input Configuration

| Parameter | Type | Required | Default | Description |
|:---|:---:|:---:|:---|:---|
| `startUrls` | Array | Yes | `[{"url": "https://newyork.craigslist.org/search/apa"}]` | List of Craigslist search, category, or listing URLs to scrape. |
| `searchQuery` | String | No | `"New York Apartments"` | Free-text search keyword to filter listings. |
| `maxItems` | Integer | No | `50` | Maximum number of listings to extract (1 to 50,000). |
| `proxy` | Object | No | `{ "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }` | Apify Proxy configuration. Residential proxies recommended. |

#### Sample Input JSON

```json
{
  "startUrls": [
    {
      "url": "https://newyork.craigslist.org/search/apa"
    }
  ],
  "searchQuery": "New York Apartments",
  "maxItems": 50,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

***

### 📤 Output Dataset Format

Each extracted listing record includes the following structured fields:

| Field | Type | Description |
|:---|:---:|:---|
| `id` | String | Unique Craigslist listing identifier (post ID). |
| `title` | String | Title of the posting. |
| `price` | String | null | Listed price (e.g., `"$1,700"`). |
| `location` | String | null | Neighborhood, borough, or city location. |
| `postingUrl` | String | Direct URL to the live Craigslist posting. |
| `email` | String | null | Contact email address if provided by poster. |
| `phone` | String | null | Contact telephone/SMS number if provided. |
| `postedDate` | String | null | ISO timestamp when the listing was posted. |
| `description` | String | null | Cleaned description text without markup. |
| `bedrooms` | Number | null | Number of bedrooms (e.g., `1`, `2`, `3`). |
| `bathrooms` | Number | null | Number of bathrooms (e.g., `1`, `1.5`, `2`). |
| `sqft` | Number | null | Square footage of the rental/property. |
| `latitude` | Number | null | Latitude coordinate for map positioning. |
| `longitude` | Number | null | Longitude coordinate for map positioning. |
| `images` | Array\[String] | URLs of all uploaded high-resolution photos. |
| `category` | String | null | Category code (e.g., `apa` for apartments). |
| `attributes` | Object | Key-value pairs of all posting attributes (laundry, parking, etc.). |
| `email_event` | Boolean | True if a direct email was extracted. |
| `additional_data` | Boolean | True if enriched attributes or coordinates were captured. |
| `scrapedAt` | String | ISO timestamp of when the record was extracted. |

#### Sample Output Record

```json
{
  "id": "7974039939",
  "title": "Clinton Hill 1-Bedroom Apartment!",
  "price": "$1,700",
  "location": "Clinton Hill",
  "postingUrl": "https://www.craigslist.org/view/d/bronx-clinton-hill-bedroom-apartment/eQ1wsMFMF38AzaVHGVmawz",
  "email": "agent@example.com",
  "phone": "(917) 555-0199",
  "postedDate": "2026-09-27T20:11:51-0400",
  "description": "Spacious and sunny 1BR apartment with renovated kitchen and hardwood floors. Steps away from transit and local shops.",
  "bedrooms": 1,
  "bathrooms": 1,
  "sqft": 650,
  "latitude": 40.8085,
  "longitude": -73.9198,
  "images": [
    "https://images.craigslist.org/00Z0Z_hcOLOa5mtjA_06c04E_600x450.jpg",
    "https://images.craigslist.org/01414_40ltIQrOZ3Z_06c04E_600x450.jpg"
  ],
  "category": "apa",
  "attributes": {
    "cats are OK - purrr": "true",
    "dogs are OK - wooof": "true",
    "laundry": "w/d in unit"
  },
  "email_event": true,
  "additional_data": true,
  "scrapedAt": "2026-09-28T00:56:00.000Z"
}
```

***

### 🏷️ Tags & SEO

`craigslist`, `craigslist-scraper`, `real-estate`, `apartments-for-rent`, `housing`, `lead-generation`, `contact-scraper`, `email-extractor`, `phone-extractor`, `crawlee`, `apify-actor`

# Actor input Schema

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

Craigslist search or category URLs to scrape. Examples: https://newyork.craigslist.org/search/apa, https://sfbay.craigslist.org/search/apa

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

Optional free-text search keyword to filter listings (e.g. 'New York Apartments').

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

Maximum number of listings to extract.

## `proxy` (type: `object`):

Proxy configuration. Using residential proxies is recommended when scraping at high volumes.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://newyork.craigslist.org/search/apa"
    }
  ],
  "searchQuery": "New York Apartments",
  "maxItems": 50,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://newyork.craigslist.org/search/apa"
        }
    ],
    "searchQuery": "New York Apartments"
};

// Run the Actor and wait for it to finish
const run = await client.actor("madeingermany/craigslist-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 = {
    "startUrls": [{ "url": "https://newyork.craigslist.org/search/apa" }],
    "searchQuery": "New York Apartments",
}

# Run the Actor and wait for it to finish
run = client.actor("madeingermany/craigslist-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 '{
  "startUrls": [
    {
      "url": "https://newyork.craigslist.org/search/apa"
    }
  ],
  "searchQuery": "New York Apartments"
}' |
apify call madeingermany/craigslist-scraper --silent --output-dataset

```

## MCP server setup

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