Apartments.com scraper
The Zenrows Apartments.com scraper turns a city search URL into structured JSON: listing name, listing ID, street address, ZIP code, coordinates, lowest and highest rent, amenities, move-in specials, lease term and property management company, plus the total rental count and average one bedroom rent. Fetch in Adaptive Stealth Mode opens the page and Extract returns the fields. Run it from the API, the CLI or an AI agent.
- Site
apartments.com- Returns
- Rent ranges, amenities, specials and property managers
- Updated
{
"search_context": {
"canonical_url": "https://www.apartments.com/austin-tx/",
"location_name": "Austin",
"location_state": "TX",
"page_number": 1,
"results_shown": 40,
"total_pages": 18,
"total_rental_count": 28067
},
"market_snapshot": {
"average_one_bedroom_rent": 1416,
"market_trends_url": "https://www.apartments.com/rent-market-trends/austin-tx/",
"year_over_year_change_pct": 2
},
"listings": [
{
"listing_id": "40n18nj",
"name": "Edison Austin",
"street_address": "4711 E Riverside Dr",
"city": "Austin",
"state": "TX",
"postal_code": "78741",
"latitude": 30.23105,
"longitude": -97.71876,
"low_price": 1541,
"high_price": 3141,
"lease_term": "12 Month Lease",
"special_offer": "Specials",
"amenities": ["Pets Allowed, Fitness Center, Pool, Gated"],
"has_video": true,
"has_virtual_tour": true,
"management_company_name": "The Connor Group",
"listing_url": "https://www.apartments.com/edison-austin-austin-tx/40n18nj/"
}
]
}{
"url": "https://www.apartments.com/austin-tx/",
"mode": "auto",
"extract": "auto",
"proxy_country": "us"
}Request and output of a live call to the Apartments.com search page for Austin, TX on Oct 29, 2026, trimmed to one of the 40 listings on the page. A field is returned when the page shows it.
What data can you scrape from Apartments.com?
A city search on Apartments.com is a priced inventory of a rental market: every community on the page with its rent range, location, amenities and current move-in deal, plus a summary of the whole market.
These are the fields teams use most, with the path where each lives in the JSON.
| Field | What it holds | Example |
|---|---|---|
listings[]. |
The Apartments.com ID at the end of every listing URL, the key to join runs | 40n18nj |
listings[]. |
The community name | Edison Austin |
listings[]., listings[]., listings[]. |
The street address | 4711 E Riverside Dr, Austin, TX |
listings[]. |
ZIP code | 78741 |
listings[]., listings[]. |
Coordinates, ready for a map or a radius query | 30.23105, -97.71876 |
listings[]. |
The lowest monthly rent shown for the community, in US dollars | 1541 |
listings[]. |
The highest monthly rent shown | 3141 |
listings[]. |
The move-in concession on the card | 2 Months Free |
listings[]. |
Housing type flags such as student or income restricted | incomeRestriction |
listings[]. |
Lease length, when the card states it | 12 Month Lease |
listings[]. |
The amenities shown on the card | Pets Allowed, Fitness Center, Pool, Gated |
listings[]. |
The property management company | Greystar |
listings[]., listings[]. |
Whether the listing has a video or a 3D tour | true |
listings[]. |
The main photo of the community | https://images1.apartments.com/i2/… |
search_ |
Rentals Apartments.com counts for the location | 28067 |
search_ |
Result pages for this search | 18 |
market_ |
Average one bedroom rent in the city | 1416 |
market_ |
Rent change against last year, in percent | 2 |
How to scrape Apartments.com with Zenrows
- Create a free Zenrows account and copy your API key from the dashboard.
- Pick the search URL. City searches follow
/city-state/, such as/austin-tx/or/denver-co/. Add the page number for the next pages:/austin-tx/2/. - Send it with the default configuration: Adaptive Stealth Mode to open the page, Extract to return the fields, and a US location, since Apartments.com is a US marketplace.
- Read
parsedfrom the response.listingsholds one record per community,search_contexttells you how many pages the search has, andmarket_snapshotgives the city averages. - Run every page and every city in Batch, with the city and page number as the ID of each task.
# pip install requests
import json
import requests
params = {
"apikey": "YOUR_ZENROWS_API_KEY",
"url": "https://www.apartments.com/austin-tx/",
"mode": "auto", # Adaptive Stealth Mode
"extract": "auto", # structured JSON
"proxy_country": "us", # a US visitor
}
response = requests.get("https://api.zenrows.com/v1/", params=params, timeout=180)
response.raise_for_status()
data = response.json()["parsed"]
context = data.get("search_context") or {}
print(context.get("location_name"), context.get("total_rental_count"), "rentals")
for listing in data.get("listings", []):
print(listing["name"], listing.get("low_price"), listing.get("high_price"), listing.get("special_offer"))// Node 18+ (built-in fetch)
const params = new URLSearchParams({
apikey: "YOUR_ZENROWS_API_KEY",
url: "https://www.apartments.com/austin-tx/",
mode: "auto",
extract: "auto",
proxy_country: "us",
});
const response = await fetch(`https://api.zenrows.com/v1/?${params}`, {
signal: AbortSignal.timeout(180_000),
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const { parsed } = await response.json();
const rows = (parsed.listings ?? []).map((l) => ({
id: l.listing_id,
name: l.name,
zip: l.postal_code,
rent: `${l.low_price}-${l.high_price}`,
special: l.special_offer ?? "",
}));
console.table(rows);
console.log("Average 1BR:", parsed.market_snapshot?.average_one_bedroom_rent);curl "https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fwww.apartments.com%2Faustin-tx%2F&mode=auto&extract=auto&proxy_country=us"
# Only the fields you need
curl "https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fwww.apartments.com%2Faustin-tx%2F&mode=auto&extract=auto&proxy_country=us&extract_fields=listings.listing_id%2Clistings.name%2Clistings.low_price%2Clistings.high_price%2Clistings.special_offer%2Cmarket_snapshot.average_one_bedroom_rent"# pip install zenrows
from zenrows import ZenRowsClient
client = ZenRowsClient("YOUR_ZENROWS_API_KEY")
response = client.get(
"https://www.apartments.com/austin-tx/2/",
params={"mode": "auto", "extract": "auto", "proxy_country": "us"},
)
for listing in response.json()["parsed"].get("listings", []):
print(listing["listing_id"], listing["postal_code"], listing.get("management_company_name"))Input
The scraper takes one Apartments.com URL per request, plus the options below.
The same parameters go into every task of a Batch job, so the input for a whole metro is a list of search page URLs with these settings.
| Parameter | Type | Default | Description |
|---|---|---|---|
url |
string | required | An Apartments.com page, such as a city search (/austin-tx/) or one of its numbered pages (/austin-tx/2/) |
mode |
string | auto |
Adaptive Stealth Mode: starts with the lightest setup and adds rendering and protected-site handling only when the page needs them |
extract |
string | auto |
Returns the page's fields as JSON in parsed, next to the raw html |
extract_ |
string | all fields | Comma-separated paths to keep, such as listings.name,listings.low_price |
proxy_ |
string | any | Two-letter country code. Use us so every request comes from the market Apartments.com serves |
wait_ |
string | none | A CSS selector to wait for before the page is read |
session_ |
integer | none | Reuse the same session across several requests, up to 10 minutes |
{
"type": "regular",
"status": "closed",
"zenrows_params": {
"mode": "auto",
"extract": "auto",
"proxy_country": "us"
},
"tasks": [
{ "url": "https://www.apartments.com/austin-tx/", "external_id": "austin-tx-p1" },
{ "url": "https://www.apartments.com/austin-tx/2/", "external_id": "austin-tx-p2" },
{ "url": "https://www.apartments.com/denver-co/", "external_id": "denver-co-p1" }
]
}
Output
Every response is JSON with two keys: html, the page as Apartments.com served it, and parsed, the structured record. A search page returns three groups: search_context for the search itself, market_snapshot for the city averages, and listings with one object per community card. The sample below is the trimmed output of a live request, showing a student community, a community with no move-in deal and an income restricted one.
Each listing is a flat object, so pd.DataFrame(data["listings"]) gives you one row per community with rent, location and manager as columns. Split amenities[0] on the comma to get one amenity per column. For an LLM, ask for the page as Markdown instead of JSON.
{
"search_context": {
"canonical_url": "https://www.apartments.com/austin-tx/",
"location_name": "Austin",
"location_state": "TX",
"page_number": 1,
"results_shown": 40,
"total_pages": 18,
"total_rental_count": 28067
},
"market_snapshot": {
"average_one_bedroom_rent": 1416,
"market_trends_url": "https://www.apartments.com/rent-market-trends/austin-tx/",
"year_over_year_change_pct": 2
},
"listings": [
{
"amenities": ["Pets Allowed, Fitness Center, Pool, Walk-In Closets, Clubhouse, Stainless Steel Appliances, Business Center"],
"city": "Austin",
"has_video": null,
"has_virtual_tour": true,
"high_price": 2518,
"latitude": 30.40643,
"lease_term": "12 Month Lease",
"listing_id": "4v6169l",
"listing_url": "https://www.apartments.com/ellwood-at-lake-travis-austin-tx/4v6169l/",
"longitude": -97.85038,
"low_price": 1011,
"management_company_name": null,
"name": "Ellwood at Lake Travis",
"postal_code": "78726",
"primary_photo_url": "https://images1.apartments.com/i2/z--BqPCc5e509sI1E-oKKnxTKwOZPBgXoDcAGt4sxYg/118/ellwood-at-lake-travis-austin-tx-building-photo.jpg?p=1",
"special_offer": "2 Months Free",
"specialty": "student",
"state": "TX",
"street_address": "7655 N Ranch Road 620"
},
{
"amenities": ["Pets Allowed, Fitness Center, Pool, In Unit Washer & Dryer, Controlled Access"],
"city": "Austin",
"has_video": null,
"has_virtual_tour": null,
"high_price": 3900,
"latitude": 30.32029,
"lease_term": null,
"listing_id": "1qzcnm7",
"listing_url": "https://www.apartments.com/52-ten-austin-tx/1qzcnm7/",
"longitude": -97.73053,
"low_price": 1500,
"management_company_logo_url": "https://images1.apartments.com/i2/ZdH3NLoVH-KbVXhPi3tBZC8J4iC9eIl9k7n1dpbx0yA/110/embrey-logo.png",
"management_company_name": "Embrey",
"name": "52 TEN",
"postal_code": "78751",
"special_offer": null,
"specialty": null,
"state": "TX",
"street_address": "5210 N Lamar Blvd"
},
{
"amenities": ["Pets Allowed, Fitness Center, Pool, Business Center, EV Charging, Tennis Court, Rooftop Deck"],
"city": "Austin",
"has_video": true,
"has_virtual_tour": true,
"high_price": 3074,
"latitude": 30.37268,
"listing_id": "6vgsdfr",
"listing_url": "https://www.apartments.com/the-amber-austin-tx/6vgsdfr/",
"longitude": -97.62816,
"low_price": 1362,
"management_company_name": "Greystar",
"name": "The Amber",
"postal_code": "78754",
"special_offer": "2 Months Free",
"specialty": "incomeRestriction",
"state": "TX",
"street_address": "3901 E Parmer Ln"
}
]
}
Connect the MCP server (Claude Code)
claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp
MCP config (Cursor, Claude Desktop, Windsurf)
{
"mcpServers": {
"zenrows": {
"command": "npx",
"args": ["-y", "@zenrows/mcp"],
"env": { "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY" }
}
}
}
Or run the CLI
npx -y @zenrows/cli init
zenrows extract "https://www.apartments.com/austin-tx/" --proxy-country us
Then ask your agent
Use Zenrows to read the first three pages of Apartments.com results
for Austin, TX (https://www.apartments.com/austin-tx/, then /2/ and /3/).
Return a table of every community with its ZIP code, lowest and highest
rent, move-in special and management company, sorted by lowest rent,
and tell me which management companies list the most communities.
Scrape Apartments.com from your coding agent
Claude Code, Cursor, Codex and any MCP client can scrape Apartments.com from a prompt.
The agent sends the same Fetch and Extract request and reads the same listings array, so "which Austin communities under $1,200 offer two months free" is one request and a filter. Connect the Zenrows MCP server once, or install the CLI and let the agent run it in the terminal.
Scrape Apartments.com at scale with Batch and Crawl
Batch runs a list of Apartments.com URLs as one job, in parallel, with your own ID on each result. Read search_context.total_pages from the first page of each city, build the numbered page URLs, and send every page of every city you track as one job. Store listing_id from each card and the next run joins back to the last one, so you see rent and concession changes per community.
Crawl finds the listing URLs for you. Start it on a city search, keep links that end in the city slug and a listing ID, such as -austin-tx/, and it returns the community pages it reaches. Send the list to Batch, or keep it as the inventory of a market.
Scheduled jobs run the same Batch job on a timetable, on Zenrows' side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can tell your app when a run finishes, and you can pause or resume the schedule at any time, with no cron server to keep alive.
curl -X POST "https://async.api.zenrows.com/v1/jobs" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "regular",
"status": "closed",
"zenrows_params": { "mode": "auto", "extract": "auto", "proxy_country": "us" },
"tasks": [
{ "url": "https://www.apartments.com/austin-tx/", "external_id": "austin-tx-p1" },
{ "url": "https://www.apartments.com/austin-tx/2/", "external_id": "austin-tx-p2" },
{ "url": "https://www.apartments.com/austin-tx/3/", "external_id": "austin-tx-p3" }
]
}'
# Read the results when the job finishes
curl "https://async.api.zenrows.com/v1/jobs/JOB_ID/results?status=successful" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY"# searches.jsonl: one {"url": "...", "external_id": "...", "extract": "auto"} per line
zenrows batch create searches.jsonl --proxy-country us --wait
zenrows batch results <job-id> --out apartments-austin.jsonlcurl -X POST "https://api.zenrows.com/v1/crawls" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.apartments.com/austin-tx/",
"depth": 2,
"max_pages": 300,
"include_patterns": ["-austin-tx/"]
}'# Runs every day on Zenrows' side; each run keeps its own results
curl -X POST "https://async.api.zenrows.com/v1/jobs" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "scheduled",
"status": "closed",
"schedule": {
"rate": {
"every": 1,
"unit": "day"
}
},
"zenrows_params": {
"mode": "auto",
"extract": "auto",
"proxy_country": "us"
},
"tasks": [
{
"url": "https://www.apartments.com/austin-tx/",
"external_id": "apartments"
}
]
}'
# Or at set times: "schedule": { "calendar": { "times_of_day": ["09:00"],
# "cadence": { "weekly": { "days": ["mon", "thu"] } } }, "timezone": "Europe/Madrid" }What teams do with Apartments.com data
| Use case | Data they pull | Who runs it |
|---|---|---|
| Rent comps and pricing | Lowest and highest rent per community, ZIP code and coordinates, run weekly | Revenue managers at multifamily operators |
| Concession tracking | Move-in specials such as "2 Months Free" per community, over time | Asset managers and leasing teams |
| Market research and underwriting | Total rental count, average one bedroom rent and year over year change per city | Multifamily investors, lenders and analysts |
| Competitor and manager mapping | Management company per community, counted by ZIP or city | Property management business development teams |
| Affordable and student housing supply | Income restricted and student flags, with rent and location | Housing researchers and student housing operators |
| Rental search and relocation tools | The full listing record with photo, amenities, tours and link | Proptech and relocation teams |
| AI rental assistants and RAG | The listings array, or the search page as Markdown | AI and data teams |
Tips for scraping Apartments.com
- Keep
listing_idas your key. Every listing URL ends in a short ID such as/40n18nj/. Use it as the join key across runs; the name part of the URL can change. - Walk the pages with a number. Page two of a city search is
/austin-tx/2/. Readsearch_context.total_pagesfrom page one and request each page up to that number. - Search smaller areas for full coverage. A large city counts more rentals than its result pages list. Run searches for its ZIP codes or neighborhoods as well and deduplicate on
listing_id. - Treat the rent fields as a range.
low_priceandhigh_pricespan the units the community shows, so compare them across communities of a similar size. - Store
special_offerwith a date. Concessions change week to week, and a time series of them is often more telling than the rent itself. - Request from the US. Apartments.com serves the US market, so set a US location on every request and in the Batch job settings.
- Read optional fields defensively. A card without a lease term, video or management company returns
nullfor that field, so use.get()in Python or??in JavaScript.
More Apartments.com and real estate scrapers
-
apartments.com
Apartments.com search scraper
Properties on any Apartments.com search with rent range, beds and address.
-
apartments.com
Apartments.com reviews scraper
Resident review text, star ratings and dates for any Apartments.com property.
-
zillow.com
Zillow scraper
Homes for sale and rent with prices, Zestimates, beds, baths, square footage and agents.
-
idealista.com
Idealista scraper
Homes for sale and rent in Spain, Portugal and Italy with prices, size and rooms.
-
redfin.com
Redfin scraper
Homes for sale with prices, Redfin Estimates, beds, baths and sale history.
-
zoopla.co.uk
Zoopla scraper
UK homes for sale and rent with prices, beds, baths, property type and agents.
-
funda.nl
Funda scraper
Dutch homes for sale and rent with asking prices, living area, energy labels and agents.
-
realtor.com
Realtor.com scraper
US home listings with prices, beds, baths, square footage, price history and agents.
-
immobilienscout24.de
ImmoScout24 scraper
German homes and apartments for sale and rent with prices, size, rooms and providers.
Frequently asked questions
-
Collecting publicly available rental data from Apartments.com, such as rents, addresses, amenities and specials shown to every visitor, is common practice for market research and pricing. Some pages can include personal data, which is protected by laws such as the CCPA and the GDPR, so collect only what you have a legitimate reason to use. Check the Apartments.com terms of use for your case and ask your lawyer if you are unsure.
-
Apartments.com does not offer a public API for searching or reading its listings. Teams that need rents and specials across a market request the public search pages with an Apartments.com scraper API instead.
-
City search pages (
/austin-tx/) and their numbered pages (/austin-tx/2/) return the search context, the market snapshot and the listings shown in this page's samples. Send any Apartments.com URL as it appears in your browser and read the fields inparsed. -
Yes. Every listing on a search page carries
low_priceandhigh_price, the lowest and highest monthly rent the community shows, plus the move-in special. The search also returns the city's average one bedroom rent and its change from last year. -
Request every page of the city search, using
search_context.total_pagesfrom page one, then add searches for the city's ZIP codes and deduplicate onlisting_id. A Batch job runs all of those pages at once. -
Send a GET request to
https://api.zenrows.com/v1/with your API key, the Apartments.com URL, Adaptive Stealth Mode and Extract turned on, and a US location, as in the Python example above.response.json()["parsed"]["listings"]is a list of dictionaries, one per community. Thezenrowspackage on PyPI wraps the same request. -
Send one URL per request, or a whole list as a Batch job that runs the URLs in parallel and keeps your ID on each result. One Batch job accepts more than 10,000 URLs, sent inline or as a CSV file, which covers every search page of many metros.
-
Yes. Connect the Zenrows MCP server to Claude, Cursor, Codex or any MCP client, or give your agent the Zenrows CLI. Ask about a city's rents or specials in plain language and the agent calls Fetch and Extract for you.
-
Yes. Create a scheduled Batch job with your Apartments.com URLs and the same settings as a single request, and Zenrows runs it on its side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can notify your app when a run finishes, and the schedule can be paused or resumed at any time.
-
Zenrows works with n8n, Make, Zapier, Clay, Dify, LangChain, LlamaIndex, CrewAI and Mastra, plus the Python, Node.js and Go SDKs and any HTTP client. Send results to Google Sheets, a database or a data warehouse from the workflow tool you already use. See the integrations page for the full list.
-
JSON by default, with the structured record in
parsedand the original page inhtml. You can also ask for the page as Markdown or plain text, which is what most LLM and RAG pipelines want.