Craigslist Scraper avatar
Craigslist Scraper
Try for free

7 days trial then $5.00/month - No credit card required now

View all Actors
Craigslist Scraper

Craigslist Scraper

andrewtaylor/craigslist-scraper
Try for free

7 days trial then $5.00/month - No credit card required now

Scrapes Craigslist for new posts matching your search criteria and sends an email alert. Ideal for finding new leads, items for sale, housing, job postings, gigs, and more! Be the first to respond to new posts.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "search_url": "https://sfbay.craigslist.org/search/sss?max_price=4&postal=94040&search_distance=1#search=1~gallery~0~0",
8  "email_addr": "example@example.com",
9  "email_subj": "New Apartment Post!"
10}
11EOF
12
13# Run the Actor using an HTTP API
14# See the full API reference at https://docs.apify.com/api/v2
15curl "https://api.apify.com/v2/acts/andrewtaylor~craigslist-scraper/runs?token=$API_TOKEN" \
16  -X POST \
17  -d @input.json \
18  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 10 monthly users
  • 76.4% runs succeeded
  • 4.7 days response time
  • Created in Apr 2021
  • Modified 3 days ago