> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get everything about one property

> Resolve an address to a property ID, then retrieve its record, lookups, site and demographics reports, aerial image and owner research. Calls, response fields and cost.

This guide retrieves every record West Kite holds for one property, starting from an address. It uses one search call, then five calls that can run concurrently. The record and the two reports cost $0.11, and the lookup adds $0.001 for each type it answers. Owner research is optional and costs \$0.10.

## Calls

| Data | Endpoint | Price |
| - | - | - |
| Property ID | [`GET /v1/search`](/docs/api/search) | Free |
| Owner of record, sales, assessments, zoning, permits, events, loans, outline | [`GET /v1/properties/{id}?parts=all`](/docs/api/properties) | \$0.01 |
| Nearest power, transport and utility infrastructure, and the zoning district | [`GET /v1/lookup`](/docs/api/lookup) | \$0.001 per type answered |
| Environmental, hazards, incentives, buildability, location | [`GET /v1/reports/site`](/docs/api/reports#site-report) | \$0.05 |
| Population, income, jobs, housing | [`GET /v1/reports/demographics`](/docs/api/reports#demographics-report) | \$0.05 |
| Aerial image with the lot outlined | [`GET /v1/properties/{id}/image`](/docs/api/images) | Free |
| People behind the owner of record | [`POST /v1/research`](/docs/api/research) | \$0.10 |

**1. Resolve the address**

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/search" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "q=550 Madison Ave, New York, NY"
```

Use `data.results[0].id`. If `exact` is `false`, the address did not match a record and the result is the nearest record found. Confirm its `title` before continuing.

**2. Retrieve the record and reports**

The five calls are independent. Run them concurrently.

```python Python theme={null}
import os, requests
from concurrent.futures import ThreadPoolExecutor

API = "https://api.westkite.com/v1"
headers = {"Authorization": f"Bearer {os.environ['WESTKITE_API_KEY']}"}
id = "property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0"

calls = {
    "record": (f"/properties/{id}", {"parts": "all"}),
    "lookup": ("/lookup", {"property_id": id, "types": "infrastructure,zoning_districts"}),
    "site": ("/reports/site", {"property_id": id}),
    "demographics": ("/reports/demographics", {"property_id": id, "radius_mi": 1}),
    "image": (f"/properties/{id}/image", {"format": "json"}),
}

def get(path, params):
    return requests.get(API + path, params=params, headers=headers, timeout=60).json()

with ThreadPoolExecutor() as pool:
    results = dict(zip(calls, pool.map(lambda call: get(*call), calls.values())))
```

```typescript TypeScript theme={null}
const API = "https://api.westkite.com/v1";
const headers = { Authorization: `Bearer ${process.env.WESTKITE_API_KEY}` };
const id = "property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0";
const get = (path: string, params: Record<string, string> = {}) =>
  fetch(`${API}${path}?${new URLSearchParams(params)}`, { headers }).then(response => response.json());

const [record, lookup, site, demographics, image] = await Promise.all([
  get(`/properties/${id}`, { parts: "all" }),
  get("/lookup", { property_id: id, types: "infrastructure,zoning_districts" }),
  get("/reports/site", { property_id: id }),
  get("/reports/demographics", { property_id: id, radius_mi: "1" }),
  get(`/properties/${id}/image`, { format: "json" }),
]);
```

### Response times

The property record typically returns in under 2 seconds. The reports query public agency services at request time: the site report typically takes 5 to 15 seconds and the demographics report up to 30 seconds. Set client timeouts accordingly.

## Response fields

| Data | Field |
| - | - |
| Owner of record | `record.data.property.owner_name` |
| Saved owner research | `record.data.owner` |
| Sales | `record.data.sales.sales`, newest first |
| Assessed value and tax | `record.data.assessments.assessments`, newest roll first |
| Zoning | `record.data.zoning.zoning_code`, `record.data.zoning.map_district` |
| Permits | `record.data.permits.permits`, newest first |
| Violations and inspections | `record.data.events.events`, where the city publishes them |
| Loans | `record.data.loans` |
| Flood zone and hazards | `site.data.hazards.findings` |
| Environmental sites | `site.data.environmental.findings` |
| Tax incentives | `site.data.incentives.findings` |
| Nearest substation, rail line, water system and other infrastructure | `lookup.data.results.<type>.nearest` |
| Zoning district on the zoning map | `lookup.data.results.zoning_districts.district` |
| Population and income | `demographics.data.acs` |
| Image source and year | `image.data.years[0]` |

Fields a source does not publish are listed in each response's `missing` array with a reason. They are never returned as zero. See [Missing data](/docs/api/making-requests.md#missing-data).

**1. Owner research (optional)**

When the owner of record is an LLC, trust or other entity, owner research identifies the people behind it. A run takes several minutes and costs \$0.10. A run that identifies no person is not charged.

```bash cURL theme={null}
curl https://api.westkite.com/v1/research \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "property_ids": ["property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0"] }'
```

Poll the run with `GET /v1/research/{id}?wait=60`. Each person in `result.people` has a `person_id`, which [contacts](/docs/api/research.md#retrieve-contact-details) takes to return an email, phone number or LinkedIn profile. After a run completes, `parts=owner` on the property record includes the result at no extra charge.

## Cost

* A property record costs \$0.01 regardless of the parts requested.
* Search, images, the catalog and coverage are free. Lookup is \$0.001 per type answered; a type that finds nothing costs nothing.
* `max_cost_usd` on any call sets the most it can charge. Keys can also carry a monthly spend cap. See [Pricing and billing](/docs/api/pricing.md).
* For many properties, use [batch retrieve](/docs/api/properties.md#batch-retrieve-properties) or [exports](/docs/api/exports.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.