
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.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "startUrls": [12 "https://www.apartments.com/sobe-apartment-rentals-miami-beach-fl/26xc7jb/",13 "https://www.apartments.com/apartments/miami-fl/student-housing/",14 "https://www.apartments.com/?sk=544b92fe1f766950d57299dc624e9ff9&bb=0nijpwq7qH0t1s0oB"15 ],16 "maxItems": 50,17 "endPage": 100,18 "extendOutputFunction": ($) => { return {} },19 "proxy": {20 "useApifyProxy": true21 }22};23
24// Run the Actor and wait for it to finish25const run = await client.actor("epctex/apartments-scraper").call(input);26
27// Fetch and print Actor results from the run's dataset (if any)28console.log('Results from dataset');29console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);30const { items } = await client.dataset(run.defaultDatasetId).listItems();31items.forEach((item) => {32 console.dir(item);33});34
35// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Apartments.com Property Data Extractor 🏡 API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Apartments.com Scraper 🏡 API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-client
Other API clients include: