# Craigslist Scraper - Listings, Prices, Housing, Jobs & Cars (`pink_comic/craigslist-scraper`) Actor

Scrape Craigslist listings in any city: title, price, location, GPS, photos, date, bedrooms, sqft, odometer and job pay. Paste a search URL or use filters.

- **URL**: https://apify.com/pink_comic/craigslist-scraper.md
- **Developed by:** [Ava Torres](https://apify.com/pink_comic) (community)
- **Categories:** E-commerce, Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 listings

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 - Listings, Prices, Housing, Jobs & Cars

Scrape **Craigslist** search results in any city and any category: for sale, cars & trucks, apartments and housing, jobs, gigs and services. Each row has the title, price, location, GPS coordinates, photos, posting date and category, plus bedrooms and square feet for housing, odometer for vehicles and pay and employer for jobs. Paste a Craigslist search URL or set filters.

### Why this Craigslist scraper

- **Fast and reliable.** Reads Craigslist's own search JSON (what the site loads in your browser), up to 360 listings per search in a single request. No browser, no proxy.
- **Paste any search URL.** Filters in the URL (price, sub-area, keyword, has-picture, make/model...) are kept.
- **Every city.** Uses Craigslist's official area list, so any subdomain works: `sfbay`, `newyork`, `losangeles`, `chicago`, `seattle`, `london`, `toronto`...
- **Rich fields.** Coordinates, neighborhood, all image URLs, bedrooms, sqft, odometer, compensation and employer.
- **Fair pricing.** $0.0015 per listing + $0.002 per run. 1,000 listings cost about $1.50.

### Use cases

- **Resellers and arbitrage**: track underpriced items, cars and electronics across cities.
- **Real estate and rental research**: rents by neighborhood with bedrooms, sqft and coordinates.
- **Lead generation**: find businesses posting services, gigs and jobs.
- **Price monitoring and datasets**: schedule searches and diff new listings.

### Input examples

Newest for-sale listings in the SF Bay Area:

```json
{ "sites": ["sfbay"], "category": "sss", "maxResults": 50 }
```

Brooklyn apartments from $2,000 to $3,500 (search URL):

```json
{ "searchUrls": ["https://newyork.craigslist.org/search/brk/apa?min_price=2000&max_price=3500"], "maxResults": 200 }
```

Honda cars in several cities:

```json
{ "sites": ["losangeles", "sandiego", "seattle"], "category": "cta", "query": "honda", "minPrice": 3000, "maxResults": 600 }
```

### Sample output

```json
{
  "postingId": 7942910517,
  "title": "Eames Aluminum Group Chair",
  "price": 700,
  "priceText": "$700",
  "url": "https://www.craigslist.org/view/d/redwood-city-eames-aluminum-group-chair/r3p3wb3dXAtHuzX4Kq4XYL",
  "postedAt": "2026-11-13T17:28:33Z",
  "site": "sfbay",
  "subArea": "pen",
  "location": "Redwood City",
  "latitude": 37.4823,
  "longitude": -122.214,
  "category": "fuo",
  "categoryName": "furniture - by owner",
  "images": ["https://images.craigslist.org/00x0x_fLoeN8xPCjv_0v80CI_600x450.jpg"],
  "imageCount": 9,
  "searchUrl": "https://sfbay.craigslist.org/search/sss?sort=date",
  "scrapedAt": "2026-11-13T17:28:51Z"
}
```

### Category codes

`sss` all for sale · `cta` cars & trucks · `mca` motorcycles · `ela` electronics · `fua` furniture · `bik` bicycles · `hhh` all housing · `apa` apartments · `roo` rooms · `rea` real estate for sale · `jjj` all jobs · `ggg` gigs · `bbb` services · `ccc` community.

### FAQ

**How many results per search?** Craigslist returns up to 360 listings per search. Add more sites, sub-areas or price bands to collect more.

**Does it open each listing for the full description?** No. You get the search data (title, price, location, photos, date, attributes). The description is on the listing URL.

**Do I need a proxy?** No.

**Why is price empty for some rows?** Jobs, gigs and some services have no price; look at `compensation`.

**Can I monitor new listings?** Yes. Schedule the run with `sort: "date"` and use the postingId to dedupe.

# Actor input Schema

## `searchUrls` (type: `array`):

Optional. Paste search URLs from your browser, e.g. https://newyork.craigslist.org/search/brk/apa?max_price=3000. Overrides the filters below.

## `sites` (type: `array`):

Craigslist subdomains, e.g. 'sfbay', 'newyork', 'losangeles', 'chicago', 'london', 'toronto'.

## `category` (type: `string`):

Craigslist category code: sss = all for sale, cta = cars & trucks, apa = apartments, hhh = all housing, jjj = jobs, ggg = gigs, bbb = services, fua = furniture, ela = electronics, bik = bicycles.

## `query` (type: `string`):

Optional search words, e.g. 'iphone', 'honda civic'.

## `subArea` (type: `string`):

Optional sub-area code, e.g. 'sfc', 'sby', 'eby' (SF bay) or 'brk', 'mnh' (New York).

## `minPrice` (type: `integer`):

Optional minimum price.

## `maxPrice` (type: `integer`):

Optional maximum price.

## `hasPic` (type: `boolean`):

Only listings that have images.

## `postedToday` (type: `boolean`):

Only listings posted today.

## `searchTitlesOnly` (type: `boolean`):

Match the keyword in titles only.

## `sort` (type: `string`):

Result order.

## `maxResults` (type: `integer`):

Maximum listings in total (up to 360 per search/site). Default 50 = about $0.08.

## Actor input object example

```json
{
  "searchUrls": [],
  "sites": [
    "sfbay"
  ],
  "category": "sss",
  "hasPic": false,
  "postedToday": false,
  "searchTitlesOnly": false,
  "sort": "date",
  "maxResults": 50
}
```

# Actor output Schema

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

All records from this run in the default dataset, shown with the Overview table view.

# 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 = {
    "sites": [
        "sfbay"
    ],
    "category": "sss",
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("pink_comic/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 = {
    "sites": ["sfbay"],
    "category": "sss",
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("pink_comic/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 '{
  "sites": [
    "sfbay"
  ],
  "category": "sss",
  "maxResults": 50
}' |
apify call pink_comic/craigslist-scraper --silent --output-dataset

```

## MCP server setup

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