# Owners

> Documentation index: [llms.txt](https://westkite.com/docs/llms.txt). Every page is also at its URL plus `.md`.

Returns the properties an owner holds in a place, with the owner's affiliates combined, read from the owner names on property records. $0.001 per row.

```endpoint
GET /v1/owners
```

## Parameters

| Name | Type | Description |
|---|---|---|
| `name` | string | Required. The owner's name, such as `Prologis`. Affiliates, such as the LLCs a company holds through, are combined with it. |
| `in` | string | A place, as [find](https://westkite.com/docs/api/find.md#parameters) takes it: a city (`Atlanta, GA`), a county (`Fulton County, GA`) or a ZIP code. |
| `max_cost_usd` | number | Refuse the call if it could cost more. |

## Request

```curl
curl --get "https://api.westkite.com/v1/owners" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "name=Example Holdings" \
  --data-urlencode "in=New York, NY"
```

```typescript
const params = new URLSearchParams({ name: "Example Holdings", in: "New York, NY" });
const res = await fetch(`https://api.westkite.com/v1/owners?${params}`, {
  headers: { Authorization: `Bearer ${process.env.WESTKITE_API_KEY}` },
});
const { data, billing } = await res.json();
```

```python
import os, requests

res = requests.get(
    "https://api.westkite.com/v1/owners",
    params={"name": "Example Holdings", "in": "New York, NY"},
    headers={"Authorization": f"Bearer {os.environ['WESTKITE_API_KEY']}"},
)
body = res.json()
```

## Response

```json 200
{
  "data": {
    "owner": { "name": "Example Holdings", "affiliates": ["Example Madison Owner LLC", "Example Holdings LP"] },
    "in": "New York, NY",
    "properties": [
      {
        "id": "property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0",
        "address": "550 Madison Ave, New York, NY 10022",
        "property_type": "Office",
        "building_sqft": 846000,
        "owner_name": "Example Madison Owner LLC",
        "last_sale_date": "2016-05-12"
      }
    ]
  },
  "missing": [],
  "billing": { "operation_id": "op_2e7c…", "operation": "owners", "charged_usd": 0.001, "balance_usd": 9.94 },
  "request_id": "req_2e7c…"
}
```

The example is illustrative; the owner and its affiliates are made up.

| Field | Meaning |
|---|---|
| `owner.name` | The owner the portfolio is for |
| `owner.affiliates` | The owner-of-record names combined into it |
| `properties` | One row per property, with its `id`, address, type, size and the name on the record. Read any of them with [properties](https://westkite.com/docs/api/properties.md). |

A portfolio is built from owner names on public records, so it lists what is held in a name West Kite can link to the owner. To find the people behind an owner of record, use [owner research](https://westkite.com/docs/api/research.md). To rank every owner in a place, use [find properties](https://westkite.com/docs/api/find.md#properties) with `group_by=owner`.

## Errors

| Code | When |
|---|---|
| [`invalid_request`](https://westkite.com/docs/api/errors.md#invalid_request) | No `name`, or an `in` that isn't a place. |
| [`max_cost_too_low`](https://westkite.com/docs/api/errors.md#max_cost_too_low) | The rows could cost more than your `max_cost_usd`. |
| [`insufficient_balance`](https://westkite.com/docs/api/errors.md#insufficient_balance) | Your balance can't cover the rows. |
