# Craigslist Scraper (`lowlanddata/craigslist-scraper`) Actor

Craigslist ads from any city or country as clean JSON: price, category, city, neighborhood, photos and posting time, plus the description and attributes on request. Cars, rentals, jobs and everything for sale. Pay per result, no poster personal data.

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

## Pricing

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

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 — ads from every Craigslist city, GDPR-safe

Extract ads from **craigslist.org** — the biggest classifieds site in the United States and Canada, with about 700 city sites in 79 countries — as clean, structured JSON. Title, price and currency, category, city, area, neighborhood, posting time, photos and the key facts of the category (bedrooms and size, odometer, pay) on every row; the description, every photo, the full attribute list (make, model, year, fuel, transmission, condition, rent period, pets, parking, employment type) and the exact update time when you ask for the ad pages. Cars, apartments, jobs, services, electronics, furniture, tools, boats and every other category of the site from one actor. Ready for price monitoring, flipping and sourcing, rent and salary research and data pipelines.

**No poster personal data, ever.** This scraper is built GDPR-first: poster names, phone numbers, email addresses, street addresses and coordinates never appear in the output — not as an option you have to remember to switch off, but by design. The only seller information included is whether the ad is by an owner or by a dealer.

### Quick start (30 seconds)

1. Type what you would type in the Craigslist search box into **keywords** — for example `road bike` — and name a city in **areas**, for example `newyork`. Leave both empty and the run reads the San Francisco Bay Area.
2. Click **Start**. That's the whole minimum setup.
3. When the run finishes, open the dataset's **Overview** tab for a clean table, or **Export** it as CSV/Excel/JSON.

Pick a **category** (`sss` is everything for sale, `cta` cars and trucks, `apa` apartments for rent, `jjj` every job), a price band, **sellerType**, a make and model or a bedroom count, keep **sortBy** on newest and put the run on a schedule for a daily watch.

Already have the search set up on craigslist.org? Set the filters there, copy the address from the browser and paste it into **Craigslist search links**: the run returns what that page lists.

### What you can build with it

- **Find cars below market.** `category: cta`, `makeModel: toyota tacoma`, `yearMin: 2015`, `mileageMax: 120000`, `priceMax: 25000`, `country: US` and get every matching ad across the country with `priceCents`, `odometer`, `locality` and `postedAt` on the row — and with `scrapeDetails` on, the `auto_year`, `auto_transmission`, `auto_title_status` and `auto_fuel_type` to rank it.
- **Watch the rental market.** `category: apa`, `bedroomsMin: 2`, `priceMax: 3000` and a list of cities in `areas`; every row carries the rent, `bedrooms`, `size`, `sizeUnit` and the neighborhood, and the ad page adds pets, parking, laundry and the move-in date.
- **Source for resale.** Put the things you flip in `searchQueries`, one per line, with `sellerType: private` and a price cap: `walnut dresser`, `herman miller`, `weber grill`. Each search runs in the same run, an ad found twice comes back once, and `maxItems` counts the whole run.
- **Follow the job market.** `category: jjj` with a city returns the title, the pay line and the category of every posting, and the ad page adds the employment type, experience level and remote or relocation flags.
- **Feed an AI agent clean data.** Every field is structured, predictable and free of personal data, so an assistant or pipeline can consume it directly — no scrubbing, no compliance review before you store it.

### What you get

Each ad is one dataset item:

```json
{
  "listingId": "uT3cbmaQoDhmeVopqB7vT1",
  "postingId": "8001808818",
  "url": "https://www.craigslist.org/view/d/emeryville-2015-mazda-i-sport-sedan/uT3cbmaQoDhmeVopqB7vT1",
  "title": "2015 Mazda 3 i Sport Sedan",
  "priceCents": 1250000,
  "currency": "USD",
  "priceDisplay": "$12,500",
  "category": "cto",
  "categoryLabel": "cars & trucks - by owner",
  "sellerType": "private",
  "area": "sfbay",
  "areaName": "SF bay area",
  "country": "US",
  "subarea": "east bay",
  "locality": "emeryville",
  "postedAt": "2026-11-16T23:57:35.000Z",
  "imageUrls": ["https://images.craigslist.org/00B0B_xxxxxxxxxxx_0lN0t2_600x450.jpg"],
  "odometer": 89266,
  "odometerUnit": "mi",
  "scrapedAt": "2026-11-17T01:00:00.000Z"
}
```

