Skip to content
Docs

Craigslist

Local for-sale classifieds in a city.Every Craigslist for-sale result for a search in one city, up to about 350 in one call: title, price and its currency, neighbourhood and the listing link.
Look up by
Craigslist city (the subdomain, e.g. newyork or sfbay) and search words
Coverage
Every Craigslist city, in its own currency (USD, CAD, GBP and so on, named on each listing)
Cost
2 credits a call; failed and empty calls are free
Endpoints
1 endpoint
  • Search
  • Prices

Endpoints

Example

Craigslist search, with POST /v1/craigslist/search. Set SCRAPERCOMPANY_API_KEY to your key and run it; the full parameter list is in the API reference.

curl -X POST "https://api.scrapercompany.com/v1/craigslist/search" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "city": "string",
    "query": "string"
  }'
200 response
{
  "search_parameters": {
    "engine": "craigslist_search",
    "city": "newyork",
    "query": "bike",
    "limit": 100
  },
  "url": "https://newyork.craigslist.org/search/sss?query=bike",
  "total": 1,
  "listings": [
    {
      "id": "iHRAyxVtfScQUpm2w9iEEW",
      "url": "https://www.craigslist.org/view/d/brooklyn-state-track-bike-52cm-small/iHRAyxVtfScQUpm2w9iEEW",
      "title": "State Track Bike 52cm Small",
      "price": 200,
      "currency": "USD",
      "location": "Brooklyn"
    }
  ]
}

Try it on your key

Good to know

  • The search page has no description or photo for a listing.
  • A page with no results is free.

Guides

Product prices, offers, stock and reviews from stores and marketplaces.

Or browse every data source.

Industry pages built on this source: E-commerce scraping API.

Questions about this page?

Send the page link and your question, and the team will answer.

Email support