Trulia.com Scraper avatar
Trulia.com Scraper

Pricing

$15.00/month + usage

Go to Store
Trulia.com Scraper

Trulia.com Scraper

Developed by

epctex

epctex

Maintained by Community

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.

0.0 (0)

Pricing

$15.00/month + usage

2

Total users

21

Monthly users

2

Runs succeeded

>99%

Last modified

a day ago

You can access the Trulia.com Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "startUrls": [
12 "https://www.trulia.com/p/ny/bronx/895-tiffany-st-bronx-ny-10459--2008893028",
13 "https://www.trulia.com/home/364-Ovington-Ave-Brooklyn-NY-11209-112508280",
14 "https://www.trulia.com/building/the-tides-at-arverne-by-the-sea-190-beach-69th-st-arverne-ny-11692-2355011519",
15 "https://www.trulia.com/sold/New_York,NY/",
16 "https://www.trulia.com/for_rent/New_York,NY/",
17 "https://www.trulia.com/for_sale/New_York,NY/p_oh/",
18 "https://www.trulia.com/for_sale/New_York,NY/2p_beds/50000p_price/APARTMENT,CONDO,COOP,SINGLE-FAMILY_HOME_type/fsbo_lt/"
19 ],
20 "maxItems": 20,
21 "endPage": 1,
22 "extendOutputFunction": ($) => { return {} },
23 "customMapFunction": (object) => { return {...object} },
24 "proxy": {
25 "useApifyProxy": true
26 }
27};
28
29// Run the Actor and wait for it to finish
30const run = await client.actor("epctex/trulia-scraper").call(input);
31
32// Fetch and print Actor results from the run's dataset (if any)
33console.log('Results from dataset');
34console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
35const { items } = await client.dataset(run.defaultDatasetId).listItems();
36items.forEach((item) => {
37 console.dir(item);
38});
39
40// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Trulia.com Scraper API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Trulia.com Scraper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

$npm install apify-client

Other API clients include: