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

# API quickstart

> Get a West Kite API key, make your first call to api.westkite.com, and hand the API to your coding agent.

**1. Get an API key**

> [card] [Get your API key](https://app.westkite.com/developers)
>
> Sign in to the dashboard. Your first key, named Default, is ready with \$10 of free credit.

Keep the key out of your code. Set it as an environment variable:

```bash theme={null}
export WESTKITE_API_KEY="wk_live_…"
```

A coding agent can also sign you up and save the key itself. See the [agent quickstart](/docs/api/agent-quickstart.md).

**2. Choose how you'll use West Kite**

Call the API from your own code, or connect the coding agent you already use.

> [card] [Call the API](#3-find-a-property)
>
> Search, read records and screen sites from your own code. The steps below make your first two calls.

> [card] [Connect your agent](/docs/api/agent-quickstart.md)
>
> Paste one prompt into Claude Code, Codex or Cursor. It signs you up, saves the key and adds West Kite to your project, with \$5 more credit.

Building with the API? Pick where to start:

| Start with | Use it for |
| - | - |
| [Search](/docs/api/search.md) | An address, APN, owner name or place to property IDs. Free |
| [Properties](/docs/api/properties.md) | One property's owner, sales, assessments, zoning, permits and loans |
| [Find](/docs/api/find.md) | Every property, sale, permit or loan in a place that matches your filters |
| [Affordable housing](/docs/api/affordable-housing.md) | Section 8 contracts, tax credits and other subsidies in a place, and when each ends |
| [Multifamily loans and lenders](/docs/api/lenders.md) | Who lends on apartments in a place, on what terms, and how concentrated each bank is in CRE |
| [Lookup](/docs/api/lookup.md) | What is true at one site: zoning district and its standards, flood zone, nearest substation or rail line |
| [Construction cost](/docs/api/lookup.md#construction-and-entitlement-cost) | Davis-Bacon wage rates for a county, construction price indexes and spending, and how long permits take to issue |
| [Reports](/docs/api/reports.md) | A site screen, or demographics for a ring or an area |
| [Owner research](/docs/api/research.md) | The people behind an LLC or trust that owns a property |

**3. Find a property**

Search turns an address into a property ID. It's free.

```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"
```

```typescript TypeScript theme={null}
const res = await fetch(
  "https://api.westkite.com/v1/search?" + new URLSearchParams({ q: "550 Madison Ave, New York" }),
  { headers: { Authorization: `Bearer ${process.env.WESTKITE_API_KEY}` } },
);
const { data } = await res.json();
```

```python Python theme={null}
import os, requests

res = requests.get(
    "https://api.westkite.com/v1/search",
    params={"q": "550 Madison Ave, New York"},
    headers={"Authorization": f"Bearer {os.environ['WESTKITE_API_KEY']}"},
)
data = res.json()["data"]
```

```json Response 200 theme={null}
{
  "data": {
    "results": [
      { "id": "property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0", "title": "550 Madison Avenue · Manhattan · APN 6201001012910010" }
    ]
  },
  "missing": [],
  "billing": { "operation_id": "op_1a4c…", "operation": "search", "charged_usd": 0, "balance_usd": 10 },
  "request_id": "req_6e0b…"
}
```

**4. Read its record**

Pass the ID to [properties](/docs/api/properties.md) with the parts you want. A record costs \$0.01; the analysis parts (insurance, activity, buildings, land, construction\_cost, tax, tenancy, energy, crime) add to it. `parts=tax&tax_price=2500000` adds what the property tax would be at that price. Historic designation (`historic`) is included.

```bash cURL theme={null}
curl "https://api.westkite.com/v1/properties/property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0?parts=owner,sales" \
  -H "Authorization: Bearer $WESTKITE_API_KEY"
```

```typescript TypeScript theme={null}
const id = "property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0";
const res = await fetch(
  `https://api.westkite.com/v1/properties/${id}?` + new URLSearchParams({ parts: "owner,sales" }),
  { headers: { Authorization: `Bearer ${process.env.WESTKITE_API_KEY}` } },
);
const { data, missing } = await res.json();
```

```python Python theme={null}
id = "property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0"
res = requests.get(
    f"https://api.westkite.com/v1/properties/{id}",
    params={"parts": "owner,sales"},
    headers={"Authorization": f"Bearer {os.environ['WESTKITE_API_KEY']}"},
)
record = res.json()
```

The owner of record, its sales and their sources come back in `data`. Anything the county doesn't publish is listed in `missing` with a reason, never returned as zero.

**5. Hand it to your agent**

Paste this into Claude Code, Codex or Cursor:

```text Prompt wrap theme={null}
Sign up for West Kite and get an API key with westkite.com/auth.md, then follow westkite.com/docs/api/agent-quickstart.md to integrate it into the codebase.
```

The agent follows the [agent quickstart](/docs/api/agent-quickstart.md): it signs you up with your email, or uses the key already in `WESTKITE_API_KEY`, then sets West Kite up in your project. To install the skill yourself in Claude Code:

```bash theme={null}
mkdir -p ~/.claude/skills/west-kite-api && curl -fsSL https://westkite.com/skills/west-kite-api/SKILL.md -o ~/.claude/skills/west-kite-api/SKILL.md
```

See [Agents](/docs/api/agents.md#install-the-skill) for Codex, Cursor and other agents.

## Next steps

> [card] [Screen a market](/docs/api/find.md)
>
> Every property, sale or loan in a county or radius that matches your filters.

> [card] [Check a site](/docs/api/lookup.md)
>
> Zoning, flood zone and the nearest power, rail and water at any address or point.

> [card] [Trace an owner](/docs/api/research.md)
>
> The people behind an LLC or trust, then their email, phone or LinkedIn.

To cap what a key can spend each month, set a [spend cap](/docs/api/authentication.md#spend-caps).


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