Skip to content
ListingrailGet an API key

How to scrape Realtor.com listings in Python

By the end of this guide you have a CSV of Denver homes for sale under $600,000 with three or more bedrooms, from one script you can run again tomorrow. It starts with what a hand-written Realtor.com scraper runs into, then takes the shorter route: an API that does the scraping and returns JSON. Everything below was run on 18 November 2026; the output table is what it returned.

Why scraping Realtor.com yourself breaks

  • Realtor.com, run by Move, Inc. (News Corp), has no public API for searching or reading its listings: realtor.com/developers answers 404.
  • What Realtor.com publishes for reuse is market statistics: free CSV files of housing inventory and market hotness, from national level down to ZIP code. They hold no single homes, asking prices, agents or photos.
  • Its terms of service forbid scraping and automated collection of its content without Move's written permission.
  • Visitors from Europe get a "Not available in your region" page, so a request from a European address gets that page and no listings.

None of that is impossible, but each point is code you then maintain. The rest of this guide uses Listingrail, which does the reading and hands back clean JSON. The Realtor.com API page has the official options with sources.

1. Get a key

One request with your email returns a key with 250 free listings. It is shown once, so keep it in an environment variable.

curl -X POST https://listingrail.com/v1/signup \
  -H "content-type: application/json" \
  -d '{"email": "you@example.com"}'

export LISTINGRAIL_KEY=re_...

2. Search and save to CSV

Install requests (pip install requests), then run:

import csv
import os

import requests

r = requests.post(
    "https://listingrail.com/v1/listings/search",
    headers={"Authorization": f"Bearer {os.environ['LISTINGRAIL_KEY']}"},
    json={"source":"realtor","location":"Denver, CO","maxPrice":600000,"minBeds":3,"limit":50},
    timeout=300,
)
r.raise_for_status()
listings = r.json()["listings"]

fields = ["price", "currency", "beds", "baths", "area", "address", "url"]
with open("realtor-denver-co.csv", "w", newline="", encoding="utf-8") as f:
    writer = csv.writer(f)
    writer.writerow(fields)
    for home in listings:
        writer.writerow([home[k] for k in fields])

print(len(listings), "listings saved to realtor-denver-co.csv")

The request body, on its own:

{
  "source": "realtor",
  "location": "Denver, CO",
  "maxPrice": 600000,
  "minBeds": 3,
  "limit": 50
}

Each listing returned costs one credit. A search that finds nothing, or fails at Realtor.com, costs nothing. A request can take up to a minute or two, because Realtor.com is read at that moment.

3. What comes back

The first three rows of the run on 18 November 2026:

AddressPriceSizeAgent
1801 W 92nd Ave Lot 106, Denver, CO 8026048,000 USD3 bd · 2 ba · 1056 sq ftKeller Williams Advantage Realty Llc
1555 California St Apt 412, Denver, CO 80202439,000 USD3 bd · 2 ba · 1766 sq ftNext Real Estate
20585 E 47th Ave, Denver, CO 80249255,000 USD3 bd · 2 ba · 1012 sq ftGollas And Company Inc

Every listing has the same keys on all 22 portals, so the code for Realtor.com reads the others too. Fields Realtor.com does not show come back as null, and the portal's own record sits in raw. With pandas:

import pandas as pd

df = pd.DataFrame(listings)
df["agent"] = df["agent"].str.get("company")
print(df[["price", "beds", "baths", "area", "address", "agent"]].head())

4. Get new listings and price cuts every day

Running the script on a schedule works, but then you compare the files yourself. A monitor stores the search, checks it once a day, and sends only what changed: new listings and price cuts. The free key holds one monitor.

requests.post(
    "https://listingrail.com/v1/monitors",
    headers={"Authorization": f"Bearer {os.environ['LISTINGRAIL_KEY']}"},
    json={
        "source": "realtor",
        "location": "Denver, CO",
        "filters": {"maxPrice":600000, "minBeds":3},
        "webhook_url": "https://example.com/new-listings",
    },
    timeout=30,
)

Changes can also be read with GET /v1/monitors/MONITOR_ID/changes or downloaded as CSV. Plans and limits are on the monitors page.

Realtor.com quirks worth knowing

  • "realtor" covers homes for sale and rentals. Without "type" you get homes for sale; add "type": "rent" for rentals.
  • location takes a city and state, a ZIP code, a county or an address, such as "Austin, TX" or "78704". minPrice, maxPrice and minBeds are accepted.
  • In the five rows read on 18 November 2026 these fields were filled on every row: beds, baths, area in square feet, postal_code, coordinates, listed_at, photos, and agent with name, phone and company (the brokerage).
  • A price ceiling brings in more than houses: the first row in the table above, at $48,000, is a home on a numbered lot. Filter on property_type in your own code if you want houses only.
  • One listing can be read in full from its link with POST /v1/listings/details (source "realtor" and the listing's url).

Questions

Should I write my own Realtor.com scraper or use an API?

A scraper of your own costs nothing but your time and can work for a few pages from a home connection. For repeated or scheduled runs from a server you take on the points listed under "Why scraping Realtor.com yourself breaks". An API moves that work to someone else: here one request returns clean JSON and you pay per listing, with 250 free listings a month.

Is there an official Realtor.com API?

Not a public one for listings. Realtor.com publishes market statistics as free CSV files (inventory and market hotness by state, metro, county and ZIP code), not single listings.

Can I get Realtor.com rentals too?

Yes. The same source takes "type": "rent"; without it the search returns homes for sale.

How many Realtor.com listings can I get per request?

Up to 500 per request. Each listing returned costs one credit; a search that finds nothing costs nothing.

Get 250 free listingsAPI docsOther guides