redfin-real-estate
3
总安装量
3
周安装量
#61768
全站排名
安装命令
npx skills add https://github.com/rms1000watt/skills --skill redfin-real-estate
Agent 安装分布
openclaw
3
opencode
2
mcpjam
1
claude-code
1
windsurf
1
zencoder
1
Skill 文档
Redfin Real Estate Query Skill
This skill enables querying Redfin.com for real estate property data using web scraping.
When to Use This Skill
Use this skill when the user wants to:
- Find homes for sale in a specific city, zip code, or address
- Get current property prices and listings
- Search for real estate with filters (price range, beds, baths, property type)
- Look up property details like square footage, year built, listing status
Prerequisites
Before using, ensure dependencies are installed:
pip install selenium beautifulsoup4 webdriver-manager pandas
Usage
Basic Syntax
Find homes for sale in [location]
Find properties in [location] under $[price]
Search [location] with [beds]+ beds and [baths]+ baths
Show me [property type] listings in [location]
Important: Use Zipcodes
For best results, use zipcodes instead of city names. Redfin’s URL structure works best with zipcodes.
â
Good: --location "78701"
â
Good: --location "90210"
â Less reliable: --location "Austin TX"
Examples
# Using zipcode (recommended)
Find homes for sale in 78701
Find properties in 78701 under $500000
Search 78701 with 3 beds
# City names may not work as well
Find homes for sale in Austin TX (may not return results)
Parameters
| Argument | Description | Example |
|---|---|---|
--location |
Zipcode (recommended) or city | --location "78701" |
--min-price |
Minimum price | --min-price 300000 |
--max-price |
Maximum price | --max-price 500000 |
--min-beds |
Minimum bedrooms | --min-beds 3 |
--min-baths |
Minimum bathrooms | --min-baths 2 |
--property-type |
house, condo, townhouse, land, multi-family | --property-type condo |
--limit |
Number of results (default: 10) | --limit 20 |
Note: Price and bed/bath filters work best with zipcode-based searches. City name searches may return limited or no filtered results.
The scraper uses:
- Selenium with Chrome headless browser
- BeautifulSoup for HTML parsing
- Pandas for data formatting
- Human-like delays to avoid blocking
Script Location
~/.agents/skills/redfin-real-estate/scripts/scraper.py
Running the Scraper
The agent should run the scraper with appropriate parameters. Example invocation:
python ~/.agents/skills/redfin-real-estate/scripts/scraper.py --location "78701" --limit 10
Available Command Line Arguments
| Argument | Description | Example |
|---|---|---|
--location |
Zipcode (recommended) or city name | --location "78701" |
--min-price |
Minimum price | --min-price 300000 |
--max-price |
Maximum price | --max-price 500000 |
--min-beds |
Minimum bedrooms | --min-beds 3 |
--min-baths |
Minimum bathrooms | --min-baths 2 |
--property-type |
house, condo, townhouse, land, multi-family | --property-type condo |
--limit |
Number of results (default: 10) | --limit 20 |
Output Format
Results display as a formatted table in the terminal:
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â REDFIN PROPERTY SEARCH RESULTS â
â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ£
â Address â Price â Beds â Baths â Sqft â Year â
â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ£
â 123 Main St, Austin, TX â $450,000 â 3 â 2 â 1,850 â 2015 â
â 456 Oak Ave, Austin, TX â $525,000 â 4 â 3 â 2,200 â 2018 â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Limitations
- Terms of Service: Web scraping Redfin technically violates their ToS. Use responsibly.
- Rate Limiting: Redfin may block IP addresses that make too many requests. The scraper includes delays to mitigate this.
- Dynamic Content: Site structure changes may occasionally break the scraper.
- No Guarantee: This is an unofficial method with no uptime guarantees.
- Filters: Price/bed/bath filters work best with zipcode-based searches. City name searches may return limited results.
- Use Zipcodes: For reliable results, always use zipcodes (e.g., “78701”) instead of city names.
Error Handling
If scraping fails:
- Check internet connection
- Redfin may be blocking requests (wait and retry)
- Site structure may have changed (may need script updates)
- Verify location format is valid
Best Practices
- Add delays between requests (built into script)
- Don’t make excessive queries in short time period
- Use specific locations rather than broad searches
- Filter results server-side with parameters when possible