# Craigslist Scraper | Fast & Reliable (`fatihtahta/craigslist-scraper`) Actor

Scrape Craigslist listings with emails included. Capture titles, prices, descriptions, images, categories and location data in clean JSON/CSV. Great for lead gen, local market research, price tracking and monitoring fresh posts.

- **URL**: https://apify.com/fatihtahta/craigslist-scraper.md
- **Developed by:** [Fatih Tahta](https://apify.com/fatihtahta) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Stats:** 156 total users, 13 monthly users, 100.0% runs succeeded, 6 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.99 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Craigslist Scraper | $1.5 / 1k

### Overview

**Craigslist Scraper | $1.5 / 1k** captures public listings from [craigslist.org](https://craigslist.org), including titles, prices, descriptions, and locations. Craigslist hosts millions of local listings across housing, jobs, services, and for-sale items, making it a valuable source for live market signals and lead discovery. This actor automates data collection reliably, saving hours of manual browsing while keeping your datasets organized and current.

### Why Use This Actor

- **Market visibility:** Track regional trends in pricing, availability, and demand for products, rentals, and services.
- **Research and analysis:** Support competitive research, category monitoring, and directory building without manual copying.
- **Workflow-friendly:** Designed for analysts, growth teams, developers, and data operations teams who need dependable, repeatable runs.

### Input Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `startUrls` | array of strings | One or more Craigslist search, category, or individual listing URLs to collect. | `"https://miami.craigslist.org/search/sss?query=apartment"` (prefill example) |
| `queries` | array of strings | Search keywords to turn into Craigslist results pages. | – |
| `locationCode` | string | Craigslist subdomain for the target region (e.g., `miami`, `newyork`). | `miami` |
| `category` | string | Craigslist category code (e.g., `sss` for For Sale, `gms` for Garage & Moving Sales, `jjj` for Jobs). | `sss` |
| `minPrice` | integer | Only include listings priced at or above this amount (USD). | – |
| `maxPrice` | integer | Only include listings priced at or below this amount (USD). | – |
| `soldBy` | string | Filter by seller type: `owner`, `dealer`, or leave empty for all. | All sellers |
| `freeOnly` | boolean | Return only free listings; overrides price filters. | `false` |
| `hasPic` | boolean | Include only listings with at least one image. | `false` |
| `postedToday` | boolean | Limit results to posts from the last 24 hours. | `false` |
| `startDate` | string | For garage sale searches, include listings whose sale date is on or after this date (`YYYY-MM-DD`). | – |
| `endDate` | string | For garage sale searches, include listings whose sale date is on or before this date (`YYYY-MM-DD`). | – |
| `hideDuplicates` | boolean | Bundle or hide duplicate listings. | `false` |
| `deliveryAvailable` | boolean | Only include listings offering delivery. | `false` |
| `limit` | integer | Maximum number of listings to save per input. | `50000` |
| `proxyConfiguration` | object | Connection settings; use to enable Apify Proxy or custom proxy URLs. | Residential proxy enabled |

### Example Input

```json
{
  "startUrls": ["https://chattanooga.craigslist.org/search/gms"],
  "startDate": "2026-05-23",
  "endDate": "2026-05-24",
  "hasPic": true,
  "limit": 50
}
```

### Example Output

Each dataset item represents one listing with key details.

```json
{
  "url": "https://miami.craigslist.org/pbc/hsh/d/delray-beach-wall-planter-hanging/7900105013.html",
  "title": "Wall Planter Hanging Baseball Cap by Cape Craftsmen Inc",
  "price": "10.00",
  "currency": "USD",
  "description": "Wall Planter Hanging Baseball Cap by Cape Craftsmen Inc...",
  "location": "102 SE 10TH STREET",
  "hood": "102 S.E. 10TH STREET",
  "map_address": "102 SE 10TH STREET",
  "latitude": "26.447041",
  "longitude": "-80.071944",
  "price_text": "$10",
  "category": "household items",
  "subcategory": "for sale by owner",
  "pid": "7900105013",
  "posted_at": "2025-12-04T09:10:02-0500",
  "updated_at": "2025-12-04T09:10:02-0500",
  "attributes": {
    "condition": "new",
    "make / manufacturer": "Cape Craftsman Inc",
    "model name / number": "19388",
    "size / dimensions": "11 1/4\" L x 8 1/2\" W x 4 \" D"
  },
  "image_urls": [
    "https://images.craigslist.org/00m0m_4PASQszh955_0x20oM_600x450.jpg",
    "https://images.craigslist.org/00w0w_9hr0NQmINCW_0x20oM_600x450.jpg"
  ]
}
```

- `url`, `pid` — direct link and listing identifier.
- `title`, `description`, `price`, `currency`, `price_text` — headline, summary, and pricing details.
- `location`, `hood`, `map_address`, `latitude`, `longitude` — location text and coordinates when available.
- `category`, `subcategory`, `attributes` — category labels and key attributes such as condition or dimensions.
- `posted_at`, `updated_at` — timestamps for when the listing was first published and last refreshed.
- `image_urls` — direct links to listing images.

### Notes & Limitations

- Use this actor responsibly and only for lawful purposes. Review and respect Craigslist’s terms of service and local regulations before collecting or using data.
- Public data may include personal information; ensure you have a lawful basis to process and store it in your jurisdiction.
- Start with smaller limits when testing new queries or URLs.
- For garage sale searches, date filtering uses Craigslist's sale-date query and verifies the final listing dates from the detail page.

### Support

Questions or custom needs? Open an issue on the **Issues** tab of the actor page in Apify Console and it will be resolved around the clock.

Happy Scraping,

- Fatih

# Actor input Schema

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

Paste one or more Craigslist URLs. Search and category URLs collect matching listing records; individual listing URLs collect that specific listing.

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

Enter one or more keywords or phrases, such as furniture, bicycle, or yard sale. Leave this empty when you only want to collect from direct URLs.

## `locationCode` (type: `string`):

Enter the Craigslist city subdomain, such as miami, newyork, or chattanooga. This is required for query-based searches; direct Craigslist URLs can also provide the location automatically.

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

Select the Craigslist category to search when using search terms. Choose Garage & Moving Sales when you want yard sale and estate sale listings.

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

Include listings priced at or above this amount. Leave empty when you do not need a lower price boundary.

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

Include listings priced at or below this amount. Leave empty when you do not need an upper price boundary.

## `soldBy` (type: `string`):

Filter listings by private owners, dealers, or all sellers. Leave the default when seller type does not matter.

## `freeOnly` (type: `boolean`):

Return only listings marked as free. When this is enabled, price range filters no longer affect the search.

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

Return only listings that include at least one photo. This is useful when images are required for review, enrichment, or downstream workflows.

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

Return only listings posted in the last 24 hours. Use this when monitoring fresh inventory or time-sensitive opportunities.

## `startDate` (type: `string`):

Include garage sale listings whose sale date is on or after this date. Use YYYY-MM-DD format, for example 2026-05-23.

## `endDate` (type: `string`):

Include garage sale listings whose sale date is on or before this date. Use the same date as the start date to collect one sale day.

## `hideDuplicates` (type: `boolean`):

Ask Craigslist to reduce duplicate listings in search results. This can make review and reporting cleaner when sellers post similar items more than once.

## `deliveryAvailable` (type: `boolean`):

Return only listings marked as offering delivery. Use this when pickup-only listings are not useful for your workflow.

## `limit` (type: `integer`):

Stop the run after this many listings have been saved. Use a smaller number for quick checks and a larger number for broader collection.

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

Choose a proxy configuration when you need region-specific access or more controlled connection behavior. Leave the default in place unless your workflow requires a different network setup.

## Actor input object example

```json
{
  "startUrls": [
    "https://miami.craigslist.org/search/sss?query=apartment"
  ],
  "category": "sss",
  "soldBy": "",
  "freeOnly": false,
  "hasPic": false,
  "postedToday": false,
  "hideDuplicates": false,
  "deliveryAvailable": false,
  "limit": 50000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}
```

# 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 = {
    "startUrls": [
        "https://miami.craigslist.org/search/sss?query=apartment"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fatihtahta/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 = { "startUrls": ["https://miami.craigslist.org/search/sss?query=apartment"] }

# Run the Actor and wait for it to finish
run = client.actor("fatihtahta/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 '{
  "startUrls": [
    "https://miami.craigslist.org/search/sss?query=apartment"
  ]
}' |
apify call fatihtahta/craigslist-scraper --silent --output-dataset

```

## MCP server setup

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