# How to scrape Trulia without getting blocked

**Use case:** 

How to scrape Trulia search results when CloudFront blocks datacenter IPs: paste a for-sale, for-rent, or sold search URL from your browser and export listings to JSON, CSV or Excel. No Trulia login — address, price, beds, baths and listing links. Residential proxy is handled by the actor on Apify. Pre-filled NYC for-sale sample; replace startUrl with any Trulia results page.

## Input

```json
{
  "startUrl": "https://www.trulia.com/for_sale/New_York,NY/0-450000_price/APARTMENT,CONDO,COOP,TOWNHOUSE_type/",
  "maxItems": 20
}
```

## Output

```json
{
  "price": {
    "label": "Price",
    "format": "number"
  },
  "propertyType": {
    "label": "Property Type",
    "format": "text"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "state": {
    "label": "State",
    "format": "text"
  },
  "neighborhood": {
    "label": "Neighborhood",
    "format": "text"
  },
  "url": {
    "label": "Url",
    "format": "link"
  },
  "listingType": {
    "label": "Listing Type",
    "format": "text"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "streetAddress": {
    "label": "Street Address",
    "format": "text"
  },
  "zip": {
    "label": "Zip",
    "format": "text"
  },
  "communityName": {
    "label": "Community Name",
    "format": "text"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "priceMin": {
    "label": "Price Min",
    "format": "number"
  },
  "priceMax": {
    "label": "Price Max",
    "format": "number"
  },
  "priceFormatted": {
    "label": "Price Formatted",
    "format": "text"
  },
  "priceLabel": {
    "label": "Price Label",
    "format": "text"
  },
  "pricePerSqft": {
    "label": "Price Per Sqft",
    "format": "text"
  },
  "rentPrice": {
    "label": "Rent Price",
    "format": "text"
  },
  "beds": {
    "label": "Beds",
    "format": "number"
  },
  "baths": {
    "label": "Baths",
    "format": "number"
  },
  "photoUrls": {
    "label": "Photo Urls",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Trulia Scraper 🔥 $0.7/1K](https://apify.com/azzouzana/trulia-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/azzouzana/trulia-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/azzouzana/trulia-scraper.md

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`).
