Homes.com Scraper

  • epctex/homes-com-scraper
  • Modified
  • Users 8
  • Runs 361
  • Created by Author's avatarepctex

Retrieve all real estate property information from Homes.com. Scrape every property opportunity with prices, plans, images, tax history, amenities, sizes, images, addresses, contact information, real estate agents, and many more attributes in seconds. Search anything without any limits! Super fast!

Free trial for 3 days

Then $30.00/month

No credit card required now

Homes.com Scraper

Free trial for 3 days

Then $30.00/month

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.

from apify_client import ApifyClient

# Initialize the ApifyClient with your API token
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [
        "https://www.homes.com/property/4414-s-frontenac-st-seattle-wa/89p4n9gbb0k64/",
        "https://www.homes.com/real-estate-agents/devin-haub/5yk0pjp/",
        "https://www.homes.com/los-angeles-ca/",
        "https://www.homes.com/los-angeles-ca/homes-for-rent/",
        "https://www.homes.com/los-angeles-ca/sold/",
    ],
    "maxItems": 20,
    "endPage": 1,
    "extendOutputFunction": "($) => { return {} }",
    "customMapFunction": "(object) => { return {...object} }",
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("epctex/homes-com-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)