# Trulia Scraper (`mrdoe/trulia-scraper`) Actor

Scrape Trulia home listings by location (City,ST or a full search URL): price, beds/baths, square footage, lot size, property type, listing tags and images. No login, no key.

- **URL**: https://apify.com/mrdoe/trulia-scraper.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.70 / 1,000 listing returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

![Trulia Scraper - Trulia scraper showing price, beds/baths and tags for each home](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/trulia-scraper--hero.png)

### What does Trulia Scraper do?

Trulia Scraper reads Trulia's own location search page and returns the address, price, bedrooms, bathrooms, square footage, lot size, property type, listing tags, image and coordinates for each home. Give it a "City,ST" location, or a full search URL with your own filters already applied.

### Why use Trulia Scraper?

- Covers Trulia, one of the major US real estate marketplaces (part of Zillow Group).
- Returns Trulia's own listing tags directly (e.g. "NEW", lot-size highlights), useful for spotting fresh or notable listings at a glance.
- Captures both for-sale and for-rent/recently-sold status flags on every listing.
- Works with any location - city/state or a full filtered search URL copied from your browser.
- No account or API key.

### What makes this different

Most real estate scrapers return just a price and address. This Actor also surfaces Trulia's own listing tags and sale-status flags directly from the site's own data, giving a fuller picture of each listing's standing.

### Who can use the Trulia Scraper and how?

- **Home buyers:** Monitor a specific city for new listings matching their criteria.
- **Real estate investors:** Screen for lot size, property type and listing freshness across a market.
- **Agents and brokers:** Track competitor listings and pricing by city.
- **Market researchers:** Study price distributions and inventory by property type and location.

### How it works

![Trulia Scraper workflow: your input, collection, output](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/trulia-scraper--how-it-works.png)

1. **Your input** — give it a "City,ST" location, or paste a full Trulia search URL with your own filters
2. **The Actor collects it** — the Actor reads that location's own search-results page directly
3. **Your output** — you get one row per listing, with price, specs and listing tags

### What data can you extract?

The dataset has 22 fields per row:

| Field | Type | Description |
|---|---|---|
| `id` | string | Trulia's internal home ID. |
| `address` | string | Full property address. |
| `city` | string | City. |
| `state` | string | State code. |
| `zipcode` | string | Zip code. |
| `url` | string | Listing detail page URL. |
| `price` | number | Price amount. |
| `priceDisplay` | string | Price as displayed, e.g. "$540,000". |
| `currency` | string | Currency code. |
| `bedrooms` | number | Number of bedrooms. |
| `bathrooms` | number | Number of bathrooms. |
| `floorSpaceSqft` | string | Floor space, as displayed. |
| `lotSize` | string | Lot size, as displayed. |
| `propertyType` | string | Property type, e.g. "MULTI_FAMILY". |
| `isActiveForSale` | boolean | Whether the listing is currently active for sale. |
| `isActiveForRent` | boolean | Whether the listing is currently active for rent. |
| `isRecentlySold` | boolean | Whether the listing was recently sold. |
| `tags` | array | Listing tags, e.g. "NEW - 52 MIN AGO". |
| `imageUrl` | string | Listing photo URL. |
| `latitude` | number | Latitude. |
| `longitude` | number | Longitude. |
| `description` | string | Auto-generated listing description. |

### How to use Trulia Scraper

![Trulia Scraper input form](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/trulia-scraper--input.png)

1. Open the Actor and go to the **Input** tab.
2. Enter a "City,ST" location (e.g. Austin,TX), or paste a full Trulia search URL with filters already applied.
3. Optionally set filters and a **Max results** limit.
4. Click **Start**. A default run finishes in under a minute.
5. Open the **Output** tab, then download the dataset or connect it to your tools.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `location` | string | No | `"Austin,TX"` | A Trulia "City,ST" location (e.g. Austin,TX), or a full search URL with filters already applied. |
| `maxItems` | integer | No | `40` | Maximum number of listings to return. Capped at 200 to keep a single run bounded. |
| `proxyConfiguration` | object | No | `{"useApifyProxy":false}` | Trulia's listing pages work without a proxy for moderate volumes. Enable Apify Proxy for larger runs. |

### Output Data

![Trulia Scraper dataset table](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/trulia-scraper--output.png)

