Craigslist Scraper avatar
Craigslist Scraper
Try for free

Pay $20.00 for 1,000 results

View all Actors
Craigslist Scraper

Craigslist Scraper

ivanvs/craigslist-scraper
Try for free

Pay $20.00 for 1,000 results

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 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  "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
  • 8 monthly users
  • 80.7% runs succeeded
  • 16.9 days response time
  • Created in Sep 2022
  • Modified 12 days ago