Skip to content

Repository files navigation

🚀 Apartments.com Scraper

Apartments.com Scraper is a free and open-source scraper that gets you unlimited detailed Apartments.com data for free.

✨ What Can I Get?

  • 🏢 Full details on 1.5M+ available apartments in the US & Canada — rent & total monthly price, every floor plan & unit, fees, pet policy, parking, amenities, schools & walk scores
  • 🔎 Search any city, ZIP, neighborhood or university with 17 filters — price, beds, baths, pets, 34 amenities, move-in date & lease length, or every listing of a management company (Greystar: 3,500+)
  • ⭐ Renter reviews & ratings — star rating, the 5-star breakdown, title, text, author, date, verified renters & the manager's replies
  • 📞 Leasing contacts & photos — office phone, website, hours, management company & agent, plus every photo with its caption

🏢 Example: A Full Apartments.com Listing

{
  "id": "qrrgncw",
  "link": "https://www.apartments.com/revela-mountain-view-ca/qrrgncw/",
  "name": "Revela",
  "property_type": "apartment_community",
  "address": { "street": "200 Infinity Way", "city": "Mountain View", "state": "CA", "postal_code": "94043", "neighborhood": "Whisman Station" },
  "phone": "(669) 273-1673",
  "website": "http://www.liverevela.com/",
  "rent_min": 3786,
  "rent_max": 7270,
  "total_monthly_price_min": 3820,
  "beds_min": 0,
  "beds_max": 3,
  "sqft_min": 514,
  "sqft_max": 1386,
  "lease_terms": "7 - 23 Month Leases",
  "renter_rating": 4.5,
  "reviews_count": 35,
  "scores": { "walk": { "score": 20, "label": "Somewhat Walkable" }, "transit": { "score": 50, "label": "Some Public Transit" } },
  "year_built": 2019,
  "units_count": 396,
  "management_company": { "id": "dv0gtnl", "name": "Greystar", "link": "https://www.apartments.com/pmc/greystar/dv0gtnl/" },
  "floor_plans": [{ "name": "Revela Floorplan Studio 0-1A", "beds": 0, "baths": 1, "rent_min": 3786, "sqft_min": 514, "availability": "available" }],
  "fees": { "one_time": [{ "name": "Application Fee", "amount": 40, "due_at": "application" }] },
  "schools": [{ "name": "Montclaire Elementary School", "type": "public", "grades": "K-5", "rating": 9 }]
}

Trimmed for readability.

🚀 Unlimited Free Apartments.com Data — Get It in 60 Seconds

1️⃣ Clone and install:

git clone https://github.com/omkarcloud/apartments-com-scraper
cd apartments-com-scraper
python -m pip install -r requirements.txt

2️⃣ Start the API:

python run.py

No browser and no proxy needed: Apartments.com's pages sit behind Akamai, and Apartments.com Scraper reads the JSON calls those pages make, which answer plain HTTP from your own connection. Want a proxy anyway? Set APARTMENTS_COM_PROXY=http://user:pass@host:port.

3️⃣ Get your first data:

curl "http://localhost:8000/listings/details?listing_id=qrrgncw"
{
  "id": "qrrgncw",
  "link": "https://www.apartments.com/revela-mountain-view-ca/qrrgncw/",
  "name": "Revela",
  "property_type": "apartment_community",
  "address": { "street": "200 Infinity Way", "city": "Mountain View", "state": "CA", "postal_code": "94043", "county": "Santa Clara" },
  "phone": "(669) 273-1673",
  "website": "http://www.liverevela.com/",
  "rent_min": 3786,
  "rent_max": 7270,
  "total_monthly_price_min": 3820,
  "total_monthly_price_max": 7304,
  "beds_min": 0,
  "beds_max": 3,
  "lease_terms": "7 - 23 Month Leases",
  "renter_rating": 4.5,
  "reviews_count": 35,
  "year_built": 2019,
  "units_count": 396,
  "management_company": { "id": "dv0gtnl", "name": "Greystar", "link": "https://www.apartments.com/pmc/greystar/dv0gtnl/" },
  "floor_plans_count": 16
}

All 4 endpoints are now live at http://localhost:8000.

📚 Endpoints

4 endpoints cover everything you need.

Endpoint Path Returns
Listing Details /listings/details A rental in full: rents, floor plans, fees, policies, schools (website contacts: hosted API only)
Search Listings /listings/search Rentals by city, ZIP, company or map box, 40 per page
Listing Reviews /listings/reviews Renter reviews with ratings and the manager's replies, 50 per page
Listing Photos /listings/photos Every photo of a listing with its caption

🔍 Exploring Parameters

The same API is published on RapidAPI, and its playground is the easiest place to try parameters and see raw responses. Once a request looks right, run it locally for unlimited free data.

  1. Subscribe to the free plan — 1,000 calls/month, no credit card.
  2. Try the endpoints in the playground — every param is pre-filled, so you see real data in one click.
  3. Copy the generated code and replace https://best-apartments-com-scraper-free-1000-calls.p.rapidapi.com with http://localhost:8000/listings (the RapidAPI paths start after /listings: /details there is /listings/details here). It will now run against your local API.
import requests

# generated by the playground, host swapped for the local API
response = requests.get(
    "http://localhost:8000/listings/details",
    params={"listing_id": "qrrgncw"},
)
print(response.json())

💬 Have Questions? We Have Answers.

You're a developer — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

Message Us on WhatsApp about Apartments.com Scraper

Ask Us by Email about Apartments.com Scraper

⚡ Popular Scrapers by Omkar Cloud

⭐ Love It? Star It ⭐!

Star the repo ⭐ and become my star hero!

It's just 1 click, but it means the world to me.

Star us on GitHub