---
title: "Get percentage-based neighborhood insights for a Trulia listing's locality"
method: GET
path: "/trulia/neighborhood-insights"
tags: ["Trulia"]
---

# Get percentage-based neighborhood insights for a Trulia listing's locality

`GET /trulia/neighborhood-insights`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/trulia/neighborhood-insights`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `url` string, uri, required

## Response `200`

- object
  - `data` object, required
    - `locality` string, nullable, required
    - `insights` object[], required
      - `question` string, required
      - `answer` string, required
      - `percentage` integer, nullable, required
    - `count` integer, required

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: Trulia reports that the listing does not exist (its page is gone). `error.failure_type` is `not_found` and `error.code` is `NOT_FOUND`. Non-billable and not retryable: a single upstream request is made.
- `422`: A required parameter is missing or malformed. `url` must be a valid URL of at most 2048 characters (`id` on the listing-by-id endpoint must be an integer). Returned by the form request before any upstream request is made, and never bille...
- `503`: The upstream service is temporarily unavailable. Please retry shortly.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
