Extract real estate data
Rocket Scraper makes it easy to extract detailed property information from real estate listings across any website. Our AI automatically identifies and extracts key property details, pricing, amenities, and location data without requiring any selectors or maintenance.
Key Benefits
- Comprehensive Data Extraction: Automatically extract property details, prices, amenities, agent information, and more from any details page.
- Media Support: Collect property images and floor plan URLs.
- Market Analysis: Track price changes, time on market, and historical data across properties.
Example: Property Listing
Here's how to extract detailed property information without any selectors:
- Python
- Node.js
from rocketscraper import RocketClient
try:
client = RocketClient('YOUR_API_KEY')
schema = {
"propertyType": "string",
"price": {
"amount": "number",
"currency": "string"
},
"location": {
"address": "string",
"city": "string",
"state": "string",
"zipCode": "string"
},
"details": {
"bedrooms": "number",
"bathrooms": "number",
"squareFeet": "number",
"yearBuilt": "number"
},
"amenities": "array",
"description": "string",
"agent": {
"name": "string",
"phone": "string",
"email": "string"
},
"images": "array"
}
result = client.scrape(
'https://example.com/properties/luxury-home-123',
schema
)
print(result)
except Exception as e:
print(f"Error: {e}")
import { createRocketClient } from 'rocketscraper';
try {
const client = createRocketClient({
apiKey: 'YOUR_API_KEY'
});
const schema = {
propertyType: "string",
price: {
amount: "number",
currency: "string"
},
location: {
address: "string",
city: "string",
state: "string",
zipCode: "string"
},
details: {
bedrooms: "number",
bathrooms: "number",
squareFeet: "number",
yearBuilt: "number"
},
amenities: "array",
description: "string",
agent: {
name: "string",
phone: "string",
email: "string"
},
images: "array"
};
const result = await client.scrape({
url: 'https://example.com/properties/luxury-home-123',
schema
});
console.log(result);
} catch (error) {
console.error('Error:', error.message);
}
Example Output
{
"propertyType": "Single Family Home",
"price": {
"amount": 1250000,
"currency": "USD"
},
"location": {
"address": "123 Ocean View Drive",
"city": "San Diego",
"state": "CA",
"zipCode": "92109"
},
"details": {
"bedrooms": 4,
"bathrooms": 3.5,
"squareFeet": 2800,
"yearBuilt": 2019
},
"amenities": [
"Swimming Pool",
"Smart Home Features",
"Gourmet Kitchen",
"Ocean Views"
],
"description": "Stunning modern home with panoramic ocean views. Features include a gourmet kitchen with high-end appliances, smart home technology throughout, and a resort-style pool...",
"agent": {
"name": "Sarah Johnson",
"phone": "(555) 123-4567",
"email": "[email protected]"
},
"images": [
"https://example.com/properties/123/main.jpg",
"https://example.com/properties/123/kitchen.jpg",
"https://example.com/properties/123/pool.jpg"
]
}
Try It Now
Ready to extract real estate data? Test out Rocket Scraper's AI-powered extraction in our interactive playground.