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

Scrape Craigslist listings from any city: title, price, location, GPS, photos, and optionally full description, attributes and post date. For sale, cars, housing, jobs, gigs, services. Search URL or city + keywords. $1 per 1,000 listings.

- **URL**: https://apify.com/gosoul9/craigslist-scraper.md
- **Developed by:** [Gosoul Data](https://apify.com/gosoul9) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 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, Cars & Jobs

Extract **Craigslist listings** from any city and any section: **for sale, cars & trucks, apartments, rooms, jobs, gigs, services**. Get the **title, price, area, city, GPS coordinates and photos** of each listing, and optionally the **full description, attributes** (condition, make, model, bedrooms, square feet...), **post date and post ID**.

Two ways to search:

- **Paste Craigslist search URLs** copied from your browser (all your filters are kept).
- Or set **cities + keywords + category + price range**.

![Craigslist Scraper example output: listings with price, city, date and attributes](https://api.apify.com/v2/key-value-stores/JJdNTW6mHqsclEqNv/records/craigslist-scraper-output)

### What you get

| Field | Example |
|---|---|
| `title` | `iPhone 15 pro white titanium 512gb unlocked` |
| `price`, `priceText`, `currency` | `500`, `$500`, `USD` |
| `location`, `city`, `region` | `des plaines`, `Des Plaines`, `IL` |
| `latitude`, `longitude` | GPS coordinates of the listing area |
| `images` | photo URLs |
| `url` | link to the listing |
| `site`, `searchUrl` | `chicago`, the search it comes from |

With **Include full details**:

| Field | Example |
|---|---|
| `description` | full listing text |
| `attributes` | `{"condition": "good", "make / manufacturer": "Apple", "model name / number": "iPhone 15 pro"}` |
| `postedAt`, `updatedAt` | `2026-11-20T10:08:57-0600` |
| `postId` | `7960827063` |
| `images` | all photos in large size |

### How to use

**Option 1: search URLs.** Search on craigslist.org with your filters, copy the URL, paste it. Example: `https://newyork.craigslist.org/search/apa?max_price=2500`.

**Option 2: cities + keywords.** Cities are Craigslist site names (`sfbay`, `newyork`, `losangeles`, `chicago`, `seattle`, `boston`, `london`, `toronto`...). Add keywords, a category, min / max price, *posted today*, *with pictures*.

#### Input example

```json
{
  "cities": ["sfbay", "chicago"],
  "query": "iphone",
  "category": "sss",
  "minPrice": 100,
  "maxItemsPerSearch": 100,
  "includeDetails": true
}
```

#### Output example

```json
{
  "title": "iPhone 15 pro white titanium 512gb unlocked",
  "price": 500.0,
  "city": "Des Plaines",
  "latitude": 42.0466991613171,
  "postedAt": "2026-11-20T10:08:57-0600",
  "attributes": {"condition": "good", "make / manufacturer": "Apple", "mobile OS": "apple iOS"},
  "description": "iPhone 15 pro white titanium 512gb, unlocked, very good condition almost like new, no scratches, with original box",
  "site": "chicago"
}
```

### Pricing

**$1 per 1,000 listings** (details included). Searches with no result are free.

### Use cases

- **Resellers & flippers**: find underpriced items (phones, bikes, furniture) every morning with a schedule + *posted today*.
- **Real estate**: rental prices by neighborhood, with GPS for maps.
- **Car dealers**: track used car listings and prices in several cities.
- **Market research**: price ranges and supply for any product, city by city.
- **Lead generation**: services and gigs posted in your area.

### Good to know

Craigslist shows **up to about 350 listings per search**. To get more, split your search: several cities, or price ranges (0-200, 200-500, 500+). Each search URL is processed separately.

### FAQ

**Which countries?** All Craigslist sites (USA, Canada, UK, Europe, Asia...). Use the site name before `.craigslist.org`.

**Do I need an account?** No.

**Is the description always available?** Only with *Include full details*. Deleted listings are returned without details.

### Other Actors you may like

- [Startup Jobs Scraper](https://apify.com/gosoul9/startup-jobs-scraper): job offers from startup career pages.
- [EU Public Tenders Scraper](https://apify.com/gosoul9/eu-public-tenders-scraper): public procurement notices from TED.
- [Google News Scraper](https://apify.com/gosoul9/google-news-scraper-cheap): news articles for any keyword.
- [Company Website Finder](https://apify.com/gosoul9/company-website-finder): company name in, official website out.
- [Website Contact Scraper](https://apify.com/gosoul9/website-contact-scraper): emails, phones and social links from any website.

# Actor input Schema

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

Paste search URLs copied from your browser, e.g. https://newyork.craigslist.org/search/apa?max_price=2500. Or use the city + keyword fields below.

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

Craigslist site names: sfbay, newyork, losangeles, chicago, seattle, london, toronto... (the part before .craigslist.org).

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

What to search, e.g. iphone, road bike, 2 bedroom.

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

Craigslist section to search.

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

Optional.

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

Optional.

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

Only listings posted in the last 24 hours.

## `hasPicture` (type: `boolean`):

Skip listings without photos.

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

Craigslist shows up to about 350 listings per search. Use several cities or price ranges to get more.

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

Open each listing to get the description, attributes (condition, make, model, bedrooms...), post date, post ID and all photos. Slower.

## Actor input object example

```json
{
  "cities": [
    "sfbay",
    "newyork"
  ],
  "query": "bike",
  "category": "sss",
  "postedToday": false,
  "hasPicture": false,
  "maxItemsPerSearch": 100,
  "includeDetails": 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 = {
    "cities": [
        "sfbay",
        "newyork"
    ],
    "query": "bike"
};

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

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

```

## MCP server setup

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