With **Fetch ad pages** on (or for ads named in `listingIds`), each item also carries the `description`, the `updatedAt` time and the `attributes` record the site keeps for the ad. A private car, for example:

```json
"attributes": {
  "auto_make_model": "nissan frontier crew cab",
  "auto_year": 2004,
  "auto_cylinders": "6 cylinders",
  "auto_fuel_type": "gas",
  "auto_miles": 265000,
  "auto_title_status": "clean",
  "auto_transmission": "manual",
  "auto_bodytype": "pickup"
}
```

Attributes follow the category: housing ads carry `bedrooms`, `bathrooms`, `area`, `housing_type`, `rent_period`, `pets_cat`, `pets_dog`, `laundry`, `parking` and `movein_date`; jobs carry `employment_type`, `experience_level`, `remuneration` and `is_telecommuting`; items for sale carry `condition`, `sale_manufacturer`, `sale_model` and `sale_size`.

Field notes, so you know exactly what you are buying:

- `priceCents` is the asking price in cents of the city's currency (`currency` names it: USD, CAD, GBP, EUR, AUD and so on). An ad that names no price, as most jobs and many rentals and services do, carries no `priceCents`.
- `listingId` is the 22-character code at the end of the ad address and the key for `listingIds`. `postingId` is the site's numeric id. Old-style addresses that end in a number (`/1234567890.html`) are no longer served by the site and are refused with that message.
- `locality` is the neighborhood or town label the poster chose, kept only when it is plain words. A label that holds a street address, a number or a web address is dropped. The street address, the map pin and the coordinates are never collected.
- `description` is the poster's text with its contact details replaced: phone numbers become `[phone removed]` (including the ones posters half spell out to dodge filters, like `503-949-977four`), email addresses `[email removed]`, links `[link removed]`, handles `[handle removed]` and vehicle identification numbers `[vin removed]`. The poster profile block that cross-posted ads end with is cut off. A number written as a range, such as `500-1000`, can be taken for a phone number and replaced.
- A name or a licence plate that a poster types into a sentence of the ad is that sentence and stays. The guarantee covers the data fields and the contact details above, not every word a poster chooses to publish.
- `sellerType` is `private` for ads in an "by owner" category and `professional` for "by dealer". Categories that do not split by seller carry no `sellerType`.
- `imageUrls` holds full image links to the ad's photos, 600 by 450 pixels.
- `bedrooms` and `size` (with `sizeUnit`, square feet in the US and Canada, square metres elsewhere) and `odometer` (with `odometerUnit`, miles in the US and the UK, kilometres elsewhere) are the key facts the site shows on a search row. `compensation` and `jobTitle` are the pay line and title of a job row.
- Ads people write about themselves — resumes, rooms wanted, missed connections, rants, activity partners — are never read, in any search.

### How much does it cost to scrape Craigslist?

$2.00 per 1,000 ads delivered, pay-as-you-go — no subscription, no charge for empty or failed runs. In plain dollars:

- **100 ads ≈ $0.20** — a daily watch on a category in one city.
- **500 ads ≈ $1.00** — a solid market snapshot.
- **A 10,000-ad crawl ≈ $20.00** — the most one search can serve, deduplicated.

Your own Apify platform usage comes on top and is close to nothing: one request returns 360 ads or more, through standard datacenter proxies. Turning on **Fetch ad pages** adds one request per ad, so a run takes longer, and the price per ad stays the same. No residential proxy, no browser.

