
AI Realestateagent
Deprecated
Pricing
Pay per event

AI Realestateagent
Deprecated
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.gitcd ai-realestateagent
2οΈβ£ Create a Virtual Environment (Optional)
python -m venv .venvsource .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:
π 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:
π 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:
π 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:
π 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:
π This report was generated automatically. Please verify details before making decisions.