Real Estate Data Extraction with Firecrawl

VerifiedSafe

Extract structured property data from real estate listing URLs (Zillow, Redfin, Realtor.com, etc.) using Firecrawl's AI-powered extraction. The returned JSON includes address, price, bedrooms, images, and more, ready for video generation or analysis. Helps automate property data collection for market research or content creation.

Sby Skills Guide Bot
Data & AIIntermediate
6/2/2026
Claude Code
#firecrawl#real-estate#web-scraping#property-extraction#data-extraction

Recommended for

Automated summary

Firecrawl Property Extraction extracts structured real estate data from listing URLs (Zillow, Redfin, etc.) using Firecrawl AI.

Strengths

  • Handles JavaScript rendering and anti-bot measures
  • Zod schema for data validation
  • Simple API integration with Next.js
  • Built-in competitor analysis

Limitations

  • Rate limited to 10 requests per minute on standard plan
  • Depends on source site data quality
  • Not all broker sites are supported
When to use it

When you need to extract property data from multiple listings for video generation or market analysis.

When not to use it

For simple scraping tasks without validation or transformation, or when an official API is available.

Security analysis

Safe
Quality score92/100

The skill describes using a third-party API (Firecrawl) for legitimate data extraction, with no destructive, exfiltrating, or obfuscated actions. Code snippets correctly use environment variables for API keys, and there is no instruction to execute arbitrary bash commands or bypass safety measures.

No concerns found

How this analysis is made

Examples

Extract single property
Extract property details from this Zillow listing: https://www.zillow.com/homedetails/123-Main-St-New-York-NY-10001/123456789_zpid/
Competitor analysis
Scrape competitor listings from Redfin in San Francisco to compare prices, days on market, and price per sqft.
Batch extraction
Extract data from these three Realtor.com listings and output as JSON: [list URLs]

name: firecrawl-scraper description: Extract property data from real estate listing URLs using Firecrawl AI. Use when scraping Zillow, Redfin, Realtor.com, or any property listing site. Returns structured data ready for video generation. allowed-tools: Read, Grep, Glob, Bash

Firecrawl Property Extraction

Overview

Firecrawl transforms any real estate listing URL into structured JSON data for video generation. It handles JavaScript rendering, anti-bot measures, and image extraction automatically.

Quick Start

import Firecrawl from '@mendable/firecrawl-js';
import { z } from 'zod';

const firecrawl = new Firecrawl({
  apiKey: process.env.FIRECRAWL_API_KEY
});

const result = await firecrawl.extract({
  urls: [listingUrl],
  prompt: 'Extract property details for video generation',
  schema: PropertySchema
});

Supported Sites

| Site | URL Pattern | Data Quality | |------|-------------|--------------| | Zillow | zillow.com/homedetails/* | Excellent | | Redfin | redfin.com//home/ | Excellent | | Realtor.com | realtor.com/realestateandhomes-detail/* | Excellent | | Trulia | trulia.com/home/* | Good | | Homes.com | homes.com/property/* | Good | | MLS Sites | Varies by region | Good | | Broker Sites | Any | Variable |

Property Schema

See rules/property-extraction.md for complete schema.

const PropertySchema = z.object({
  address: z.string(),
  city: z.string(),
  state: z.string(),
  zipCode: z.string(),
  price: z.number(),
  bedrooms: z.number(),
  bathrooms: z.number(),
  sqft: z.number(),
  lotSize: z.string().optional(),
  yearBuilt: z.number().optional(),
  propertyType: z.string(),
  description: z.string(),
  features: z.array(z.string()),
  images: z.array(z.string()),
  agent: z.object({
    name: z.string(),
    phone: z.string().optional(),
    brokerage: z.string().optional(),
  }).optional(),
});

Advanced Extraction

Competitor Analysis

const CompetitorSchema = z.object({
  listings: z.array(z.object({
    address: z.string(),
    price: z.number(),
    daysOnMarket: z.number(),
    pricePerSqft: z.number(),
  })),
  marketTrends: z.object({
    medianPrice: z.number(),
    averageDaysOnMarket: z.number(),
    inventoryCount: z.number(),
  }),
});

Market Data

See rules/market-data.md

Best Practices

  1. Rate Limiting: Max 10 requests/minute on standard plan
  2. Error Handling: Always wrap in try/catch
  3. Image Quality: Request high-res images when available
  4. Caching: Cache results for 24 hours to save credits
  5. Validation: Always validate extracted data with Zod

API Integration

Next.js Route Handler

// /app/api/scrape/route.ts
export async function POST(request: Request) {
  const { url } = await request.json();

  const firecrawl = new Firecrawl({
    apiKey: process.env.FIRECRAWL_API_KEY!
  });

  const result = await firecrawl.extract({
    urls: [url],
    prompt: 'Extract property listing data',
    schema: PropertySchema,
  });

  return Response.json({
    success: true,
    data: result.data
  });
}

Credit Usage

| Operation | Credits | |-----------|---------| | /scrape (single page) | 1 | | /crawl (per page) | 1 | | /extract (AI) | Tokens-based | | /map (URL discovery) | 1 per 100 URLs |

Error Handling

try {
  const result = await firecrawl.extract({ ... });
} catch (error) {
  if (error.statusCode === 429) {
    // Rate limited - wait and retry
  } else if (error.statusCode === 403) {
    // Site blocked - try alternative approach
  } else {
    // Log and return fallback
  }
}

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/real-estate-data-extraction-with-firecrawl-mm5t8ab5/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/real-estate-data-extraction-with-firecrawl-mm5t8ab5' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/real-estate-data-extraction-with-firecrawl-mm5t8ab5/download' --output '.skill-downloads/real-estate-data-extraction-with-firecrawl-mm5t8ab5/SKILL.md.part' && mv '.skill-downloads/real-estate-data-extraction-with-firecrawl-mm5t8ab5/SKILL.md.part' '.skill-downloads/real-estate-data-extraction-with-firecrawl-mm5t8ab5/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read, Grep, Glob, Bash

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/real-estate-data-extraction-with-firecrawl-mm5t8ab5/SKILL.md' && test -s '.skill-downloads/real-estate-data-extraction-with-firecrawl-mm5t8ab5/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/firecrawl-scraper' && cp -R '.skill-downloads/real-estate-data-extraction-with-firecrawl-mm5t8ab5' '.claude/skills/firecrawl-scraper'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/real-estate-data-extraction-with-firecrawl-mm5t8ab5'

openskills read 'real-estate-data-extraction-with-firecrawl-mm5t8ab5'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/real-estate-data-extraction-with-firecrawl-mm5t8ab5/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills