# Craigslist Scraper — Listings, Cars, Housing, Jobs & Details (`jaybird/craigslist-scraper`) Actor

Scrape Craigslist listings from one city, a whole state or every US area in one run: title, price, location + coordinates, photos, odometer/bedrooms/salary, optional full description & attributes. Deep paging, de-duplicated. No login, no start fee.

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

## Pricing

Pay per event

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/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, Cars, Housing, Jobs & Details

Scrape **Craigslist** listings from one city, a whole state or **every US area in one run** — for sale, cars & trucks, apartments and housing, jobs, gigs, services, community and events. No login, no browser, no cookies. Pay only for the listings you get — **no start fee**.

### What you get

Each listing record has:

- `title`, `price` (number), `priceText`, `currency`, `postedAt`
- `categoryCode` / `categoryName` (e.g. `bik` — bicycles by owner, `ctd` — cars & trucks by dealer), `section` (for sale, housing, jobs…)
- `area` (craigslist site, e.g. `sfbay`), `areaName`, `subarea`, `region` (state), `country`
- `location`, `neighborhood`, `latitude`, `longitude`
- `imageUrls` (all photos, 600×450), `thumbnailUrl`, `imageCount`
- Cars: `odometer`, `monthlyPaymentText` · Housing: `bedrooms`, `sqft`, `openHouseDates` · Jobs/gigs: `compensation`, `company`, `jobTitle` · Events: `eventDates`
- `url` (opens the posting), `postingId`, `postingUuid`, `searchLabel`, `position`

Turn on **Include full posting details** to also get:

- `description` (full posting text)
- `attributes` — every labelled field, e.g. `make / manufacturer`, `model name / number`, `odometer`, `fuel`, `transmission`, `title status`, `condition`, `employment type`, `rent period`…
- `attributeTags` — unlabelled facts like `1BR / 1Ba`, `furnished`, `dogs are OK - wooof`, `2009 honda civic`
- `address` (street address when the poster gave one), `updatedAt`, original `postedAt`

Example (shortened):

```json
{
  "type": "listing",
  "postingId": 7960021677,
  "title": "BMC Granfondo GF02 road bike",
  "price": 690,
  "priceText": "$690",
  "currency": "USD",
  "categoryCode": "bik",
  "categoryName": "bicycles - by owner",
  "area": "sfbay",
  "subarea": "eby",
  "location": "brentwood / oakley",
  "latitude": 37.9324,
  "longitude": -121.6894,
  "imageCount": 8,
  "url": "https://www.craigslist.org/view/d/brentwood-bmc-granfondo-gf02-road-bike/txQxqZyZ1sUMN14Hig1BNm",
  "detailsScraped": true,
  "description": "Price is firm, comes with extras. Sleek BMC Granfondo GF02 road bike…",
  "attributes": { "make / manufacturer": "BMC", "model name / number": "Granfondo GF02" },
  "postedAt": "2026-09-03T14:22:07.000Z",
  "updatedAt": "2026-11-25T17:30:12.000Z"
}
```

### How to use it

**Option 1 — areas + keywords.** Add one or more **Areas** and optional **Search keywords**, pick a **Category**, set filters (price, posted today, has images, ZIP + distance, titles only) and **Max listings**.

Areas accept:

- a Craigslist subdomain: `sfbay`, `newyork`, `losangeles`, `chicago`, `seattle`…
- an area name: `SF bay area`, `las vegas`
- a whole state: `state:CA`, `state:TX`
- a country: `country:US`, `country:CA`, or `all` for every US area

Every keyword × area is a separate search. Results are **de-duplicated by posting ID** across areas, so overlapping sites don't cost you twice.

**Option 2 — paste search URLs.** Copy any search URL from craigslist.org with all its filters (make/model, year, bedrooms, pets, condition…), e.g. `https://sfbay.craigslist.org/search/sby/bik?max_price=500&query=trek`. The URL's filters are used as-is.

**Option 3 — posting URLs.** Paste individual postings to get the full detail record.

#### Deep results

Craigslist's own search shows up to ~10,000 results per search. This Actor reads the complete result list the same way craigslist.org does and pages through it 360 at a time, so `Max listings per search` can go well beyond the first page.

