Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APITrulia

    trulia.property

    One home's page on Trulia: status, price, address, beds, baths, area, facts, description, estimates, price history, floor plans and photos.

    Id
    trulia.property
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/trulia.property/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of trulia.property
    FieldTypeDescription
    urlrequiredstringThe address of a home's page on Trulia, e.g. https://www.trulia.com/home/130-grand-view-ave-san-francisco-ca-94114-2122542127, or of a rental community's (/building/...), as trulia.search returns it.Limit: at least 1 characters, at most 600 characters.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of trulia.property
    FieldTypeNotes
    home_idstringTrulia's id of the home, e.g. 79842456_ZPID, or of a building, e.g. 2748928566_BUILDING_ID.
    urlstringThe home's page on trulia.com.
    kindstringWhat the page is: home for one home, rental_community for a building with floor plans.
    statusstring or nullThe status the page shows, in Trulia's words, e.g. For Sale, For Rent, Sold, Off Market.
    property_typestring or nullThe kind of home as Trulia names it, e.g. SINGLE_FAMILY_HOME, CONDO. Null for a building.
    namestring or nullThe building's name, for a rental community.
    addressstring or nullThe address in one line.
    streetstring or nullThe street line of the address, with the unit number when there is one.
    citystring or nullThe city of the address.
    statestring or nullThe two-letter state of the address.
    zipcodestring or nullThe ZIP code of the address.
    neighborhoodstring or nullThe neighbourhood Trulia places the home in.
    latitudenumber or nullLatitude of the home, in decimal degrees.
    longitudenumber or nullLongitude of the home, in decimal degrees.
    pricenumber or nullThe asking price in US dollars (for a rental, the monthly rent); for a range, its lowest. Null when the page shows no number.
    price_maxnumber or nullThe highest price of a range; null for one price.
    price_textstring or nullThe price as the page writes it, e.g. $515,000, $3,233 - $4,592/mo.
    currencystring or nullThe ISO currency code of the prices; USD.
    bedroomsnumber or nullBedrooms; 0 is a studio; for a building, the fewest of its units.
    bedrooms_maxnumber or nullThe most bedrooms of a building's units; null for one home.
    bathroomsnumber or nullBathrooms; for a building, the fewest of its units.
    bathrooms_maxnumber or nullThe most bathrooms of a building's units; null for one home.
    floor_spacestring or nullThe interior area as the page writes it, e.g. 807 sqft.
    lot_sizestring or nullThe size of the lot as the page writes it.
    year_builtinteger or nullThe year the home was built, when the page says.
    descriptionstring or nullThe listing's description, as written.
    factsarray of objectEvery fact of the page's home details, with the heading it is under: first the ones the page puts at the top (heading Highlights: Property Type, Year Built, Price/Sqft, Parking, HOA), then each group of the details.
    group (in facts[])string or nullThe heading the fact is listed under, e.g. Interior Details.
    name (in facts[])stringThe fact's name, e.g. Year Built, Parking.
    value (in facts[])string or nullIts value as the page writes it.
    estimated_valuenumber or nullZillow's estimate of the home's value (the Zestimate) the page shows, in US dollars.
    estimated_rentnumber or nullThe estimate of the monthly rent the page shows, in US dollars.
    last_sold_pricenumber or nullThe price the home last sold for, in US dollars, when the page says.
    last_sold_datestring (date) or nullThe day the home last sold, when the page says.
    tax_assessmentnumber or nullThe value the home is assessed at for property tax, in US dollars, when the page shows it.
    listed_atstring (date-time) or nullWhen the home was listed for sale, when the page says.
    open_housesarray of objectThe open houses the page lists, in order.
    start (in open_houses[])string (date-time)When the open house starts, with its offset from UTC.
    end (in open_houses[])string (date-time) or nullWhen it ends.
    price_historyarray of objectThe home's price history as the page lists it, newest first.
    date (in price_history[])string (date)The day of the event.
    event (in price_history[])string or nullWhat happened, in Trulia's words, e.g. Listed For Sale, Sold, Price Change.
    price (in price_history[])number or nullThe price of the event in US dollars; null when the page shows none.
    source (in price_history[])string or nullWhere the event is recorded, as the page says, e.g. a listing service's number.
    floor_plansarray of objectFor a rental community, its floor plans with their rents. Empty for one home.
    name (in floor_plans[])string or nullThe floor plan's name, e.g. A1.
    bedrooms (in floor_plans[])number or nullIts bedrooms; 0 is a studio.
    bathrooms (in floor_plans[])number or nullIts bathrooms.
    rent (in floor_plans[])number or nullThe lowest monthly rent of its units, in US dollars.
    rent_max (in floor_plans[])number or nullThe highest monthly rent of its units, in US dollars.
    floor_space (in floor_plans[])string or nullIts interior area as the page writes it, e.g. 568 sqft.
    availability (in floor_plans[])string or nullWhat the page says of its availability, e.g. Available Soon, Available Now.
    units (in floor_plans[])integerHow many of its units the page lists.
    brokerstring or nullThe brokerage the listing names, when it names one.
    tagsarray of stringThe labels at the top of the page, e.g. FOR SALE, NEW - 2 DAYS AGO.
    photosarray of stringThe listing's photos, in the page's order.
    fetched_atstring (date-time)When the page was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/trulia.property/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"url":"https://www.trulia.com/home/130-grand-view-ave-san-francisco-ca-94114-2122542127"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("trulia.property", {
        "url": "https://www.trulia.com/home/130-grand-view-ave-san-francisco-ca-94114-2122542127",
    })
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    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 a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("trulia.property", {
      url: "https://www.trulia.com/home/130-grand-view-ave-san-francisco-ca-94114-2122542127",
    });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    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(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "trulia.property", map[string]any{"url": "https://www.trulia.com/home/130-grand-view-ave-san-francisco-ca-94114-2122542127"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.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.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("trulia.property", Map.of("url", "https://www.trulia.com/home/130-grand-view-ave-san-francisco-ca-94114-2122542127"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

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

    enrichednow run trulia.property --input url=https://www.trulia.com/home/130-grand-view-ave-san-francisco-ca-94114-2122542127

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

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "url": "https://www.trulia.com/home/130-grand-view-ave-san-francisco-ca-94114-2122542127"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "trulia.property",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "url": "https://www.trulia.com/home/130-grand-view-ave-san-francisco-ca-94114-2122542127"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "home_id": "2122542127_ZPID",
          "url": "https://www.trulia.com/home/130-grand-view-ave-san-francisco-ca-94114-2122542127",
          "kind": "home",
          "status": "For Sale",
          "property_type": "MULTI_FAMILY",
          "name": null,
          "address": "130 Grand View Ave, San Francisco, CA 94114",
          "street": "130 Grand View Ave",
          "city": "San Francisco",
          "state": "CA",
          "zipcode": "94114",
          "neighborhood": "Clarendon Heights",
          "latitude": 37.75584411621094,
          "longitude": -122.44031524658203,
          "price": 3800000,
          "price_max": null,
          "price_text": "$3,800,000",
          "currency": "USD",
          "bedrooms": 5,
          "bedrooms_max": null,
          "bathrooms": 2,
          "bathrooms_max": null,
          "floor_space": "2,861 sqft",
          "lot_size": null,
          "year_built": 1961,
          "description": "Fully renovated three-unit building with sweeping views, generous outdoor spaces, and modern finishes withtwo VACANT residences and one tenant-occupied flat, ideally located in Eureka Valley near Noe Valley's shops, cafs, and restaurants. … [truncated]",
          "facts": [
            {
              "group": "Highlights",
              "name": "Property Type",
              "value": "Multi-Family"
            },
            {
              "group": "Highlights",
              "name": "Year Built",
              "value": "1961"
            }
          ],
          "estimated_value": null,
          "estimated_rent": null,
          "last_sold_price": 1875000,
          "last_sold_date": "2021-01-20",
          "tax_assessment": 2181160,
          "listed_at": "2026-11-18T19:56:24Z",
          "open_houses": [],
          "price_history": [
            {
              "date": "2026-11-19",
              "event": "Listed For Sale",
              "price": 3800000,
              "source": "SFAR #426177021"
            },
            {
              "date": "2026-09-12",
              "event": "ListingRemoved",
              "price": 3800000,
              "source": "bridgeMLS/CCAR/Bay East AOR #41129355"
            }
          ],
          "floor_plans": [],
          "broker": "Compass",
          "tags": [
            "FOR SALE",
            "NEW - 20 HRS AGO"
          ],
          "photos": [
            "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/227a711cbaadce526601fabd45aa1270-full.jpg",
            "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/e425209caba22b5c33191faa59f3038f-full.jpg",
            "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/6a4ca0053c4f6783d0fc5599aaf40ca5-full.jpg"
          ],
          "fetched_at": "2026-11-19T18:07:41.564779Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: description: 1,115 characters, the first 238 shown.
    • Shortened: facts: 35 items, the first 2 shown.
    • Shortened: price_history: 8 items, the first 2 shown.
    • Shortened: photos: 4 items, the first 3 shown.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Trulia scrapers are in their own section there.