Craigslist Scraper avatar
Craigslist Scraper
Try for free

1 day trial then $25.00/month - No credit card required now

View all Actors
Craigslist Scraper

Craigslist Scraper

ivanvs/craigslist-scraper
Try for free

1 day trial then $25.00/month - No credit card required now

Extract data from classified advertisements on Craigslist. Scrape contact details from jobs, housing, items wanted, items for sale, services, community service, gigs, events and resumes listed on Craigslist. Download listings data in JSON, XML, Excel, and other versatile

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 more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "urls": [
8    {
9      "url": "https://hanford.craigslist.org/search/bbb?excats=83#search=1~list~0~0"
10    }
11  ],
12  "proxyConfiguration": {
13    "useApifyProxy": true
14  },
15  "maxAge": 15,
16  "maxConcurrency": 1
17}
18EOF
19
20# Run the Actor using an HTTP API
21# See the full API reference at https://docs.apify.com/api/v2
22curl "https://api.apify.com/v2/acts/ivanvs~craigslist-scraper/runs?token=$API_TOKEN" \
23  -X POST \
24  -d @input.json \
25  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 12 monthly users
  • 4 stars
  • 100.0% runs succeeded
  • 17 hours response time
  • Created in Sep 2022
  • Modified about 1 month ago