Actor picture

Craigslist Scraper

andrewtaylor/craigslist-scraper

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.

Free trial for 7 days. Then $5/month.
Author's avatarAndrew Taylor
  • Modified
  • Users9
  • Runs10,922
Actor picture

Craigslist Scraper

Free trial for 7 days. Then $5/month.

How to Use

Simply provide the search URL you want to watch and the scraper will check for any new posts since the last run. New posts will be sent to the email specified and contain the Image, Price, City, Date posted, and a Link to the post.

Schedule the actor to run as often as you need, every hour or even every minute!

Input Parameters

The input of this scraper should be JSON with the following fields:

Field Type Description
search_url String (required) Search URL to scrape for new posts. Posts will be compared with the previous run and only new items will be emailed.
email_addr String (required) Email to send the new posts
email_subj String (required) Email Subject
proxy object (optional) Select an Apify proxy

Example

{
  "search_url": "https://sfbay.craigslist.org/d/apartments-housing-for-rent/search/apa",
  "email_addr": "xxx@xxx.com",
  "email_subj": "New Apartments Search"
}

Example with proxy

{
  "search_url": "https://sfbay.craigslist.org/d/apartments-housing-for-rent/search/apa",
  "email_addr": "xxx@xxx.com",
  "email_subj": "New Apartments Search",
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }  
}

Usage Costs

Usage costs will depend on how often you run the scraper. Running every minute for example will use about 23 compute units and about 6 units for send mail. Running every hour results in compute units as low as 3/month. Data storage costs to store results is also minimal (about $0.50/month).

Example

Running one search every hour works out to about $2/month The Free plan ($5 platform usage credits) is enough to run this.

Running one search every minute works out to about $5/month The Personal plan ($49) is more than enough and would allow you to scrape about 10 searches every minute.

Proxies

It is recommended to use Apify residential proxies with this actor. Shared proxies can get their IP's blacklisted. Contact support@apify.com via email or in-app chat to get the proxies enabled or ask for a free trial.

Contact

For any bugs or feature requests, you can create an issue here.