For AI agents: a documentation index is available at /llms.txt
Skip to main content

Scrape Realtor.com property listings

Search Realtor.com for homes and extract prices, addresses, bed/bath counts, and square footage from the results.

Prerequisites

Steps

Realtor.com renders listings with JavaScript and uses bot-detection measures. The examples below search for homes in San Francisco and route through stealth mode with a residential proxy.

Selector stability

Realtor.com updates its markup periodically. If selectors stop returning results, inspect the live page with browser DevTools to find the current element and attribute names.

Use the Browserless MCP server to scrape property listings from Realtor.com from any MCP-compatible AI agent (Claude Desktop, Cursor, Windsurf, ChatGPT, etc.).

1. Connect the MCP server

Send this prompt to your AI agent to install the Browserless MCP server:

Go to https://github.com/browserless/browserless-mcp/blob/main/install.md
and follow the instructions to install the Browserless MCP server
for my client.

2. Scrape Realtor.com

Use browserless_smartscraper. It handles Realtor.com's dynamic content and bot protection automatically.

Use the browserless_smartscraper tool to scrape property listings
from https://www.realtor.com/realestateandhomes-search/San-Francisco_CA
and return the results as markdown

Next steps