Trulia Scraper avatar

Trulia Scraper

Try for free

2 hours trial then $25.00/month - No credit card required now

Go to Store
Trulia Scraper

Trulia Scraper

onidivo/trulia-scraper
Try for free

2 hours trial then $25.00/month - No credit card required now

Crawl the Trulia real estate listings site and extract data about homes for sale. Scrape home details for multiple search locations (City, Neighborhood, Zip, and County) and various search criteria and filters.

Crawl the Trulia real estate listings site and extract data about homes for sale. Scrape home details for multiple search locations (City, Neighborhood, Zip, and County) and various search criteria and filters. Download and use the data whatever way you want.

Features

  • Multiple properties URLs
  • Multiple search locations
  • Multiple search types (Buy, Rent, Sold)
  • Sort homes

Cost of usage

When running the actor with memory of 1024 MB, average consumption is about 1 Compute Unit and 1 hour per 4000 homes. This will cost about $0.5 usage credits.

Bugs, issues, features, and feedback

You can report issues on the Actor tab "Issues" or here and discuss or leave your feedback here.

Input

You can provide input either through the editor on the Apify platform or as a JSON object.

The only mandatory fields you need to provide are:

  • at least one of: startUrls or searchLocations.
  • if you will provide searchLocations, at least one of: searchTypeBuy, searchTypeRent, and searchTypeSold with the value true (by default, searchTypeBuy is true).

An example of minimal input:

1{
2    "startUrls": [
3        {
4            "url": "https://www.trulia.com/p/ca/fremont/3366-peralta-blvd-fremont-ca-94536--2083375174"
5        }
6    ],
7    "searchLocations": [
8        "San Francisco"
9    ],
10    "searchTypeBuy": true,
11    "sortOption": "NEW_LISTINGS",
12    "proxyConfiguration": {
13        "useApifyProxy": true
14    }
15}

The scraper forcibly use Apify Proxy so that you don’t get blocked by Trulia. You should also use a low value for max concurrency.

Output

For each search location combined with the search type (Buy, Rent, or Sold), and for each start URL, you get home results.

The output of each home looks like this:

1{
2    "url": "https://www.trulia.com/p/ca/fremont/48871-crown-ridge-cmn-fremont-ca-94539--2083417606",
3    "searchLocation": "Fremont, CA",
4    "query": "Fremont, CA",
5    "title": "48871 Crown Ridge Cmn, Fremont, CA 94539 - 5 Bed, 4 Bath Single-Family Home - MLS# ML81834752 - 39 Photos | Trulia",
6    "metaDescription": "48871 Crown Ridge Cmn, Fremont, CA 94539 is a 3,811 sqft, 5 bed, 4 bath Single-Family Home listed for $2,980,000. Welcome to 48871 Crown Ridge Common, an exquisite home located on a tree lined street in the prestigious...",
7    "isOffMarket": false,
8    "isRecentlySold": false,
9    "isForeclosure": false,
10    "isActiveForRent": false,
11    "isActiveForSale": true,
12    "isRecentlyRented": false,
13    "location": {
14        "stateCode": "CA",
15        "jsonLdSchemaFullLocation": "48871 Crown Ridge Cmn, Fremont, CA 94539",
16        "homeFormattedAddress": "48871 Crown Ridge Cmn, Fremont, CA 94539",
17        "cityStateZipAddress": "Fremont, CA 94539",
18        "summaryFormattedLocation": "48871 Crown Ridge Cmn",
19        "city": "Fremont",
20        "zipCode": "94539",
21        "neighborhoodName": "Vineyards-Avalon",
22        "streetAddress": "48871 Crown Ridge Cmn",
23        "formattedLocation": "48871 Crown Ridge Cmn",
24        "latitude": 37.47203826904297,
25        "longitude": -121.8926010131836
26    },
27    "price": 2980000,
28    "bedrooms": 5,
29    "bathrooms": 4,
30    "floorSpace": 3811,
31    "propertyType": "Single Family Home",
32    "lotSize": "0.58 acres"
33}
Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 5 stars

  • >99% runs succeeded

  • Created in Mar 2021

  • Modified 2 months ago