
Apartments.com Scraper 🏡
Pricing
$30.00/month + usage

Apartments.com Scraper 🏡
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.
5.0 (3)
Pricing
$30.00/month + usage
12
Total users
704
Monthly users
49
Runs succeeded
>99%
Issue response
0.25 hours
Last modified
13 hours ago
You can access the Apartments.com Scraper 🏡 programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1from apify_client import ApifyClient2
3# Initialize the ApifyClient with your Apify API token4# Replace '<YOUR_API_TOKEN>' with your token.5client = ApifyClient("<YOUR_API_TOKEN>")6
7# Prepare the Actor input8run_input = {9 "startUrls": [10 "https://www.apartments.com/sobe-apartment-rentals-miami-beach-fl/26xc7jb/",11 "https://www.apartments.com/apartments/miami-fl/student-housing/",12 "https://www.apartments.com/?sk=544b92fe1f766950d57299dc624e9ff9&bb=0nijpwq7qH0t1s0oB",13 ],14 "maxItems": 50,15 "endPage": 100,16 "extendOutputFunction": "($) => { return {} }",17 "proxy": { "useApifyProxy": True },18}19
20# Run the Actor and wait for it to finish21run = client.actor("epctex/apartments-scraper").call(run_input=run_input)22
23# Fetch and print Actor results from the run's dataset (if there are any)24print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])25for item in client.dataset(run["defaultDatasetId"]).iterate_items():26 print(item)27
28# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Apartments.com Property Data Extractor 🏡 API in Python
The Apify API client for Python is the official library that allows you to use Apartments.com Scraper 🏡 API in Python, providing convenience functions and automatic retries on errors.
Install the apify-client
$pip install apify-client
Other API clients include: