Skip to main content
AI Studio  add-on for Spider.
Classifieds & Marketplace
craigslist.org Verified

Craigslist Scraper

Extract classified listings, pricing, location data, and seller contact info from Craigslist across all categories and regions. Built on spider-browser .

Get started Docs
target
craigslist.org
success rate
99.9%
latency
~4ms
POST /fetch/craigslist.org/
return_format
curl -X POST https://api.spider.cloud/fetch/craigslist.org/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://craigslist.org/",
  "status": 200,
  "data": {
    "listing_title": "string",
    "price": "string",
    "location": "string",
    "post_date": "string",
    "description": "string",
    "images": "string"
  }
}
Quick start

Extract data in minutes.

Structured JSON from craigslist.org with a single POST. AI-resolved selectors, cached on the first call.

craigslist-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://sfbay.craigslist.org/search/sss?query=bicycle");
await page.content();

const data = await page.evaluate(`(() => {
  const items = [];
  document.querySelectorAll(".cl-static-search-result").forEach(el => {
    const title = el.querySelector(".title")?.textContent?.trim();
    const price = el.querySelector(".price")?.textContent?.trim();
    const location = el.querySelector(".location")?.textContent?.trim();
    if (title) items.push({ title, price, location });
  });
  return JSON.stringify({ total: items.length, items: items.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
ready to run · spider-browser · TypeScript
Extraction

Fields you can pull.

Listing titlePriceLocationPost dateDescriptionImages
Listings

Classified ads data

Extract listings, prices, and seller info from craigslist.org.

Geo

Location targeting

Access location-specific listings with geo-targeted proxies.

Pagination

Infinite scroll

Navigate paginated results and infinite scroll feeds automatically.

Related

More Classifieds & Marketplace scrapers.

Start

Start scraping craigslist.org.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.