Apartments.com Scraper 🏡 avatar
Apartments.com Scraper 🏡
Try for free

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

View all Actors
Apartments.com Scraper 🏡

Apartments.com Scraper 🏡

epctex/apartments-scraper
Try for free

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

Scrape Apartments.com to crawl millions of real estate properties nationwide. Specify any US location and extract data on all available properties in that area. Our real estate scraper lets you filter and limit the results by page or total number. You can also target a specific property or area.

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

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    "https://www.apartments.com/sobe-apartment-rentals-miami-beach-fl/26xc7jb/",
9    "https://www.apartments.com/apartments/miami-fl/student-housing/",
10    "https://www.apartments.com/?sk=544b92fe1f766950d57299dc624e9ff9&bb=0nijpwq7qH0t1s0oB"
11  ],
12  "maxItems": 50,
13  "endPage": 100,
14  "extendOutputFunction": "($) => { return {} }",
15  "proxy": {
16    "useApifyProxy": true
17  }
18}
19EOF
20
21# Run the Actor using an HTTP API
22# See the full API reference at https://docs.apify.com/api/v2
23curl "https://api.apify.com/v2/acts/epctex~apartments-scraper/runs?token=$API_TOKEN" \
24  -X POST \
25  -d @input.json \
26  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 39 monthly users
  • 100.0% runs succeeded
  • 0.1 days response time
  • Created in Mar 2021
  • Modified about 2 hours ago