Trulia.com Scraper avatar

Trulia.com Scraper

Try for free

3 days trial then $15.00/month - No credit card required now

View all Actors
Trulia.com Scraper

Trulia.com Scraper

epctex/trulia-scraper
Try for free

3 days trial then $15.00/month - No credit card required now

Scrape Trulia.com to crawl millions of real estate properties nationwide. Crawl real estate listings and extract descriptions, images, features, pricing, property details, neighborhood, nearby schools, and all other features. You can specify search terms, filters, and much more.

Actor - Trulia Scraper

Trulia scraper

Trulia is an online company dedicated to real estate. Through their user-friendly website, individuals can seamlessly explore and purchase new homes or find rental options that suit their needs. Furthermore, Trulia offers a platform for users to list and sell their current homes. As users contemplate their next move, they can access comprehensive data on local neighborhoods and area demographics, helping them make informed decisions.

The real estate market is always active. Individuals constantly seek resources to assist them in finding their ideal homes as they relocate. When developers embark on creating applications and websites focused on facilitating home purchases, sales, or rentals, they often turn to the Trulia API for valuable information.

Since Trulia doesn't provide a good and free API, this actor should help you to retrieve data from it.

The Trulia data scraper supports the following features:

  • Property Details - You can retrieve all the information of a property

  • Home details - You can retrieve all the information about a home

  • Building details - You can retrieve all the information about a building

  • Sold properties, rental properties, sale properties - You can search by using sold, rental, and sale properties.

  • All filter options - You can filter through all available filtering options

Bugs, fixes, updates, and changelog

This scraper is under active development. If you have any feature requests you can create an issue from here.

Input Parameters

The input of this scraper should be JSON containing the list of pages on Trulia that should be visited. Required fields are:

  • search: (Optional) (String) The keyword that you can search on Trulia.

  • maxItems: (Optional) (Array) Maximum number of listing items that you want as output. Default is all.

  • endPage: (Optional) (Number) The page number that you want to end with. By default, there is no end page. This applies to all search requests and startUrls individually.

  • startUrls: (Optional) (Array) URLs to start with. It should be a list or detailed URL.

  • extendOutputFunction: (Optional) (String) Function that takes a JQuery handle ($) as an argument and returns data that will be merged with the default output.

  • customMapFunction: (Optional) (String) Function that takes each of the objects as an argument and returns data that will be mapped by the function itself.

  • proxy: (Required) (Proxy Object) Select proxies to be used by your crawler.

This solution requires the use of Proxy servers, either your own proxy servers or you can use Apify Proxy.

Tip

When you want to scrape over a specific list URL, just copy and paste the link as one of the startUrl.

If you would like to scrape only the first page of a list then put the link for the page and have the endPage as 1.

With the last approach that is explained above you can also fetch any interval of pages. If you provide the 5th page of a list and define the endPage parameter as 6 then you'll have the 5th and 6th pages only.

Compute Unit Consumption

The actor is optimized to run blazing fast and scrape as many items as possible. Therefore, it forefronts all the detailed requests. If the actor doesn't block very often it'll scrape 100 listings in 2 minutes with ~0.02-0.04 compute units.

Trulia Scraper Input example

1{
2  "startUrls": [
3    "https://www.trulia.com/p/ny/bronx/895-tiffany-st-bronx-ny-10459--2008893028",
4    "https://www.trulia.com/home/364-Ovington-Ave-Brooklyn-NY-11209-112508280",
5    "https://www.trulia.com/building/the-tides-at-arverne-by-the-sea-190-beach-69th-st-arverne-ny-11692-2355011519",
6    "https://www.trulia.com/sold/New_York,NY/",
7    "https://www.trulia.com/for_rent/New_York,NY/",
8    "https://www.trulia.com/for_sale/New_York,NY/p_oh/",
9    "https://www.trulia.com/for_sale/New_York,NY/2p_beds/50000p_price/APARTMENT,CONDO,COOP,SINGLE-FAMILY_HOME_type/fsbo_lt/"
10  ],
11  "proxy": {
12    "useApifyProxy": true
13  },
14  "endPage": 5,
15  "maxItems": 100
16}

During the Run

During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified. When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.

If you provide incorrect input to the actor, it will immediately stop with a failure state and output an explanation of what is wrong.