### Pricing

Pay per event, **no start fee**:

| Event | Price |
|---|---|
| Listing | **$0.0008** per listing saved |
| Listing details (optional) | **+$0.0007** per listing opened for details |

1,000 listings = $0.80. 1,000 listings with full details = $1.50. You can cap spending with *Max total charge* in the run options; the Actor stops cleanly when the cap is reached. Duplicate postings are skipped and not charged.

### Tips

- Use `sort: newest` + `postedToday` and schedule the Actor daily to monitor new postings (deals, rentals, cars, leads).
- For cars, `odometer` is in the search record; turn on details for make/model, fuel, transmission and title status.
- Contact details (phone / email) are hidden by Craigslist behind its reply button and captcha — the Actor does **not** collect them.
- Some tiny Craigslist areas (e.g. `elko`) have no search of their own and are merged into a nearby site; in state/country runs they're skipped automatically (see `RUN_STATS` in the key-value store).

### Related Actors by jaybird

- [Vinted Scraper](https://apify.com/jaybird/vinted-scraper) — second-hand listings from 23 Vinted country sites
- [Kick Scraper](https://apify.com/jaybird/kick-scraper) and [Twitch Scraper](https://apify.com/jaybird/twitch-scraper) — streamers, live streams and clips

### Notes

Collects only publicly visible listing data, without logging in. You are responsible for using the data in line with Craigslist's terms and applicable laws (e.g. GDPR/CCPA when handling personal data in postings).

# Actor input Schema

## `areas` (type: `array`):

Craigslist sites to search: subdomain (sfbay, newyork, losangeles, chicago), area name, a whole US state (state:CA) or a country (country:US / all = every US area). Many-area searches are de-duplicated by posting ID.

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

One search per keyword and area. Leave empty to list the newest postings in the category.

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

Craigslist section to search. Use 'Category code' for any other code (e.g. bik = bicycles by owner, ctd = cars by dealer).

## `categoryCode` (type: `string`):

Any Craigslist category code from a search URL (craigslist.org/search/<code>), e.g. bik, ctd, sof, cpg. Overrides Category.

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

Paste search URLs from craigslist.org with all their filters, e.g. https://sfbay.craigslist.org/search/sby/bik?max_price=500\&query=trek. Filters below are not applied to these.

## `postingUrls` (type: `array`):

Individual Craigslist postings to scrape with full details (description, attributes, all images, address, posted/updated time).

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

Stop after this many listings in the whole run.

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

Per keyword × area. Craigslist returns up to ~10,000 results per search; deep pages are fetched automatically.

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

Open each posting for its description, all attributes (make/model, odometer, bedrooms, pets, employment type...), all images, street address and posted/updated time. Charged as an extra 'Listing details' event.

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

Leave empty for Craigslist's default.

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

In the area's currency.

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

In the area's currency.

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

Only postings from the last 24 hours.

## `hasImages` (type: `boolean`):

Only postings with photos.

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

Match keywords in the title only.

## `bundleDuplicates` (type: `boolean`):

Ask Craigslist to collapse near-identical reposts.

## `postalCode` (type: `string`):

Search around this ZIP code (use with Distance).

## `distanceMiles` (type: `integer`):

Radius around the ZIP code.

## `includeNearbyAreas` (type: `boolean`):

Craigslist sometimes appends results from neighbouring sites; they are skipped unless this is on.

## `maxConcurrency` (type: `integer`):

Parallel requests. Craigslist rate-limits aggressive clients; 3–5 is safe.

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

Not needed: the Actor connects directly and only falls back to Apify Proxy if Craigslist blocks a request.

## Actor input object example

```json
{
  "areas": [
    "sfbay"
  ],
  "queries": [
    "road bike"
  ],
  "category": "sss",
  "maxItems": 100,
  "maxItemsPerSearch": 1000,
  "includeDetails": false,
  "postedToday": false,
  "hasImages": false,
  "searchTitlesOnly": false,
  "bundleDuplicates": false,
  "includeNearbyAreas": false,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "areas": [
        "sfbay"
    ],
    "queries": [
        "road bike"
    ]
};

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

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

```

## MCP server setup

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