AI Realestateagent avatar
AI Realestateagent

Deprecated

Pricing

Pay per event

Go to Store
AI Realestateagent

AI Realestateagent

Deprecated

Developed by

Balaji Seetharaman

Balaji Seetharaman

Maintained by Community

AI Real Estate Agent is an Apify Actor that searches for real estate listings on Zillow based on user queries. It extracts ZIP codes using an LLM (GPT-3.5-Turbo) and fetches property listings using the Zillow Scraper.

0.0 (0)

Pricing

Pay per event

0

Total users

7

Monthly users

3

Runs succeeded

0%

Last modified

2 months ago

🏑 AI Real Estate Agent

πŸš€ AI Real Estate Agent is an Apify Actor that searches for real estate listings on Zillow based on user queries.
It extracts ZIP codes using an LLM (GPT-3.5-Turbo) and fetches property listings using the Zillow Scraper.


πŸ“Œ Features

βœ” Natural Language Search – Users can input queries like:
"Find a 2-bedroom apartment in San Francisco, CA, with a rent between $2000 and $4000."
βœ” LLM-Powered ZIP Code Extraction – Extracts ZIP codes directly from the city/state.
βœ” Zillow Scraper Integration – Fetches listings for sale or rent.
βœ” Custom Search Filters – Supports price range, number of bedrooms, and amenities.
βœ” Structured Output – Provides a JSON response with property details.


πŸš€ How It Works

1️⃣ User Input: Natural language real estate query.
2️⃣ Extract Search Parameters: LLM extracts city, state, price, and amenities.
3️⃣ Get ZIP Codes: LLM finds relevant ZIP codes for the location.
4️⃣ Scrape Zillow Listings: Apify Zillow scraper retrieves matching properties.
5️⃣ Return Structured Results: JSON response with listings.


πŸ“¦ Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/yourusername/ai-realestateagent.git
cd ai-realestateagent

2️⃣ Create a Virtual Environment (Optional)

python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate

3️⃣ Install Dependencies

$pip install -r requirements.txt

4️⃣ Set API Keys

Create a .env file and add your API keys:

OPENAI_API_KEY=your-openai-key

🎯 How to Run Locally

$apify run --input-file=input.json

πŸ“œ Example input.json

{
"query": "Find a 2-bedroom apartment in San Francisco, CA, with a rent between $2000 and $4000."
}

πŸ›  Project Structure

ai-realestateagent/ │── src/ β”‚ β”œβ”€β”€ main.py # Apify Actor entry point β”‚ β”œβ”€β”€ tools.py # LLM-powered search + Zillow scraper integration β”‚ β”œβ”€β”€ models.py # Pydantic models for structured responses │── .venv/ # Virtual environment (optional) │── requirements.txt # Python dependencies │── README.md # Project documentation │── input.json # Example input format │── .env # API keys (gitignore this file)

Sample Report

🏑 AI Real Estate Search Report

πŸ“ Search Details

  • Query: Searching for a 2-bedroom apartment in San Francisco, CA, with a monthly rent between $2000 and $4000, and preferably featuring amenities such as parking and a gym.

πŸ” Results

🏠 NEMA

  • πŸ“ Address: 8 10th St, San Francisco, CA
  • πŸ’° Price: N/A
  • πŸ› Bedrooms: N/A
  • πŸ› Bathrooms: N/A
  • πŸ“ Area: N/A sq ft
  • πŸ“… Days on Zillow: N/A
  • πŸ–Ό Image: Listing Image

🏠 33 8th at Trinity Place

  • πŸ“ Address: 33 8th St, San Francisco, CA
  • πŸ’° Price: N/A
  • πŸ› Bedrooms: N/A
  • πŸ› Bathrooms: N/A
  • πŸ“ Area: N/A sq ft
  • πŸ“… Days on Zillow: N/A
  • πŸ–Ό Image: Listing Image

🏠 1190 Mission at Trinity Place

  • πŸ“ Address: 1190 Mission St, San Francisco, CA
  • πŸ’° Price: N/A
  • πŸ› Bedrooms: N/A
  • πŸ› Bathrooms: N/A
  • πŸ“ Area: N/A sq ft
  • πŸ“… Days on Zillow: N/A
  • πŸ–Ό Image: Listing Image

🏠 AVA 55 Ninth

  • πŸ“ Address: 55 9th St, San Francisco, CA
  • πŸ’° Price: N/A
  • πŸ› Bedrooms: N/A
  • πŸ› Bathrooms: N/A
  • πŸ“ Area: N/A sq ft
  • πŸ“… Days on Zillow: N/A
  • πŸ–Ό Image: Listing Image

🏠 1335 Folsom

  • πŸ“ Address: 1335 Folsom St, San Francisco, CA
  • πŸ’° Price: N/A
  • πŸ› Bedrooms: N/A
  • πŸ› Bathrooms: N/A
  • πŸ“ Area: N/A sq ft
  • πŸ“… Days on Zillow: N/A
  • πŸ–Ό Image: Listing Image


πŸ“Œ This report was generated automatically. Please verify details before making decisions.