# Craigslist Scraper (`saswave/craigslist-scraper`) Actor

$0.7 / 1000 results. A fast and flexible Craigslist data scraper supporting all website subdomains, all cities, and all categories. No proxies needed. Extract structured data from Craigslist listings and search result pages for analysis, monitoring or automation.

- **URL**: https://apify.com/saswave/craigslist-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** E-commerce, Jobs, Real estate
- **Stats:** 22 total users, 0 monthly users, 96.7% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.70 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 🏘️ Craigslist Scraper

A fast and flexible Craigslist data scraper supporting all subdomains, all cities, and all categories.

Extract structured data from Craigslist listings and search result pages for analysis, monitoring, or automation.

### ✨ Runtime

Handles 1000 results in 2min

### ✨ Features

##### 🌍 Full Craigslist Coverage

Supports all Craigslist subdomains (America, Europe, Asia and all other sub domains)

Works across all categories (housing, jobs, services, for sale, community, gigs, etc.)

Compatible with search result URLs and direct post URLs

##### 📄 Listing Data Extraction

Extract detailed information from each listing:

- Post ID & listing URL

- Title (short & full versions)

- Post publication date

- Listing status (live / removed)

- Price (when available)

- Full description (cleaned & structured)

##### 🏠 Property & Attribute Detection

Automatically extracts structured attributes:

- Bedrooms / bathrooms

- Pet policies (cats / dogs)

- Property type

- Amenities (parking, washer/dryer, etc.)

- Custom listing attributes

##### 📍 Location & Map Data

- Latitude & longitude

- Street address (when available)

- Google Maps link

- City-level breadcrumb hierarchy

##### 🖼️ Media Extraction

Full-resolution images

Thumbnails

##### 🌐 Search Context Awareness

Keeps track of the origin search URL

Extracts applied filters (language, country code, pets, etc.)

Useful for search analytics and result reproducibility

### Output

From Direct Url

```json
{
  "url": "https://www.craigslist.org/view/d/new-berlinville-golf-cart-wheel-tire/smmPzPFNhWhpfnv8XLsnwP?lang=en&cc=gb",
  "post_date": "2026-08-13T14:53:51-0400",
  "is_live": true,
  "price": "$40",
  "title_only": "GOLF CART WHEEL TIRE",
  "title": "GOLF CART WHEEL TIRE - $40 (Boyertown 19512)",
  "descriptions": [
    "Golf Cart Rim with Tire in good condition $40",
    "Spare Tire $20"
  ],
  "attributes_important": [],
  "attributes": [
    "vehicle type: golf cart",
    "condition: good"
  ],
  "latitude": "40.355016",
  "longitude": "-75.638294",
  "street_address": "",
  "map_address": "Rt 100",
  "map_link": "https://www.google.com/maps/search/40.355016,-75.638294",
  "images": [
    "https://images.craigslist.org/00i0i_aPMCKGEzOf2_0CI0t2_600x450.jpg",
    "https://images.craigslist.org/00i0i_aPMCKGEzOf2_0CI0t2_50x50c.jpg",
    "https://images.craigslist.org/00t0t_lLBDU5rDenW_0t20CI_50x50c.jpg",
    "https://images.craigslist.org/01212_5YhscXATd2R_0t20CI_50x50c.jpg",
    "https://images.craigslist.org/00n0n_eVHJQuAi8JE_0t20CI_50x50c.jpg"
  ],
  "image": "https://images.craigslist.org/00i0i_aPMCKGEzOf2_0CI0t2_600x450.jpg",
  "breadcrumbs": [
    "Philadelphia",
    "for sale by owner",
    "atvs, utvs, snowmobiles"
  ],
  "notices": []
}
```

From Search Url

```json
{
  "title": "Clean & Peaceful Private Room",
  "url": "https://www.craigslist.org/view/d/philadelphia-clean-peaceful-private-room/eFKqwZGwrNTaH2wCVocNjS",
  "location": "Kensington",
  "price": "$800"
}
```

### 🚀 Use Cases

🏠 Real estate listing aggregation

📊 Market & rent price analysis

🔍 Housing availability monitoring by city

🐕 Pet-friendly rental discovery

🧠 Data science & NLP analysis on listing descriptions

📈 Trend tracking across regions or categories

🔔 Alert systems for new or removed listings

🗺️ Geo-based housing or service mapping

### 💡 Notes

Scrapes publicly available data only

Some fields may be missing depending on the listing (price, address, map)

Deleted or expired posts are detected via is\_live

Craigslist layouts may vary slightly by region and category

High-volume scraping should respect rate limits

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `urls` (type: `array`):

Search url to extract results from. It supports all country website domain name.

## `directs` (type: `array`):

Extract infos about a specific post url. It supports all country website domain name. ex: https://www.craigslist.org/view/d/new-berlinville-golf-cart-wheel-tire/smmPzPFNhWhpfnv8XLsnwP?lang=en\&cc=gb

## Actor input object example

```json
{
  "urls": [
    "https://www.craigslist.org/search/area/philadelphia?cat=hhh&pets_cat=1&pets_dog=1&lang=en&cc=gb#search=2~thumb~0"
  ]
}
```

# 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 = {
    "urls": [
        "https://www.craigslist.org/search/area/philadelphia?cat=hhh&pets_cat=1&pets_dog=1&lang=en&cc=gb#search=2~thumb~0"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/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 = { "urls": ["https://www.craigslist.org/search/area/philadelphia?cat=hhh&pets_cat=1&pets_dog=1&lang=en&cc=gb#search=2~thumb~0"] }

# Run the Actor and wait for it to finish
run = client.actor("saswave/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 '{
  "urls": [
    "https://www.craigslist.org/search/area/philadelphia?cat=hhh&pets_cat=1&pets_dog=1&lang=en&cc=gb#search=2~thumb~0"
  ]
}' |
apify call saswave/craigslist-scraper --silent --output-dataset

```

## MCP server setup

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