Apartments.com Scraper 🏡
7 days trial then $30.00/month - No credit card required now
Apartments.com Scraper 🏡
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.
Actor - Apartments Scraper
Apartments scraper
Since Apartments doesn't provide a proper free API, this actor should help you to retrieve data from it.
The Apartments data scraper supports the following features:
-
Scrape any address you would like to get - You can search for a specific location and scrape the results accordingly.
-
Apply any of the filters - You can apply any filter provided by the website.
-
Scrape property details - You can target any of the property detail links.
-
Limit the results by page or amount of property. - If you don't want to get all the results but a specific amount you can limit it.
Bugs, fixes, updates, and changelog
This scraper is under active development. If you have any feature requests you can create an issue from here.
Incoming Changes
- Integrate
startPage
field.
Input Parameters
The input of this scraper should be JSON containing the list of pages on Apartments that should be visited. Possible fields are:
Field | Type | Description |
---|---|---|
startUrls | Array | (optional) List of Apartments URLs. You should only provide list or property detail URLs |
includeAllImages | Boolean | This option enables all images from the detail pages. This option will increase the total requests and the total execution time slightly. |
includeVirtualTours | Boolean | This option enables virtual tours from the detail pages. This option will increase the total requests and the total execution time slightly. |
maxItems | Integer | (optional) You can limit scraped properties. This should be useful when you search through the big lists. |
endPage | Integer | (optional) Final number of pages that you want to scrape. The default is Infinite . |
search | String | (optional) Location keyword that you would like to search the properties in. |
proxy | Object | Proxy configuration |
extendOutputFunction | String | (optional) Function that takes a JQuery handle ($) as argument and returns object with data |
This solution requires the use of Proxy servers, either your own proxy servers or you can use Apify Proxy.
Tip
When you want to scrape over a specific listing URL, just copy and paste the link as one of the startUrl.
If you would like to scrape only the first page of a list then put the link for the page and have the endPage
as 1.
With the last approach explained above you can also apply any of the filters to the search results. Go to Apartments.com, search for a location, apply filters, and copy/paste the link as startUrl.
Compute Unit Consumption
The actor is optimized to run blazing fast and scrape many as listings as possible. Therefore, it forefronts all listing detail requests. If the actor doesn't block very often it'll scrape 100 listings in 1 minute with ~0.03-0.04 compute units.
Apartments Scraper Input example
1{ 2 "startUrls": [ 3 "https://www.apartments.com/sobe-apartment-rentals-miami-beach-fl/26xc7jb/", 4 "https://www.apartments.com/apartments/miami-fl/student-housing/", 5 "https://www.apartments.com/?sk=544b92fe1f766950d57299dc624e9ff9&bb=0nijpwq7qH0t1s0oB" 6 ], 7 "search": "new york", 8 "proxy": { 9 "useApifyProxy": true 10 }, 11 "endPage": 1, 12 "maxItems": 100 13}
During the Run
During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified. When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.
If you provide incorrect input to the actor, it will immediately stop with a failure state and output an explanation of what is wrong.
Apartments Export
During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.
You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this Apartments actor.
Scraped Apartments Properties
The structure of each item in Apartments listings looks like this:
###Property Output
1{ 2 "id": "26xc7jb", 3 "propertyName": "SoBe Apartment Rentals", 4 "url": "https://www.apartments.com/sobe-apartment-rentals-miami-beach-fl/26xc7jb", 5 "breadcrumbs": [ 6 "Home", 7 "Florida", 8 "Miami Beach", 9 "SoBe Apartment Rentals" 10 ], 11 "location": { 12 "fullAddress": "907-911 Euclid Ave Miami Beach FL 33139", 13 "state": "Florida", 14 "city": "Miami Beach", 15 "neighborhood": "Flamingo", 16 "postalCode": "33139", 17 "streedAddress": "907-911 Euclid Ave" 18 }, 19 "coordinates": { 20 "latitude": 25.77973, 21 "longitude": -80.13479 22 }, 23 "rating": null, 24 "isVerified": true, 25 "rent": { 26 "min": 1100, 27 "max": 1750 28 }, 29 "beds": "Studio - 2 bd", 30 "baths": "1 - 2 ba", 31 "sqft": "550 - 1,250 sq ft", 32 "transportation": [ 33 { 34 "name": "Adrienne Arsht Center", 35 "url": "https://www.apartments.com/transit/fl/miami/adrienne-arsht-center/3rrs8kg/", 36 "drive": "9 min", 37 "distance": "4.5 mi" 38 }, 39 { 40 "name": "Freedom Tower", 41 "url": "https://www.apartments.com/transit/fl/miami/freedom-tower/n4bgwwm/", 42 "drive": "10 min", 43 "distance": "4.8 mi" 44 } 45 ], 46 "poi": [ 47 { 48 "name": "Washington Ave Properties", 49 "url": "https://www.apartments.com/malls/fl/miami-beach/washington-ave-properties/94elct5/", 50 "walk": "5 min", 51 "distance": "0.3 mi" 52 }, 53 { 54 "name": "Park on Fifth’s", 55 "url": "https://www.apartments.com/malls/fl/miami-beach/park-on-fifths/ct6dvmf/", 56 "walk": "12 min", 57 "distance": "0.6 mi" 58 } 59 ], 60 "transitAndPOI": [ 61 { 62 "name": "Adrienne Arsht Center", 63 "url": "https://www.apartments.com/transit/fl/miami/adrienne-arsht-center/3rrs8kg/", 64 "drive": "9 min", 65 "distance": "4.5 mi" 66 }, 67 { 68 "name": "Freedom Tower", 69 "url": "https://www.apartments.com/transit/fl/miami/freedom-tower/n4bgwwm/", 70 "drive": "10 min", 71 "distance": "4.8 mi" 72 } 73 ], 74 "scores": { 75 "walkScore": 95, 76 "transitScore": 53 77 }, 78 "neighborhoodDescription": "Flamingo, also known as Flamingo/Lummus, is a vibrant neighborhood situated right in the heart of South Beach. Residents enjoy easy beach access along with plenty of exceptional restaurants, bars, museums, art galleries, shops, and the famous Art Deco Historic District. Flamingo is also adjacent to fantastic shopping on Lincoln Road.\n Aside from its many exciting metropolitan amenities, Flamingo offers two lush parks for residents and visitors alike to enjoy—Flamingo Park and Lummus Park. Flamingo’s prime location sits within countless additional attractions in the rest of Miami Beach as well as Downtown Miami, Brickell, and Wynwood. Getting around from Flamingo is simple with convenience to the MacArthur Causeway and I-195.\n \n \n Learn More About Flamingo", 79 "schools": { 80 "public": [ 81 { 82 "type": "Public Elementary & Middle School", 83 "name": "Fienberg/Fisher K-8 Center", 84 "grades": "PK-8", 85 "numberOfStudents": "869" 86 }, 87 { 88 "type": "Public Middle School", 89 "name": "Nautilus Middle School", 90 "grades": "6-8", 91 "numberOfStudents": "1,032" 92 }, 93 { 94 "type": "Public High School", 95 "name": "Miami Beach Senior High School", 96 "grades": "9-12", 97 "numberOfStudents": "2,340" 98 } 99 ], 100 "private": [ 101 { 102 "type": "Private Elementary, Middle & High School", 103 "name": "Landow Yeshiva Center", 104 "grades": "PK-12", 105 "numberOfStudents": "" 106 }, 107 { 108 "type": "Private Middle & High School", 109 "name": "Congregation Beth Medrash Levi", 110 "grades": "7-12", 111 "numberOfStudents": "90" 112 } 113 ], 114 "colleges": [ 115 { 116 "name": "AI Miami International University of Art and Design", 117 "drive": "AI Miami International University of Art and Design", 118 "distance": "4.6 mi" 119 }, 120 { 121 "name": "Miami Dade College", 122 "drive": "Miami Dade College", 123 "distance": "5.4 mi" 124 }, 125 { 126 "name": "University of Miami", 127 "drive": "University of Miami", 128 "distance": "11.5 mi" 129 } 130 ] 131 }, 132 "fees": [ 133 { 134 "title": "Pet Policies (Pets Negotiable)", 135 "policies": [ 136 { 137 "header": "Dogs Allowed", 138 "values": [ 139 { 140 "key": "Weight limit", 141 "value": "40 lb" 142 }, 143 { 144 "key": "Pet interview", 145 "value": "Not required" 146 }, 147 { 148 "key": "Spayed/Neutered", 149 "value": "Not required" 150 }, 151 { 152 "key": "Declawed", 153 "value": "Not required" 154 }, 155 { 156 "key": "One time Fee", 157 "value": "$250" 158 } 159 ] 160 }, 161 { 162 "header": "Cats Allowed", 163 "values": [ 164 { 165 "key": "Pet interview", 166 "value": "Not required" 167 }, 168 { 169 "key": "Spayed/Neutered", 170 "value": "Not required" 171 }, 172 { 173 "key": "Declawed", 174 "value": "Required" 175 }, 176 { 177 "key": "One time Fee", 178 "value": "$250" 179 } 180 ] 181 } 182 ] 183 }, 184 { 185 "title": "Fees", 186 "policies": [ 187 { 188 "header": "Parking", 189 "values": [ 190 { 191 "key": "Street", 192 "value": "" 193 } 194 ] 195 }, 196 { 197 "header": "Other Fees", 198 "values": [ 199 { 200 "key": "Application Fee", 201 "value": "$100" 202 } 203 ] 204 } 205 ] 206 }, 207 { 208 "title": "Details", 209 "policies": [ 210 { 211 "header": "Utilities Included", 212 "values": [ 213 { 214 "key": "Gas", 215 "value": "" 216 }, 217 { 218 "key": "Water", 219 "value": "" 220 }, 221 { 222 "key": "Trash Removal", 223 "value": "" 224 }, 225 { 226 "key": "Sewer", 227 "value": "" 228 } 229 ] 230 }, 231 { 232 "header": "Property Information", 233 "values": [ 234 { 235 "key": "Built in 1936", 236 "value": "" 237 }, 238 { 239 "key": "16 units/2 stories", 240 "value": "" 241 }, 242 { 243 "key": "Furnished", 244 "value": "" 245 } 246 ] 247 } 248 ] 249 } 250 ], 251 "description": "About SoBe Apartment Rentals\n Welcome to South Beach Rental Apartments, where you can find an affordable luxury apartment. Our leasing specialists will show you a variety of apartments in your price range. We have full service buildings with full service amenities. We accept pets. We will work with all credit situations. Let South Beach Rental Apartments find your new home and make your move a more pleasurable experience. *Prices Subject to Change Based on Availability*\n\n SoBe Apartment Rentals is an apartment located in Miami/Dade County, the 33139 ZIP Code, and the Miami-Dade attendance zone.", 252 "amenities": [ 253 { 254 "title": "Community Amenities", 255 "value": [ 256 "Pool", 257 "Fitness Center", 258 "Laundry Facilities", 259 "Furnished Units Available", 260 "Laundry Facilities", 261 "Maintenance on site", 262 "Furnished Units Available", 263 "Elevator", 264 "Fitness Center", 265 "Pool", 266 "Gated", 267 "Sundeck", 268 "Grill", 269 "Picnic Area" 270 ] 271 }, 272 { 273 "title": "Apartment Features", 274 "value": [ 275 "Air Conditioning", 276 "Dishwasher", 277 "High Speed Internet Access", 278 "Hardwood Floors", 279 "High Speed Internet Access", 280 "Air Conditioning", 281 "Heating", 282 "Ceiling Fans", 283 "Tub/Shower", 284 "Dishwasher", 285 "Kitchen", 286 "Range", 287 "Refrigerator", 288 "Hardwood Floors", 289 "Tile Floors", 290 "Den", 291 "Walk-In Closets", 292 "Balcony", 293 "Yard", 294 "Garden" 295 ] 296 } 297 ], 298 "contact": { 299 "phone": "+1-786-623-5446", 300 "logo": "https://images1.apartments.com/i2/MzLghRW57B06n9LwsCwa86cNW9bM-0BifS3NxF7_nxs/115/renters-paradise-realty-inc-logo.jpg", 301 "name": "" 302 }, 303 "models": [ 304 { 305 "modelName": "Studio", 306 "rentLabel": "$1,100 – $1,200", 307 "details": [ 308 "Studio", 309 "1 bath", 310 "550 sq ft", 311 "$1,200 deposit" 312 ], 313 "leaseOptions": "$1,200 deposit", 314 "availability": "1 Available unit", 315 "units": [ 316 { 317 "type": "Unit 10", 318 "price": "$1,100", 319 "sqft": "550", 320 "availability": "Soon" 321 } 322 ] 323 }, 324 { 325 "modelName": "1 Bed/1 Bath", 326 "rentLabel": "$1,200 – $1,300", 327 "details": [ 328 "1 bed", 329 "1 bath", 330 "685 – 875 sq ft", 331 "12 Month Lease", 332 "Available Soon" 333 ], 334 "leaseOptions": "12 Month Lease,\n\t\t\t\t\t\t\t\tAvailable Soon", 335 "availability": "", 336 "units": [] 337 }, 338 { 339 "modelName": "1 Bed/1 Bath", 340 "rentLabel": "$1,300", 341 "details": [ 342 "1 bed", 343 "1 bath", 344 "700 sq ft", 345 "$1,300 deposit" 346 ], 347 "leaseOptions": "$1,300 deposit", 348 "availability": "1 Available unit", 349 "units": [ 350 { 351 "type": "Unit 9", 352 "price": "$1,300", 353 "sqft": "700", 354 "availability": "Soon" 355 } 356 ] 357 }, 358 { 359 "modelName": "2 Bed/2 Bath", 360 "rentLabel": "$1,600 – $1,750", 361 "details": [ 362 "2 beds", 363 "2 baths", 364 "1,100 – 1,250 sq ft", 365 "12 Month Lease", 366 "Available Soon" 367 ], 368 "leaseOptions": "12 Month Lease,\n\t\t\t\t\t\t\t\tAvailable Soon", 369 "availability": "", 370 "units": [] 371 } 372 ], 373 "scrapedAt": "2021-11-27T12:04:06.752Z", 374 "photos": [ 375 "https://images1.apartments.com/i2/cS0Cu8ytY9zn8aI0V3DcsPiSca-7KgPPd-tOowXs5Uw/111/sobe-apartment-rentals-miami-beach-fl-primary-photo.jpg?p=1", 376 "https://images1.apartments.com/m2/ogrZ5C9tUeyJJw1Rg_NLfNm3O6sorfEMC1OyLLDgLko/H330W495/sobe-apartment-rentals-miami-beach-fl-map-image-of-the-property.jpg?p=1", 377 "https://images1.apartments.com/i2/xhlEsuSaTc0Oc7ZA8jNyLrpMwmkgkgE3jW9WzfJJ0bM/117/sobe-apartment-rentals-miami-beach-fl-building.jpg?p=1", 378 "https://images1.apartments.com/i2/PGbG-MlQgqD0TytUnv7fuU0nlSDJJqx8_-MoePj0CcA/117/sobe-apartment-rentals-miami-beach-fl-bedroom.jpg?p=1", 379 "https://images1.apartments.com/i2/DG2gCa0vZy9JTfjuvPmv23hFqCIVh-iEYiQyd5vxpx8/117/sobe-apartment-rentals-miami-beach-fl-bedroom.jpg?p=1" 380 ] 381}
Contact
Please visit us through epctex.com to see all the products that are available for you. If you are looking for any custom integration or so, please reach out to us through the chat box in epctex.com. In need of support? devops@epctex.com is at your service.
Actor Metrics
31 monthly users
-
7 stars
>99% runs succeeded
14 hours response time
Created in Mar 2021
Modified 9 hours ago