Free-plan runs are limited to a sample of 5 items, enough to evaluate the output format against your real query.

### Not technical? Let your AI assistant set it up

Copy this into ChatGPT, Claude or any AI assistant, fill in the one line, and follow the conversation:

```text
Help me set up the "Craigslist Scraper" actor on Apify
(https://apify.com/lowlanddata/craigslist-scraper). Guide me one step at a time.

What I want to watch: [E.G. "2-bedroom apartments under 3,000 dollars in Seattle and Portland"]

Guide me to:
1. Propose my input values: keywords (what I'd type in the site's search box),
   areas (the first part of the city address, like sfbay or seattle) or a country
   code, category (sss for everything for sale, cta for cars and trucks, apa for
   apartments, jjj for jobs), the price, year, mileage or bedroom bands I need,
   sellerType, sortBy "newest" for monitoring, and maxItems.
2. Decide whether I need scrapeDetails (the description and the attribute list from
   each ad page) or whether the search rows are enough.
3. Create a free Apify account (apify.com), open the actor page, paste the values
   into the Input form, and start a run.
4. Set up a daily Schedule in the Apify Console with the same input, plus an email
   or Slack integration so new results reach me automatically.
5. Show me how to export results as CSV/Excel, or read them from the API if I code.
6. If the results are what I wanted, remind me at the end to leave a quick rating on the actor page, and to report anything broken or missing on its Issues tab.
```

### Input

| Field                        | Description                                                                                                                                                                                              |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `keywords`                   | Words to search for, the way the site's search box takes them: `road bike`, `"honda civic"` for a phrase, `-damaged` to leave a word out, `bik*` for a wildcard. Ignored when you paste links or ad IDs. |
| `searchQueries`              | More keyword searches for the same run, one per line, each with the same cities, category, price and filters. Up to 50; an ad found twice comes back once.                                               |
| `startUrls`                  | Craigslist search pages to read, as you copy them from the browser. The form fields stand down for them and the run status says which. Single ads are refused: use `listingIds`. Up to 50.               |
| `areas`                      | Cities by the first part of their address: `sfbay`, `newyork`, `losangeles`, `london`, `toronto`. Each city is a separate search. Empty with no country means the San Francisco Bay Area. Up to 500.     |
| `country`                    | Every city of a country at once, by its two-letter code: `US`, `CA`, `GB`, `DE`, `FR`, `AU`. Adds to `areas`. Set `maxItems` for the whole run, a country can have 400 cities.                           |
| `category`                   | The site's own category code. `sss` everything for sale (default), `hhh` all housing, `jjj` all jobs, `bbb` services, `ggg` gigs, `cta` cars and trucks, `apa` apartments, and the site's others.        |
| `listingIds`                 | Re-check known ads by their 22-character code or full address instead of searching; each read from its own page; gone ads are skipped and not billed. Up to 200.                                         |
| `sellerType`                 | `private` (by owner) or `professional` (dealers and businesses).                                                                                                                                         |
| `priceMin`, `priceMax`       | Price band, in the currency of the city.                                                                                                                                                                 |
| `hasImage`                   | Skip ads with no photo.                                                                                                                                                                                  |
| `searchTitlesOnly`           | Match the keywords against titles only.                                                                                                                                                                  |
| `postalCode`, `radius`       | Search around a postal or ZIP code; the radius is in the unit the city's site uses. `radius` needs `postalCode`.                                                                                         |
| `makeModel`                  | Vehicles: make and model as the site's form takes them, for example `toyota tacoma`.                                                                                                                     |
| `yearMin`, `yearMax`         | Vehicle model year band.                                                                                                                                                                                 |
| `mileageMin`, `mileageMax`   | Vehicle odometer band.                                                                                                                                                                                   |
| `bedroomsMin`, `bedroomsMax` | Housing: bedroom band.                                                                                                                                                                                   |
| `bathroomsMin`               | Housing: at least this many bathrooms.                                                                                                                                                                   |
| `sortBy`                     | `newest` (default), `oldest`, `relevance`, `priceAscending`, `priceDescending`.                                                                                                                          |
| `maxItems`                   | Stop after this many ads, counted over the whole run (default 1000). The site serves up to 10,000 per search.                                                                                            |
| `scrapeDetails`              | Read each ad's page for the description, the attribute list and the exact update time. One extra request per ad.                                                                                         |

Every field is optional: an empty form returns the newest for-sale ads of the San Francisco Bay Area. An unknown city, a country with no city, a category the site does not have or an inverted band fails before anything is billed, with the reason in the status message.

#### Using search links

Open a city on craigslist.org, pick a category, set the filters on the site (price, bedrooms, make and model, seller type, keywords, distance from a postal code) and copy the address from the browser into `startUrls`. A link to a part of a city, such as `sfbay.craigslist.org/search/sfc/apa`, works too. The run reads the page exactly as the site shows it, in the order the link has: pick Newest on the site for monitoring. Several links run one after the other, an ad that two of them list comes back once, and `maxItems` counts the whole run, each link getting an equal share of what is left.

Because a link already says everything, the form's cities, category, keywords and filters are ignored when links are given, and the run status lists the ones you had filled in. A link to a single ad is refused with a pointer to `listingIds`, and so is a link to a category of ads people write about themselves.

#### Several searches at once

`searchQueries` runs more keywords in the same run, one per line, each with the cities, category, price band and the other filters of the form. `keywords` is the first search and `searchQueries` adds the rest. With several cities the run makes one search per city and keyword. `maxItems` is the total for the run, split in equal shares across the searches, so a quiet search leaves its room to the next one. If one search fails, the others still deliver and the failure is named in the status.

#### Re-checking known ads

`listingIds` takes the `listingId` of ads you collected earlier, or their addresses. Each is read from its own page, so the row carries the description, the attributes, the current price and the exact dates. An ad that is gone from the site, sold or expired, is skipped, named in the log and not billed. Run it on a schedule against a list and you have a price and availability tracker.

### Use it from your code

Run the actor and get items straight back with one HTTP call (fine for scoped runs up to ~5 minutes):

```bash
curl "https://api.apify.com/v2/acts/lowlanddata~craigslist-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -X POST -H "Content-Type: application/json" \
  -d '{"keywords": "road bike", "areas": ["newyork"], "category": "sss", "maxItems": 100}'
```

Node.js:

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

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('lowlanddata/craigslist-scraper').call({
  keywords: 'road bike',
  areas: ['newyork'],
  category: 'sss',
  maxItems: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("lowlanddata/craigslist-scraper").call(
    run_input={"keywords": "road bike", "areas": ["newyork"], "category": "sss", "maxItems": 100})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

For large crawls, start the run asynchronously and fetch the dataset when the finished-run webhook fires. Schedules (e.g. a daily price snapshot), webhooks and the Make/Zapier/n8n integrations all work out of the box — this is a standard Apify actor.

### Use it with AI agents (MCP)

Claude, Cursor and other MCP-capable agents can run this scraper as a tool through Apify's hosted MCP server: the agent fills in the search itself, starts the run and reads the results — no glue code.

Claude Code:

```bash
claude mcp add apify --transport http "https://mcp.apify.com?actors=lowlanddata/craigslist-scraper"
```

Cursor or Claude Desktop (add a custom connector / MCP server with this URL):

```text
https://mcp.apify.com?actors=lowlanddata/craigslist-scraper
```

Sign in with your Apify account when prompted — runs are billed to it. Setup details per client: [Apify MCP docs](https://docs.apify.com/platform/integrations/mcp), or start from this actor's own MCP page: [apify.com/lowlanddata/craigslist-scraper/api/mcp](https://apify.com/lowlanddata/craigslist-scraper/api/mcp).

Prompts that work once connected:

- "Find the 50 cheapest private-seller Toyota Tacomas from 2015 on in Texas on Craigslist and give me the price per mile."
- "Snapshot every 2-bedroom apartment under 3,000 dollars in Seattle and tell me the median rent by neighborhood."
- "List today's newest free-and-cheap furniture in Brooklyn and flag anything under 50 dollars."

### Beyond the 10,000-result window

Craigslist serves at most 10,000 ads per search, and this actor reads that window in full: the first 360 ads in one call and the rest in batches. When a search matches more, the run status says how many matched and how many the site serves. To reach the rest, split the search: name more cities in `areas`, narrow the category, add a price band or a make and model. Each of those is its own search with its own 10,000, and an ad that two searches find comes back once.

### Is it legal to scrape Craigslist?

Listing data — prices, descriptions, categories, locations — is public commercial information, and this scraper is built so that the hard part of the question never arises: **no personal data enters your dataset in the first place.** A Craigslist ad carries a street address, a map pin, the poster's company name, vehicle identification numbers and contact flags next to the fields a buyer wants; none of them is on the whitelist, and a test on every build feeds the actor an ad with all of them planted and fails if any reaches a row. Phone numbers, email addresses, links and handles typed into an ad's text are replaced before the description is delivered.

Craigslist's robots.txt closes only the reply, flag and mail paths, which are the contact features, and this actor never touches them. Requests are paced, go through standard Apify datacenter proxies like any visitor's connection, and nothing is done to defeat the site's checks. Craigslist's terms of use restrict automated access; whether your use of the data is permitted is yours to assess.

One honest limit: titles and descriptions are the poster's own words, delivered as-is apart from the contact details above. A name or a plate that a poster types into a sentence is not rewritten.

### Is there a Craigslist API alternative?

Craigslist publishes no public API for ads. This actor is the practical alternative: the same ads as structured JSON through one HTTP call (`run-sync-get-dataset-items`), on a schedule, or as an MCP tool for AI agents — with the GDPR question already answered in the data itself.

### Does Craigslist block scrapers?

The site's search answers a plain request from a datacenter address — no login, no browser, no challenge — and this actor stays inside that welcome: paced requests, standard datacenter proxies, load kept negligible. No CAPTCHA fights, no bot-wall cat-and-mouse — which is also why runs are fast and reliable enough for daily schedules.

### How do I monitor Craigslist prices?

Set `sortBy: "newest"` with your query, cap `maxItems` to a page or two, and add a daily (or hourly) Schedule in the Apify Console with an email/Slack integration on the runs — every new ad lands in your inbox with the price already parsed into `priceCents`. To follow ads you already hold, schedule a run with their `listingIds`: the current price comes back, and a sold ad is skipped and not billed. The AI-assistant prompt above walks a non-technical user through exactly this setup.

### FAQ

**Can I get poster names or phone numbers?** No — by design. That is the product: data you can store, share and process without a GDPR review. The output tells you only whether the ad is by an owner or by a dealer.

**Can I search every city at once?** Yes, with `country: US` (about 400 cities) or any other country code, but set `maxItems` for the whole run, since each city can return up to 10,000 ads. For a market study, name the cities you care about in `areas`.

**Can I get only the newest ads?** Sort by newest, keep `maxItems` to a page or two and schedule the run: each run returns the latest ads for the cities, category and filters you set, and every row carries `postedAt`.

**How fresh is the data?** Live at run time — every run queries Craigslist directly. For continuous freshness, schedule the actor.

**Can I export to Excel or CSV?** Yes — every dataset exports as CSV, Excel, JSON or XML from the Apify Console or API.

**What happens above 10,000 results?** The run delivers the 10,000 the site serves for that search and says so in the status message. Split the search by city, category or price to reach the rest.

**Why are some rows missing a price or a description?** A search row carries the price the site lists, and many jobs, services and rentals list none. The description and the attribute list are on the ad page: turn on `scrapeDetails`, or name the ad in `listingIds`.

**Does it work with Make, Zapier or n8n?** Yes — it is a standard Apify actor; all platform integrations, webhooks and schedules apply.

### Related scrapers

Working the second-hand market? The same GDPR-clean guarantee, same output shape:

- [Kijiji Scraper](https://apify.com/lowlanddata/kijiji-scraper) — Canada's classifieds, with price, location and attributes.
- [Gumtree Scraper](https://apify.com/lowlanddata/gumtree-scraper) — UK and Australian classifieds.
- [OLX Scraper](https://apify.com/lowlanddata/olx-scraper) — Poland's largest marketplace.

### Troubleshooting

The actor fails fast with the reason in the run's status message:

- **"Craigslist has no area called ..."** — use the first part of the city address (`sfbay` for sfbay.craigslist.org) or the area name from the site's list.
- **"Craigslist has no category ..."** — pick a category from the form's list, or paste a search page link.
- **"... is a single ad, not a search page. Put ad addresses in listingIds instead."** — move that address to `listingIds`.
- **"... is an old-style address that ends in a number ..."** — the site no longer opens those; use the 22-character code from the end of the ad address.
- **"Craigslist does not serve a search at ..."** — open the address in a browser, set the filters there and paste the link again.
- **"Craigslist did not return the result list needed to read past 360 ads."** — run again in a few minutes, or lower `maxItems` to 360.
- **Fewer items than requested on a free plan** — the 5-item free sample cap; run on a paid Apify plan for full results.

### Support

Found an issue or missing a field you need? Open an issue on the actor's **Issues tab** — reports get fixed, this actor is actively maintained.

Working well for you? A **rating on this page** takes ten seconds and helps other buyers find a GDPR-clean option among the lookalikes — it is also the clearest signal of what we should build next.

# Actor input Schema

## `keywords` (type: `string`):

Words to search for, the way the site's search box takes them: <code>road bike</code>, <code>"honda civic"</code> for a phrase, <code>-damaged</code> to leave a word out, <code>bik\*</code> for a wildcard. <b>Ignored when you paste search links or ad IDs</b>; the run status says so.

## `searchQueries` (type: `array`):

More keyword searches in the same run, one per line, each with the same areas, category, price and the other filters of this form. An ad found by two searches comes back once. <b>Max ads counts the whole run</b>: each search gets an equal share of it, and the searches run in the order given. Up to 50.

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

Paste search pages copied from craigslist.org after you set the filters on the site: city, category, price, bedrooms, make and model, keywords. Each link is read exactly as the site shows it, so the form fields on this page stand down for it. <b>Search pages only</b>: for single ads use Specific ad IDs. Up to 50.

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

The Craigslist cities to search, by the first part of their address: <code>sfbay</code>, <code>newyork</code>, <code>losangeles</code>, <code>london</code>, <code>toronto</code>, <code>paris</code>. Each city is a separate search, and the cities of different countries can be mixed. Leave empty with no country for the San Francisco Bay Area. Up to 500.

## `country` (type: `string`):

Search every Craigslist city of a country at once, by its two-letter code: <code>US</code>, <code>CA</code>, <code>GB</code>, <code>DE</code>, <code>FR</code>, <code>AU</code>, ... Adds to the cities above. A country has from 1 to over 70 cities, so set <b>Max ads</b> for the whole run.

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

What to search, as the site's own category list. <code>sss</code> is everything for sale, <code>cta</code> cars and trucks from owners and dealers, <code>apa</code> apartments for rent, <code>jjj</code> every job. Ads people write about themselves (resumes, rooms wanted, missed connections, rants) are not read. Search links take any category of the site.

## `listingIds` (type: `array`):

Re-check ads you already know instead of searching: one per line, as the 22-character code at the end of the ad address (the <code>listingId</code> of every dataset item) or the ad's full address. Each one is read from its own page, so it carries the description, the attribute list and the exact dates. An ad that is gone from the site is skipped, named in the log and not billed. <b>When given, the search fields of this form are ignored</b> and the run status says which. Up to 200.

## `sellerType` (type: `string`):

Only private sellers, or only dealers and businesses. Dealers can post in most categories and in housing, jobs and services.

## `priceMin` (type: `integer`):

Only include ads priced at least this much, in the currency of the city (dollars, pounds, euros).

## `priceMax` (type: `integer`):

Only include ads priced at most this much, in the currency of the city.

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

Skip ads that have no photo.

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

Match the keywords against ad titles instead of the whole ad text.

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

Search around this postal or ZIP code. Needs <b>Search radius</b>.

## `radius` (type: `integer`):

Distance around the postal code, in the city's own unit (miles in the US and the UK, kilometres elsewhere). Needs <b>Postal code</b>.

## `makeModel` (type: `string`):

Vehicles: the make and model as the site's search form takes them, for example <code>toyota tacoma</code>. Use with a vehicle category such as <code>cta</code>.

## `yearMin` (type: `integer`):

Vehicles from this model year on.

## `yearMax` (type: `integer`):

Vehicles up to this model year.

## `mileageMin` (type: `integer`):

Vehicles with at least this odometer reading.

## `mileageMax` (type: `integer`):

Vehicles with at most this odometer reading.

## `bedroomsMin` (type: `integer`):

Housing: at least this many bedrooms. Use with a housing category such as <code>apa</code>.

## `bedroomsMax` (type: `integer`):

Housing: at most this many bedrooms.

## `bathroomsMin` (type: `integer`):

Housing: at least this many bathrooms.

## `sortBy` (type: `string`):

Order of results: newest (best for monitoring), oldest, relevance (the site's own order for keyword searches), or by price.

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

Stop after this many ads. Free-plan runs are capped at 5 items. The form starts at 25 for a cheap first run. That is the form's prefill, not a cap on your plan; clear it to use the default of 1000. The site serves up to 10,000 ads per search; narrow by city, category or price to reach the rest.

## `scrapeDetails` (type: `boolean`):

The search row carries the title, price, city, area, photos, posting time and the key facts (bedrooms, size, mileage, pay). Turn this on to read each ad's own page for the description, the full attribute list (condition, make, model, year, fuel, transmission, and more) and the exact update time. One extra request per ad, so a run is slower. Phone numbers, email addresses, links and handles in the text are removed; street addresses, coordinates and posters' names are never read.

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

Proxy settings. craigslist.org answers Apify datacenter proxies, so the default needs nothing from you. Leave it as it is.

## `reportFailures` (type: `boolean`):

Only two things are sent to the developer. When a run fails: the actor name and build, an error category, the truncated error message and a one-way hash of your input. At the start of every run: the actor name, the build, a one-way hash of your Apify account id and whether the account is on a paid Apify plan. <b>Your input, your results, your name and your account id itself are never sent.</b> Turn this off and nothing is sent; the actor behaves the same.

## Actor input object example

```json
{
  "category": "sss",
  "listingIds": [],
  "hasImage": false,
  "searchTitlesOnly": false,
  "sortBy": "newest",
  "maxItems": 25,
  "scrapeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "reportFailures": true
}
```

# Actor output Schema

## `ads` (type: `string`):

Scraped craigslist.org ads, one JSON object per ad.

# 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 = {
    "category": "sss",
    "listingIds": [],
    "sortBy": "newest",
    "maxItems": 25,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lowlanddata/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 = {
    "category": "sss",
    "listingIds": [],
    "sortBy": "newest",
    "maxItems": 25,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("lowlanddata/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 '{
  "category": "sss",
  "listingIds": [],
  "sortBy": "newest",
  "maxItems": 25,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call lowlanddata/craigslist-scraper --silent --output-dataset

```

## MCP server setup

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