# Craigslist Scraper - Listings, Prices, Photos & Details (`sumitr_mardy/craigslist-scraper`) Actor

Craigslist scraper, $1.50 per 1,000 listings with full details: title, price, location, description, attributes, photos, coordinates and post date from any city and category. Paste search URLs or pick city + keyword. No login, no browser.

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

## Pricing

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

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, Photos & Details

Scrape Craigslist listings from any city and category: **title, price, location, full description, attributes (condition, make, bedrooms, square feet…), all photos, map coordinates, address, post date** and category. Pick a city and a keyword, or paste any Craigslist search URL with your own filters.

Built for resellers and car dealers watching prices, rental and real estate research, lead lists for local services, and market studies across cities.

**$1.50 per 1,000 listings with full details**, or $0.80 per 1,000 with search-page fields only. Failed searches and deleted postings are free. No login, no browser, no proxy.

### What you get

| Field | Example |
|---|---|
| `title`, `url`, `postId` | Schwinn Ranger mountain road Bike, https://www.craigslist.org/view/d/..., 8001212019 |
| `price`, `priceText` | 120, "$120" |
| `location`, `site`, `area`, `subarea` | Brooklyn, newyork, new york, brooklyn |
| `section`, `category` | for sale, bicycles - by owner |
| `postedAt`, `updatedAt` | 2026-11-15T17:28:38-0500 |
| `description` | full posting text |
| `attributes` | {"condition": "good", "bicycle type": "mountain"}; cars: {"year": "2018", "makemodel": "hyundai santa fe", "odometer": "124,510", "VIN": "..."} |
| `tags` | \["1BR / 1Ba", "759ft2", "cats are OK - purrr", "w/d in unit", "delivery available"] |
| `images` | all photo URLs |
| `latitude`, `longitude`, `mapAddress`, `postalCode`, `region` | 40.6011, -73.9475, "", 11229, NY |
| `detailsFetched`, `searchUrl`, `status` | true, the search it came from, `ok` |

`status` is one of `ok`, `removed` (deleted or expired posting, free), `no_results`, `failed`, `not_found`, `invalid_input`. Fixed shape: every key on every row, lists always lists, `price`/`latitude`/`longitude` are `null` when Craigslist shows none.

### How to use it