Each row is one listing: address, price, bedrooms, bathrooms, square footage, lot size, property type, tags, image and coordinates.

![Trulia Scraper field map of one record](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/trulia-scraper--fields.png)

A real dataset item:

```json
{
  "id": "29442979_ZPID",
  "address": "12808 Chromite St, Austin, TX 78727",
  "city": "Austin",
  "state": "TX",
  "zipcode": "78727",
  "url": "https://www.trulia.com/home/12808-chromite-st-austin-tx-78727-29442979",
  "price": 540000,
  "priceDisplay": "$540,000",
  "currency": "USD",
  "bedrooms": 4,
  "bathrooms": 4,
  "floorSpaceSqft": "2,129 sqft",
  "lotSize": "0.27 acres",
  "propertyType": "MULTI_FAMILY",
  "isActiveForSale": true,
  "isActiveForRent": false,
  "isRecentlySold": false,
  "tags": [
    "NEW - 1 HR AGO",
    "0.27 ACRES"
  ],
  "imageUrl": "https://www.trulia.com/pictures/thumbs_4/zillowstatic/fp/549f3b52c690c95a2302da30a7bfbf1a-full.jpg",
  "latitude": 30.423098,
  "longitude": -97.69667,
  "description": "This multi-family home is located at 12808 Chromite St, Austin, TX. 12808 Chromite St is in the Gracy Woods neighborhood in Austin, TX and …"
}
```

### Usage Examples

#### Search by city

```json
{
  "location": "Austin,TX",
  "maxItems": 40
}
```

#### Filtered search URL

```json
{
  "location": "https://www.trulia.com/for_sale/Austin,TX/2p_beds/",
  "maxItems": 50
}
```

### Tips for Best Results

- Apply your filters directly on trulia.com first, then copy that URL in for the most control.
- Re-run on a schedule with the same location to catch new listings.
- Default is 5 results for a fast test. Set the max to 0 to return everything available.

### Known Limitations

- Pulls from a single search-results page per run, not every page of a very large market.

### Integrations

Run it from the Apify API, on a schedule, or from a webhook. Send results straight to Google Sheets, Make, Zapier, Slack or your own database with Apify's built-in integrations.

### Export Formats

Download the dataset as JSON, CSV, Excel, XML, HTML table or RSS from the **Output** tab or the API.

### Frequently Asked Questions

#### Does it need a Trulia account?

No. The Actor reads Trulia's public search pages and needs no account or key.

#### Can I use my own filters?

Yes - build the search on trulia.com with whatever filters you want, then paste that exact URL in.

#### How many results can I get?

Up to 200 per run from a single location's search-results page.

#### Do I need an account or login?

No. The Actor reads public data and needs no account or key.

#### Am I charged for failed runs or empty results?

You are only charged for results that are actually written to the dataset.

#### Can I run it on a schedule?

Yes. Create a Task with your input and add a schedule in Apify Console. With monitor mode on, each scheduled run returns only what changed since the previous one.

### Enterprise and custom work

Need higher volumes, a custom output schema, dedicated scheduling or a no-breaking-changes commitment for a production pipeline? Open an issue on the Actor page and describe your use case. Bulk terms and custom builds are available.

### Support

Questions or a missing field? Open an issue from the **Issues** tab on this Actor's page and it will be looked at.

### Legal / Responsible Use

You are responsible for using the data in line with the source's terms and applicable law. The Actor collects publicly available data only and is not affiliated with the source.

# Actor input Schema

## `location` (type: `string`):

A Trulia "City,ST" location (e.g. Austin,TX), or a full search URL with filters already applied.

## `maxItems` (type: `integer`):

Maximum number of listings to return. Capped at 200 to keep a single run bounded.

## `proxyConfiguration` (type: `object`):

Trulia's listing pages work without a proxy for moderate volumes. Enable Apify Proxy for larger runs.

## Actor input object example

```json
{
  "location": "Austin,TX",
  "maxItems": 40,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "location": "Austin,TX",
    "maxItems": 40,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/trulia-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "location": "Austin,TX",
    "maxItems": 40,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/trulia-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "location": "Austin,TX",
  "maxItems": 40,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call mrdoe/trulia-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/trulia-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1X5K1l5aaSCIGKzYH/builds/FuAvifbQx7DDri4q7/openapi.json
