# Craigslist Listings Scraper: For Sale, Housing ($2/1K) (`tamnt67/craigslist-scraper`) Actor

Craigslist listings scraper: title, price, neighbourhood, URL, post ID and, where shown, bedrooms, bathrooms and coordinates. Takes Craigslist search URLs, or cities, a section (for sale, housing, jobs, services, gigs, cars) and keywords. Use it to monitor local classified ads and rentals.

- **URL**: https://apify.com/tamnt67/craigslist-scraper.md
- **Developed by:** [Tam Ng.](https://apify.com/tamnt67) (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.
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 Listings Scraper: For Sale, Housing

Scrape Craigslist search results from any city and any section (for sale, housing, jobs, services, gigs, cars) with no login and no API key, for $2 per 1,000 listings on the Free plan, down to $1.50 on higher plans.

Paste Craigslist search URLs or pick cities, a category and keywords. Get title, price as a number, neighbourhood, listing URL and post ID, and where Craigslist provides it, also bedrooms, bathrooms, coordinates, town and region.

### What you can do with it

- **Research prices and resale value.** Search the same item in several cities and compare asking prices before you buy or sell.
- **Monitor the rental market.** Pull apartment listings (`apa`) with price, bedrooms, bathrooms and coordinates, and map them.
- **Find underpriced deals.** Combine keywords with a price range to spot cars, bikes or electronics listed below market value.
- **Analyze a local market.** Count listings by neighbourhood or town to see where supply is growing.
- **Get an alert feed of new listings.** Run a daily search with **Posted today only** on a schedule and send new results to Slack, email or Google Sheets.

### Output fields

Each listing is one record in the dataset. Example values below come from a real run on the Chicago apartments section.

| Field | Example |
|-------|---------|
| `title` | 3BR 1.5 Bath |
| `price` / `priceText` | 2100 / $2,100 |
| `location` | Lawndale |
| `city` | chicago |
| `url` / `postId` | https://www.craigslist.org/view/d/chicago-3br-15-bath/moS9CAHzA3mCRfkk2WEyJp / moS9CAHzA3mCRfkk2WEyJp |
| `latitude` / `longitude` | 41.863291360401 / -87.7347158519176 |
| `bedrooms` / `bathrooms` | 3 / 2 |
| `locality` / `region` | Chicago / IL |
| `listingType` | Apartment |
| `searchUrl` | https://chicago.craigslist.org/search/apa |
| `scrapedAt` | 2026-11-16T05:56:29.547Z |

Coordinates, bedrooms, bathrooms, town, region and listing type come from Craigslist's structured data and are null when Craigslist does not provide them. Bedrooms and bathrooms are for housing only. For for-sale searches Craigslist gives coordinates and town for most listings, not all (in a newyork "bike" search, 234 of 266).

Download results as JSON, CSV, Excel or XML, or read them through the Apify API.

### Example output

One real record from a run on `https://chicago.craigslist.org/search/apa`:

```json
{
  "title": "Room Available in Andersonville!",
  "price": 690,
  "priceText": "$690",
  "location": "Chicago, IL",
  "city": "chicago",
  "url": "https://www.craigslist.org/view/d/chicago-room-available-in-andersonville/xAnH9DpgorFuCEXom4z5rj",
  "postId": "xAnH9DpgorFuCEXom4z5rj",
  "latitude": 41.9718983752512,
  "longitude": -87.6623976919778,
  "bedrooms": 3,
  "bathrooms": 1,
  "locality": "Chicago",
  "region": "IL",
  "listingType": "Apartment",
  "searchUrl": "https://chicago.craigslist.org/search/apa",
  "scrapedAt": "2026-11-16T05:56:29.547Z"
}
```

### How to use

1. Paste **Search URLs**: open Craigslist in your browser, search with any filters, and copy the URL (for example `https://newyork.craigslist.org/search/sss?query=bike`). Or build searches: enter **Cities** as Craigslist subdomains (`newyork`, `sfbay`, `losangeles`, `chicago`, `london`, `toronto`), a **Category code** (`sss` for sale, `apa` apartments, `cta` cars and trucks, `jjj` jobs, `bbb` services, `ggg` gigs) and **Keywords**. Every city is combined with every keyword. You can use both at once.
2. Optionally set **Min price**, **Max price** and **Posted today only**, and set **Max listings** for the whole run. The three filters apply only to the searches built from cities and keywords. They are not added to pasted URLs: for a pasted URL, set the price range and "posted today" on Craigslist before you copy the URL.
3. Click **Start**. Results appear in the dataset search by search. Export them or read them through the API.

#### Example input

```json
{
  "startUrls": [{ "url": "https://chicago.craigslist.org/search/apa" }],
  "cities": ["newyork", "sfbay"],
  "category": "sss",
  "queries": ["bike", "iphone"],
  "minPrice": 50,
  "maxPrice": 1500,
  "postedToday": false,
  "maxItems": 500,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

Tips:

- Leave **Keywords** empty to get the newest listings in the section for each city.
- For filters that are not in the form (for example bedrooms or make and model), set them on Craigslist and paste the URL.
- The default datacenter proxy is usually enough for Craigslist.
- Through the API, only the sources you send are searched: send only `startUrls` and only those URLs run. Keywords sent without any city are searched in `newyork`. An input with no URLs, cities or keywords at all runs an example search (`newyork`, `bike`) and says so in the log.

### Pricing and cost examples

You pay per listing saved to the dataset ("Listing" event). Platform usage and proxy traffic are included in the per-listing price. Each run also has a one-time start charge of $0.00005.

| Apify plan | Price per 1,000 listings |
|------------|--------------------------|
| Free (default price) | $2.00 |
| Bronze | $1.80 |
| Silver | $1.60 |
| Gold, Platinum, Diamond | $1.50 |

Cost examples on the Free plan:

- 100 listings ≈ $0.20
- 1,000 listings ≈ $2.00
- 10,000 listings ≈ $20.00 (≈ $15.00 on Gold and higher plans)

The Apify Free plan includes $5 of platform credit every month. If you spend it only on this Actor, that covers about 2,500 listings per month.

You are charged only for listings saved to the dataset. A search page that still fails after 4 attempts, an unknown city or category (HTTP 404) and a search with no results save nothing, so they add nothing to the bill. Failed pages are listed in the key-value store record `FAILED_URLS`. URLs that are not Craigslist search URLs and invalid city names are skipped with a warning. A listing that appears in more than one search of the same run is saved and charged only once. To set a hard cap, enter a maximum total charge per run in the run options. The Actor stops as soon as that limit is reached.

### Use it via API, on a schedule, or from an AI agent

**JavaScript** (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('tamnt67/craigslist-scraper').call({
    cities: ['chicago'],
    category: 'apa',
    queries: [],
    maxItems: 300,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("tamnt67/craigslist-scraper").call(run_input={
    "cities": ["chicago"],
    "category": "apa",
    "queries": [],
    "maxItems": 300,
})

items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

**cURL** (runs the Actor and returns the listings in one call):

```bash
curl -X POST "https://api.apify.com/v2/acts/tamnt67~craigslist-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": [{"url": "https://newyork.craigslist.org/search/sss?query=bike"}], "maxItems": 100}'
```

The sync endpoint waits for the run to finish, so use it for small runs and the client libraries for large ones.

**Schedules:** create an Apify Schedule for this Actor or a saved task to run the same searches daily with **Posted today only** and build a new-listings alert.

**AI agents:** the Apify MCP server at https://mcp.apify.com lets AI assistants such as Claude or Cursor run this Actor and read its results.

### FAQ

#### How much does Craigslist Scraper cost?

Craigslist Scraper costs $2 per 1,000 listings on the Free plan and $1.80, $1.60 or $1.50 per 1,000 on higher Apify plans. 100 listings cost about $0.20 on the Free plan. The Free plan's $5 monthly credit covers about 2,500 listings.

#### How many results do I get per search?

Craigslist Scraper reads the first search results page of each search, and Craigslist serves up to about 360 listings on that page without a browser. The whole run stops at **Max listings** (default 1,000, maximum 50,000).

#### How can I get more results?

Split the search into more searches: more cities, more keywords, narrower price ranges, or several pasted URLs with different filters. Each search returns up to about 360 listings, and Craigslist Scraper removes listings that appear in more than one search. Raise **Max listings** if you hit the run limit.

#### Can I run it on a schedule or through the API?

Yes. Craigslist Scraper works with Apify Schedules for hourly, daily or weekly runs, and with the Apify API through the JavaScript and Python clients or a single cURL call. See the API section above for working examples.

#### How fresh is the data?

Craigslist Scraper reads Craigslist live at the time of each run. Nothing is cached. Every record has a `scrapedAt` timestamp and the `searchUrl` it came from.

#### Is it legal to scrape Craigslist?

Craigslist Scraper collects only publicly visible listing data from search pages, without logging in, and never collects the seller's contact details. You are responsible for how you use the data, including complying with the Craigslist terms of use and with data protection laws such as GDPR. This is not legal advice. If you are unsure, ask a lawyer.

### Limitations

- Craigslist serves up to about 360 results per search page without a browser, and the Actor reads only that first page, so one search returns up to about 360 listings. For more, split the search by city, category, keyword or price range.
- The Actor reads search results only, not the full text of each post, and it never collects the seller's contact details.
- Coordinates, town and region come from Craigslist's own structured data and are only present where Craigslist provides them (all housing listings, most for-sale listings). Bedrooms and bathrooms are present for housing only.
- Craigslist's structured list is in the same order as the results but can leave some listings out. The Actor pairs each structured entry with the next listing that has the same title (and the same price when both show one), so a listing Craigslist left out gets null coordinates instead of another listing's values.
- `bathrooms` is the value from Craigslist's structured data and can differ from the title. In the example run, a listing titled "3BR 1.5 Bath" has `bathrooms: 2`.
- **Min price**, **Max price** and **Posted today only** are added to the searches built from cities and keywords only. They do not filter pasted URLs: set those filters on Craigslist and paste the filtered URL.
- One category code applies to all cities in the run.
- `price` is the first number in the price text and is null when no price is shown.

### Changelog

- 1.0 update (2026-11-19): coordinates, town and region are filled again for for-sale searches (Craigslist moved them inside the offer data, and the result list no longer lines up one-to-one with the structured list).
- 1.0 (2026-11-19): API runs with only search URLs no longer also run the default newyork/bike search; coordinates, bedrooms and bathrooms are no longer copied between listings with the same title; documented that price and "posted today" filters do not apply to pasted URLs.

### Integrations

Works with every Apify integration: API, webhooks, Zapier, Make, Google Sheets, Slack, n8n, LangChain and the Apify MCP server.

### Support

Found a problem or missing field? Report problems in the Issues tab of this Actor.

# Actor input Schema

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

Craigslist search URLs copied from your browser, with any filters.

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

Craigslist city subdomains such as newyork, sfbay, losangeles, chicago, london. Used with Category and Keywords. If you give no search URLs, cities or keywords at all, the Actor runs an example search (newyork, bike).

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

Craigslist section code: sss (for sale), apa (apartments), cta (cars and trucks), jjj (jobs), bbb (services), ggg (gigs).

## `queries` (type: `array`):

Search keywords. Each city is searched for each keyword. Leave empty for the newest listings in the section. Keywords without any city are searched in newyork.

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

Only listings with at least this price (0 = no limit). Applies to searches built from cities and keywords, not to pasted URLs.

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

Only listings with at most this price (0 = no limit). Applies to searches built from cities and keywords, not to pasted URLs.

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

Only listings posted today. Applies to searches built from cities and keywords, not to pasted URLs.

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

Stop after this many listings in total.

## `proxyConfiguration` (type: `object`):

Proxy for the requests to Craigslist. Datacenter proxy is usually enough.

## Actor input object example

```json
{
  "startUrls": [],
  "cities": [
    "newyork",
    "sfbay"
  ],
  "category": "sss",
  "queries": [
    "bike",
    "iphone"
  ],
  "minPrice": 0,
  "maxPrice": 0,
  "postedToday": false,
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset with one record per result.

## `listingsCsv` (type: `string`):

The same dataset exported as CSV.

# 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",
        "sfbay"
    ],
    "queries": [
        "bike",
        "iphone"
    ],
    "minPrice": 0,
    "maxPrice": 0,
    "maxItems": 1000,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tamnt67/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",
        "sfbay",
    ],
    "queries": [
        "bike",
        "iphone",
    ],
    "minPrice": 0,
    "maxPrice": 0,
    "maxItems": 1000,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("tamnt67/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",
    "sfbay"
  ],
  "queries": [
    "bike",
    "iphone"
  ],
  "minPrice": 0,
  "maxPrice": 0,
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call tamnt67/craigslist-scraper --silent --output-dataset

```

## MCP server setup

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