Trulia Export

During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.

You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this Trulia actor.

Scraped Trulia Properties

The structure of each item in Trulia looks like this:

Item Detail

1{
2    "type": "property",
3    "url": "https://www.trulia.com/building/the-tides-at-arverne-by-the-sea-190-beach-69th-st-arverne-ny-11692-2355011519",
4    "title": "The Tides At Arverne By The Sea",
5    "bathrooms": 1,
6    "bedrooms": 2,
7    "breadcrumbs": [
8        "For Rent",
9        "NY",
10        "Arverne",
11        "11692",
12        "190 Beach 69th St"
13    ],
14    "description": "A new architectural masterpiece now dazzles the shores of the Rockaways with the addition of THE TIDES at Arverne By The Sea. Spectacular beachfront, affordable & luxurious apartments, offering modern open living spaces and high-end finishes.\n\nAmenities will include a roof deck with pool and lounge, indoor and outdoor dining experiences, private parking available for a fee, bike storage and more.",
15    "floorSpace": "455-906 sqft",
16    "propertyStatus": "for rent",
17    "latitude": 40.588964,
18    "longitude": -73.797741,
19    "propertyType": "apartment",
20    "listingType": "rental",
21    "zipCode": "11692",
22    "neighborhood": null,
23    "city": "Arverne",
24    "state": "NY",
25    "id": "9948671957-2355011519",
26    "price": {
27        "min": 2450,
28        "max": 4200
29    },
30    "images": [
31        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/00ca20c0f040f67e66bfc6738275e5fa-f_b.jpg",
32        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/c3b67f3ae7b9b5c6bc592e7486cdcb14-f_b.jpg",
33        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/c2cd77b11abf78327d4042c8df677bc8-f_b.jpg",
34        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/16f5a43534ec132b5ca1da9b02ea7f97-f_b.jpg",
35        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/e9d0102686c4d22f1ac4d6d75fdce88c-f_b.jpg",
36        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/2d4113a185c84dc26cfa1068af1f6540-f_b.jpg",
37        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/fe1666812b05be4d41dcf01a8adb4be6-f_b.jpg",
38        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/4c59b15134c0591e804ccb83eaab332c-f_b.jpg",
39        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/58d3ae266a718b577323b6bfa7cbbf5d-f_b.jpg",
40        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/c6e53ffd7c82fd2848c1d4b926dfebbf-f_b.jpg",
41        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/83b60f44e6f1f6196ee90bfc743d58e2-f_b.jpg",
42        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/c39a598c24b3554024138dc38bd7819a-f_b.jpg",
43        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/cb830d2ad215619a3370322c6889e087-f_b.jpg",
44        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/466a081325f51a7a44febd8a01c90d5a-f_b.jpg",
45        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/20809833b97bc3edbe91c42fbb35f690-f_b.jpg",
46        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/5ea091e9e48506962c317c5b7a479b1d-f_b.jpg",
47        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/858061113f10d352b6492791aef6399a-f_b.jpg",
48        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/7aab2b39ec33627a55442310791044c1-f_b.jpg",
49        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/0f2b8c29a3000db9cd613c768ce8518c-f_b.jpg",
50        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/a28a665f5b190ee3755b5f8e354d0775-f_b.jpg",
51        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/252e3b911fb0428b9f59a234c933f51d-f_b.jpg",
52        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/ef841eb74f74e9265dff85e268aaf3cf-f_b.jpg",
53        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/7b8a380c61fc80c6a9f8beda25453e00-f_b.jpg",
54        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/b0d09a6c0668f33b0d049a5b07e72b2d-f_b.jpg",
55        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/aac1218229b97b072175cd942abc3f15-f_b.jpg",
56        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/e5aa1829c370d6070317501443cbd588-f_b.jpg",
57        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/0f2ff63343f487961d3b0eba4ff9beba-f_b.jpg",
58        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/ce897f9a55c774fc5484eac80fceb892-f_b.jpg",
59        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/992c85c0e337f6bb58d13f421d322da4-f_b.jpg",
60        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/082885ae16f81cc5f75383d76a88571d-f_b.jpg",
61        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/1b8730f05ae2b5e86ad5244c9381afcc-f_b.jpg",
62        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/d7b97d48459e7844b9ac438c6b0c2dbf-f_b.jpg",
63        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/a6f242047396b5fc327de73f12b831eb-f_b.jpg",
64        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/6b1d1adcd010ac46642f909eb0de717a-f_b.jpg",
65        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/63c7fc6ab43b88d0ae456fa995d27b69-f_b.jpg",
66        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/206b0f9bf61886db32a310f326dde717-f_b.jpg",
67        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/61bbab3f3b80505fdb8e469f45a2d068-f_b.jpg",
68        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/0afecb236b1f78ae77e5096c7207ba7f-f_b.jpg",
69        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/b4d1528cee7c9f7ec61e54c87cf04ce9-f_b.jpg",
70        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/46ae8427911cf9aa7fc47fbc51f0e65d-f_b.jpg",
71        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/80fad49d795bb114c71f3bf569bad5ee-f_b.jpg",
72        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/890ac2858884107133851b1c7eac5591-f_b.jpg",
73        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/155af11bb8c07f9572880754e0516610-f_b.jpg",
74        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/350db6634066f693536fbbe50881ea67-f_b.jpg",
75        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/fc0b8db84953ec731a6a9f85eb0b53ec-f_b.jpg",
76        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/0d02c2e27f406da6a2f1924eb7afea7b-f_b.jpg",
77        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/715c72a252029ad1efc102f61e008f68-f_b.jpg",
78        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/f8d197b8c51a667f6c581ee480c7b491-f_b.jpg",
79        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/d212fc252db5f474b5314b4f4ca6246e-f_b.jpg",
80        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/5e4e033042d3dc69e1315e57907336e3-f_b.jpg",
81        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/b7b6332d8c7c08147389487e0195cfa4-f_b.jpg",
82        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/f06c04478979b5c09e99b0b88498c4d9-f_b.jpg",
83        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/6bdc7ae09aec1a22e51c13f4c927d93a-f_b.jpg",
84        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/8c1a457975ecfe1dc621bbdafe7efd15-f_b.jpg",
85        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/62c095f3f442434980fa1f677bdd1068-f_b.jpg",
86        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/c81fe92f5ac3df4c5a8f2f94959de57e-f_b.jpg",
87        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/80fae341dfe8afd530e261efe817f7dc-f_b.jpg",
88        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/c93df7536a406eb4365f40aa999d22cf-f_b.jpg",
89        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/f366de9d964c8f7e3523302337f8ed98-f_b.jpg",
90        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/80319a908ac766ba63618625b20547bf-f_b.jpg",
91        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/f5f88baa3ae8465c1a7313a260ec1d78-f_b.jpg",
92        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/5ff63745b6216bf04800e4649d2121e5-f_b.jpg",
93        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/c3806cd7f7d8d8abf0ecbbc1e96dee59-f_b.jpg",
94        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/4e0e4cf5652bba988206a42993fff5c0-f_b.jpg",
95        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/c5659502f3238e092b4e63a125618388-f_b.jpg",
96        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/4da9264130506b586958219c1bf0c7e8-f_b.jpg",
97        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/ed1a0aa1effba27c725ea76e30120a26-f_b.jpg",
98        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/3a20782b74b78e7e6b706f8c5d0a98ff-f_b.jpg",
99        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/b6edd7932c592a4892c6687941670c71-f_b.jpg",
100        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/c61a38e79d20b17f9a2c4c07eaf3ad13-f_b.jpg",
101        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/a0766c756cbdb6d23b820c98ac63504d-f_b.jpg",
102        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/9fcc240d29395ce081c5648d308528b3-f_b.jpg",
103        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/ca5a2b5b3d600606e950abbef1a04fe6-f_b.jpg",
104        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/f939350115d136f05df9cd0eb7260a90-f_b.jpg",
105        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/adaa0f8fb8ea7369f1d2775d329e5c49-f_b.jpg",
106        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/36e6df1c37cc6053b8b37edc2797398c-f_b.jpg",
107        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/774f585daf9356f0859f06af063a24b5-f_b.jpg",
108        "https://www.trulia.com/pictures/thumbs_5/zillowstatic/fp/fcca6bad026537eba3b30e797c1e6557-f_b.jpg"
109    ],
110    "features": [
111        {
112            "Pets": "Dogs & Cats",
113            "category": "Home Highlights"
114        },
115        {
116            "Parking": "Contact Manager",
117            "category": "Home Highlights"
118        },
119        {
120            "Outdoor": "Patio, Deck, Pool",
121            "category": "Home Highlights"
122        },
123        {
124            "A/C": "Cooling only",
125            "category": "Home Highlights"
126        },
127        {
128            "Utilities Included": "Contact Manager",
129            "category": "Home Highlights"
130        },
131        {
132            "Listed": "41 days ago",
133            "category": "Home Highlights"
134        },
135        {
136            "attribute": "Water",
137            "category": "View"
138        },
139        {
140            "attribute": "Storage",
141            "category": "Interior Details"
142        },
143        {
144            "attribute": "Dishwasher",
145            "category": "Appliances & Utilities"
146        },
147        {
148            "attribute": "Disposal",
149            "category": "Appliances & Utilities"
150        },
151        {
152            "attribute": "Dryer",
153            "category": "Appliances & Utilities"
154        },
155        {
156            "attribute": "Refrigerator",
157            "category": "Appliances & Utilities"
158        },
159        {
160            "attribute": "Washer",
161            "category": "Appliances & Utilities"
162        },
163        {
164            "attribute": "Air Conditioning",
165            "category": "Heating & Cooling"
166        },
167        {
168            "attribute": "Elevator",
169            "category": "Levels, Entrance, & Accessibility"
170        },
171        {
172            "Floors": "Vinyl",
173            "category": "Levels, Entrance, & Accessibility"
174        },
175        {
176            "Property Type": "Apartment",
177            "category": "Property Type / Style"
178        },
179        {
180            "Rent Includes": "Unknown",
181            "category": "Rental"
182        },
183        {
184            "attribute": "Cats, small dogs, large dogs allowed",
185            "category": "Rental"
186        },
187        {
188            "Internet/Satellite": "Cable, High Speed Internet",
189            "category": "Other"
190        },
191        {
192            "attribute": "Club House",
193            "category": "Community rooms"
194        },
195        {
196            "attribute": "Fitness Center",
197            "category": "Community rooms"
198        },
199        {
200            "attribute": "Game Room",
201            "category": "Community rooms"
202        },
203        {
204            "attribute": "Lounge",
205            "category": "Community rooms"
206        },
207        {
208            "attribute": "Controlled access",
209            "category": "Security"
210        },
211        {
212            "attribute": "Balcony",
213            "category": "Exterior Home Features"
214        },
215        {
216            "attribute": "Barbeque Area",
217            "category": "Exterior Home Features"
218        },
219        {
220            "attribute": "Deck",
221            "category": "Exterior Home Features"
222        },
223        {
224            "attribute": "Patio",
225            "category": "Exterior Home Features"
226        },
227        {
228            "Parking": "Unknown",
229            "category": "Parking & Garage"
230        },
231        {
232            "attribute": "Pool",
233            "category": "Pool"
234        },
235        {
236            "Special Features": "Off Street Parking",
237            "category": "Special Features"
238        }
239    ],
240    "floorPlans": [
241        {
242            "title": "Studio (1 Floorplan)",
243            "name": "6E",
244            "image": "https://www.trulia.com/images/icons/no_fp_icon_320.jpg",
245            "bedrooms": 0,
246            "bathrooms": 1,
247            "price": 2450,
248            "floorSpace": "455 sqft",
249            "availability": "Ask for Availability",
250            "units": []
251        },
252        {
253            "title": "2 Bedrooms (1 Floorplan)",
254            "name": "6C",
255            "image": "https://www.trulia.com/images/icons/no_fp_icon_320.jpg",
256            "bedrooms": 2,
257            "bathrooms": 2,
258            "price": 4200,
259            "floorSpace": "906 sqft",
260            "availability": "Ask for Availability",
261            "units": []
262        }
263    ]
264}

Contact

Please visit us through epctex.com to see all the products that are available for you. If you are looking for any custom integration or so, please reach out to us through the chat box in epctex.com. In need of support? devops@epctex.com is at your service.

Developer
Maintained by Community

Actor Metrics

  • 3 monthly users

  • 1 star

  • >99% runs succeeded

  • Created in May 2023

  • Modified 10 hours ago