Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    PlaybooksReal estate

    Property Comps

    Recently sold and listed homes like yours in a US area, with sale price, price per square foot and the ZIP code average.

    Id
    property-comps
    Version
    1.0.0
    Category
    Real estate
    Status
    Live
    Saved, it runs
    weekly, monthly
    Unit cap
    150 by default, 1 to 1500

    Finds the homes recently sold in the places you name that match the profile of the home you are pricing (kind, bedrooms, living area), reads each one's sale price and date from its Zillow page, and works out its price per square foot. The homes for sale that match are shown beside them as the competition. Every comp is set against the average price per square foot of its ZIP code, so the outliers stand out. In states that keep sale prices private (Texas, Utah and a few others) Zillow shows none, so there only the homes for sale are compared. For investors running numbers, agents preparing a price and lenders checking a value.

    Use when someone wants comparable sold homes (comps) for a property or an area in the US, with sale prices and price per square foot.

    Run it with POST /v1/formulas/property-comps/runs. How runs work is in Running a playbook; what a run costs is below.

    Parameters

    The fields of params, the Basics first. Only the required ones must be given; every other has a default. A field that is not listed is refused. The OpenAPI document has them as the type PropertyCompsParams.

    Parameters of Property Comps
    ParameterTypeRequired or defaultWhat it is
    locationsBasicslist of stringsrequiredPlaces. ZIP codes, cities with their state ("Austin, TX") or neighbourhoods, as Zillow names them.1 or more, up to 10, each up to 100 characters.
    home_typesBasicslist of strings["house"]Kinds of home. The kinds of home that count as comparable.One of house, condo, townhouse, multi_family, manufactured.
    min_bedsBasicsinteger0Least bedrooms. 0 for any.at least 0, at most 5.
    living_areaBasicsobject (min, max){"min":0,"max":20000}Living area (sq ft). The size range of a comparable home, such as 1200 to 1800 for a 1500 sq ft home.
    include_for_saleFiltersbooleantrueShow homes for sale too. The matching homes on the market now, as the competition.
    sold_within_daysFiltersinteger180Sold within (days). Only homes sold in the last this many days.at least 7, at most 730.
    homes_per_placeFiltersinteger41Homes read per place and kind. Zillow's first page of each place is read, up to this many homes, for sold and for sale each.at least 5, at most 41.
    max_resultsOutputinteger60Most rows. The run stops at this many homes, newest sales first. Each sold home's page is read for its price.at least 1, at most 500.

    Presets

    Ready-made answers to start from: give them as params, with any of your own beside them.

    Three-bedroom houses (Denver 80205) denver-3-bed

    JSON
    {
      "locations": [
        "80205"
      ],
      "min_beds": 3,
      "living_area": {
        "min": 1200,
        "max": 2400
      }
    }

    Starter homes (Phoenix 85032) phoenix-starter-homes

    JSON
    {
      "locations": [
        "85032"
      ],
      "min_beds": 2,
      "living_area": {
        "min": 900,
        "max": 1600
      }
    }

    Columns

    The columns of each row’s data, in order; rows also carry a score from 0 to 100, and come best first. A value that is not known is null.

    Columns of Property Comps
    ColumnLabelTypeShown by default
    kindSold or for salestringyes
    addressAddressstringyes
    zipZIPstringyes
    sold_priceSold for (USD)numberyes
    sold_dateSold ondateyes
    list_priceAsking (USD)numberyes
    price_per_sqftUSD a sq ftnumberyes
    area_average_per_sqftZIP average USD a sq ftnumberyes
    vs_area_pctAgainst ZIP average (%)numberyes
    area_homesComps in ZIPintegerno
    bedsBedsnumberyes
    bathsBathsnumberyes
    living_areaLiving area (sq ft)numberyes
    lot_sizeLot sizenumberno
    year_builtYear builtintegerno
    home_typeHome typestringno
    days_on_marketDays on Zillowintegerno
    zestimateZestimate (USD)numberno
    urlZillow pageurlyes
    scoreScorenumberyes

    Example request

    # Start the run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/formulas/property-comps/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"params":{"locations":["85032"],"min_beds":2,"living_area":{"min":900,"max":1600},"home_types":["house"],"include_for_sale":true,"sold_within_days":180,"homes_per_place":41,"max_results":60},"unit_cap":150}'
    
    # Follow it until it ends, then read its rows, with the id the first call answered
    curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID/rows?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start the run, wait for it to end, and get its rows
    params = {
        "locations": ["85032"],
        "min_beds": 2,
        "living_area": {"min": 900, "max": 1600},
        "home_types": ["house"],
        "include_for_sale": True,
        "sold_within_days": 180,
        "homes_per_place": 41,
        "max_results": 60,
    }
    result = client.run_formula("property-comps", params, unit_cap=150)
    print(result.run.id, result.run.status, result.run.rows_total, result.run.units_spent)
    
    # Read its rows, best first: pages are fetched as you go
    for row in result:
        print(row.data)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start the run, wait for it to end, and get its rows
    const params = {
      locations: ["85032"],
      min_beds: 2,
      living_area: { min: 900, max: 1600 },
      home_types: ["house"],
      include_for_sale: true,
      sold_within_days: 180,
      homes_per_place: 41,
      max_results: 60,
    };
    const { run, rows } = await client.runFormula("property-comps", params, { unitCap: 150 });
    console.log(run.id, run.status, run.rows_total, run.units_spent);
    
    // Read its rows, best first: pages are fetched as you go
    for await (const row of rows) console.log(row.data);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 30*time.Minute)
    	defer cancel()
    
    	// Start the run, wait for it to end, and get its rows
    	params := map[string]any{"locations": []any{"85032"}, "min_beds": 2, "living_area": map[string]any{"min": 900, "max": 1600}, "home_types": []any{"house"}, "include_for_sale": true, "sold_within_days": 180, "homes_per_place": 41, "max_results": 60}
    	run, rows, err := client.RunFormula(ctx, "property-comps", params, &enrichednow.RunFormulaParams{UnitCap: 150})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RowsTotal, run.UnitsSpent)
    
    	// Read its rows, best first: pages are fetched as you go
    	for rows.Next() {
    		fmt.Println(string(rows.Current().Data))
    	}
    	if err := rows.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.FormulaResult;
    import com.enrichednow.FormulaRunOptions;
    import com.enrichednow.models.FormulaRow;
    import java.util.List;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start the run, wait for it to end, and get its rows
            FormulaResult result = client.runFormula("property-comps", Map.of("locations", List.of("85032"), "min_beds", 2, "living_area", Map.of("min", 900, "max", 1600), "home_types", List.of("house"), "include_for_sale", true, "sold_within_days", 180, "homes_per_place", 41, "max_results", 60), FormulaRunOptions.builder().unitCap(150).build());
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().rowsTotal() + " " + result.run().unitsSpent());
    
            // Read its rows, best first: pages are fetched as you go
            for (FormulaRow row : result.rows()) {
                System.out.println(row.data());
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow formulas run property-comps --params-json '{"locations":["85032"],"min_beds":2,"living_area":{"min":900,"max":1600},"home_types":["house"],"include_for_sale":true,"sold_within_days":180,"homes_per_place":41,"max_results":60}' --unit-cap 150

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    {
      "name": "run_formula",
      "arguments": {
        "formula_id": "property-comps",
        "params": {
          "locations": [
            "85032"
          ],
          "min_beds": 2,
          "living_area": {
            "min": 900,
            "max": 1600
          },
          "home_types": [
            "house"
          ],
          "include_for_sale": true,
          "sold_within_days": 180,
          "homes_per_place": 41,
          "max_results": 60
        }
      }
    }

    It starts a full run with the answers the sample rows below were made with and the default unit cap, waits for it, and reads its rows a page at a time. The key is read from an environment variable. The MCP tab is the same run asked of an agent connected to the MCP server, which runs a preview first.

    Example response

    The data of the first 3 rows a real run returned with these answers on 2026-11-24: it ended ok with 32 rows, after 2 scraper calls charged 2 units. Text over 160 characters is cut here and ends with … [truncated]; the API returns every value whole.

    JSON
    [
      {
        "kind": "sold",
        "address": "15616 N 38TH Place, Phoenix, AZ 85032",
        "zip": "85032",
        "sold_price": 387500,
        "sold_date": "2026-11-18",
        "list_price": null,
        "price_per_sqft": 280,
        "area_average_per_sqft": 320,
        "vs_area_pct": -12.5,
        "area_homes": 16,
        "beds": 2,
        "baths": 2,
        "living_area": 1386,
        "lot_size": 5040,
        "year_built": null,
        "home_type": "single_family",
        "days_on_market": 6,
        "zestimate": null,
        "url": "https://www.zillow.com/homedetails/15616-N-38th-Pl-Phoenix-AZ-85032/8006870_zpid/",
        "score": 80
      },
      {
        "kind": "sold",
        "address": "3625 E Janice Way, Phoenix, AZ 85032",
        "zip": "85032",
        "sold_price": 425000,
        "sold_date": "2026-11-16",
        "list_price": null,
        "price_per_sqft": 388,
        "area_average_per_sqft": 320,
        "vs_area_pct": 21.3,
        "area_homes": 16,
        "beds": 3,
        "baths": 2,
        "living_area": 1096,
        "lot_size": 10860,
        "year_built": null,
        "home_type": "single_family",
        "days_on_market": 8,
        "zestimate": null,
        "url": "https://www.zillow.com/homedetails/3625-E-Janice-Way-Phoenix-AZ-85032/8013237_zpid/",
        "score": 80
      },
      {
        "kind": "sold",
        "address": "2939 E ANGELA Drive, Phoenix, AZ 85032",
        "zip": "85032",
        "sold_price": 305000,
        "sold_date": "2026-11-12",
        "list_price": null,
        "price_per_sqft": 289,
        "area_average_per_sqft": 320,
        "vs_area_pct": -9.7,
        "area_homes": 16,
        "beds": 2,
        "baths": 1,
        "living_area": 1056,
        "lot_size": 9975,
        "year_built": null,
        "home_type": "single_family",
        "days_on_market": 12,
        "zestimate": null,
        "url": "https://www.zillow.com/homedetails/2939-E-Angela-Dr-Phoenix-AZ-85032/7999474_zpid/",
        "score": 80
      }
    ]

    Each row also has its id, its score, when it was first seen and its evidence: where each value came from. The run and its rows are described in Running a playbook.

    Pricing

    A run costs the units of the work it does, and nothing on top: each scraper call it makes is charged at that scraper's rate, when the call ends ok or partial. It never spends past its unit cap: 150 units unless you give another (at least 1, at most 1500).

    With the answers above, a run is estimated at about 2 units for about 32 rows, and at most 62: 2 searches across 1 source, about 32 rows. An estimate for no history; POST /v1/formulas/property-comps/estimate gives yours, free.

    A preview, mode: preview, is the first 10 rows, charged at what they cost: about 2 units with the answers above. POST /v1/formulas/property-comps/estimate with mode: preview gives yours, free.

    How a playbook is charged has the rule for every playbook.