![Apartments.com Scraper 🏡 avatar](https://images.apifyusercontent.com/UsYRinV7TtaGJzEVFV6fv6YlpiyiAJiC-5qbGk0HAis/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS8wbUZvT0dGdzdLNGhwMXYwZi9nY2c0ZE5RU3BXSDk5NldLaC11bm5hbWVkLnBuZw.webp)
Apartments.com Scraper 🏡
Try for free
7 days trial then $30.00/month - No credit card required now
View all Actors![Apartments.com Scraper 🏡](https://images.apifyusercontent.com/UsYRinV7TtaGJzEVFV6fv6YlpiyiAJiC-5qbGk0HAis/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS8wbUZvT0dGdzdLNGhwMXYwZi9nY2c0ZE5RU3BXSDk5NldLaC11bm5hbWVkLnBuZw.webp)
![Apartments.com Scraper 🏡](https://images.apifyusercontent.com/UsYRinV7TtaGJzEVFV6fv6YlpiyiAJiC-5qbGk0HAis/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS8wbUZvT0dGdzdLNGhwMXYwZi9nY2c0ZE5RU3BXSDk5NldLaC11bm5hbWVkLnBuZw.webp)
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
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
- 26 monthly users
- 6 stars
- 100.0% runs succeeded
- 5.5 hours response time
- Created in Mar 2021
- Modified about 24 hours ago
Categories