- **Cities**: Craigslist subdomains, one per line: `newyork`, `sfbay`, `losangeles`, `chicago`, `london`, `toronto`… (full list at https://www.craigslist.org/about/sites).
- **Search keyword**, **Category**, **Min/Max price**, **Posted today only**, **With photos only**: applied to every city.
- **Search URLs**: or paste searches straight from your browser, with any filter Craigslist offers (bedrooms, make, model year, subarea…), e.g. `https://sfbay.craigslist.org/search/sfc/apa?min_bedrooms=2`.
- **Max listings per search**: per city or URL, newest first.
- **Include full details** (on by default): opens each listing for description, attributes, all photos and post date. Turn it off for a cheaper, faster list of titles, prices and links.

### Pricing

Pay per event, cheaper on higher Apify plans:

| Event | Price | When |
|---|---|---|
| `listing` | $0.0008 | every listing returned |
| `listing-details` | $0.0007 | only when the listing page was read |

So **$1.50 per 1,000** listings with details, **$0.80 per 1,000** without. Failed searches, deleted postings and invalid inputs are free; a listing found by two searches is billed once. Apify adds its standard tiny start event per run. The run stops cleanly at your *Max cost per run*.

### Speed

Measured on Apify at 256 MB: 600 listings with full details from 4 cities in 5 minutes; 50 in 25 seconds.

### Honest limits

- **About 360 listings per search.** Craigslist's search page lists up to ~360 posts; for more, split the search by price range (`min_price`/`max_price`), subarea or category. Duplicates across your searches are removed and billed once.
- **No phone numbers or emails.** Craigslist hides contact details behind its reply button; this actor does not collect them.
- Some posts show no price, no map or no photos; those fields are then `null` or empty.
- Public listings only, read politely (a few requests at a time). Use the data in line with Craigslist's terms and local law.

### Use it from AI agents (MCP)

Hosted, with OAuth sign-in:

```json
{
    "mcpServers": {
        "craigslist": {
            "url": "https://mcp.apify.com/?tools=sumitr_mardy/craigslist-scraper"
        }
    }
}
```

With an API token instead of OAuth:

```json
{
    "mcpServers": {
        "craigslist": {
            "url": "https://mcp.apify.com/?tools=sumitr_mardy/craigslist-scraper",
            "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
        }
    }
}
```

Local stdio:

```json
{
    "mcpServers": {
        "craigslist": {
            "command": "npx",
            "args": ["-y", "@apify/actors-mcp-server", "--actors", "sumitr_mardy/craigslist-scraper"],
            "env": { "APIFY_TOKEN": "YOUR_APIFY_TOKEN" }
        }
    }
}
```

Agent tip: ask for a small `maxItemsPerSearch` first (10–20) and set `includeDetails: false` when only prices and links are needed.

### Run it from code

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("sumitr_mardy/craigslist-scraper").call(run_input={
    "cities": ["sfbay", "losangeles"],
    "category": "cta",
    "query": "toyota tacoma",
    "maxPrice": 25000,
    "maxItemsPerSearch": 100,
})
for x in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(x["price"], x["title"], x["attributes"].get("odometer"), x["url"])
```

cURL (waits for the run and returns the rows):

```bash
curl -X POST "https://api.apify.com/v2/acts/sumitr_mardy~craigslist-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchUrls":["https://newyork.craigslist.org/search/apa?min_bedrooms=2&max_price=3500"],"maxItemsPerSearch":50}'
```

### FAQ

**Which category codes can I use?** The *Category* menu covers the common ones. For anything else (a subcategory, a subarea, extra filters), set it up on craigslist.org and paste the URL into *Search URLs*.

**Can I track new listings daily?** Schedule the actor with *Posted today only* on, and connect the dataset to Google Sheets, a webhook or Zapier.

**Why is a listing marked `removed`?** The poster deleted it or it expired after the search page was built. It costs nothing.

# Actor input Schema

## `cities` (type: `array`):

Craigslist sites to search: the subdomain ("newyork", "sfbay", "chicago", "london") or any URL on that site. Full list: https://www.craigslist.org/about/sites

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

Keyword to search for, e.g. "bike" or "2 bedroom". Leave empty to list the newest posts of the category.

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

Craigslist category to search in each city.

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

Only listings at or above this price.

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

Only listings at or below this price.

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

Only listings posted today.

## `hasImage` (type: `boolean`):

Only listings that have photos.

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

Or paste Craigslist search URLs as they appear in your browser (any city, category and filters), e.g. https://sfbay.craigslist.org/search/apa?min_bedrooms=2. Used in addition to the cities above.

## `maxItemsPerSearch` (type: `integer`):

Per city or search URL. Craigslist serves up to about 360 listings per search page; for more, split the search by price range or subarea.

## `includeDetails` (type: `boolean`):

Open each listing for its description, attributes, all photos, coordinates, post date and category. Off = search-page fields only (title, price, location, link, photos and coordinates when shown), at a lower price.

## Actor input object example

```json
{
  "cities": [
    "newyork"
  ],
  "query": "road bike",
  "category": "sss",
  "postedToday": false,
  "hasImage": false,
  "maxItemsPerSearch": 50,
  "includeDetails": true
}
```

# Actor output Schema

## `dataset` (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 = {
    "cities": [
        "newyork"
    ],
    "query": "road bike"
};

// Run the Actor and wait for it to finish
const run = await client.actor("sumitr_mardy/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 = {
    "cities": ["newyork"],
    "query": "road bike",
}

# Run the Actor and wait for it to finish
run = client.actor("sumitr_mardy/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 '{
  "cities": [
    "newyork"
  ],
  "query": "road bike"
}' |
apify call sumitr_mardy/craigslist-scraper --silent --output-dataset

```

## MCP server setup

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