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

# Lookup

> What is true at one place, per type: the zoning district, the flood zone, the nearest substation, walkability and every other map, infrastructure and screening type. $0.001 per type that found something.

GET`/v1/lookup`

## Parameters

Send exactly one place: `property_id`, `apn` with `county`, `address`, or `lat` and `lng`.

| Name | Type | Description |
| - | - | - |
| `property_id` | string | A property ID, `property:<uuid>`. |
| `apn` | string | A parcel number, with `county`. |
| `county` | string | The APN's county: a five-digit FIPS code or a name with its state, such as `Travis County, TX`. |
| `address` | string | A street address as free text. |
| `lat`, `lng` | number | A point in the United States, in decimal degrees. |
| `types` | string | Required. Comma-separated types and topics, such as `flood_zones,substations,walkability` or `power`. See [types](#types) and [topics](#topics). |
| `radius_mi`, `radius_m` | number | Infrastructure types: the farthest to look. `places`: the circle counted, default 1 mile, at most 10. |
| `category` | string | `places`: up to 10 comma-separated category codes to answer, such as `italian_restaurant,ice_cream_shop`. See [places](#places). |
| `level` | string | `places`: how finely to count categories: `category` (the default, such as `italian_restaurant`), `basic` (`restaurant`) or `top` (`food_and_drink`). |
| `max_cost_usd` | number | Refuse the call if it could cost more. |

An address or APN that matches more than one parcel answers [`invalid_request`](/docs/api/errors#invalid_request) with the matching parcels in `candidates`. Send one of their property IDs.

## Request

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/lookup" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "property_id=property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0" \
  --data-urlencode "types=flood_zones,zoning_districts,substations,walkability,karst"
```

```typescript TypeScript theme={null}
const params = new URLSearchParams({
  property_id: "property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0",
  types: "flood_zones,zoning_districts,substations,walkability,karst",
});
const res = await fetch(`https://api.westkite.com/v1/lookup?${params}`, {
  headers: { Authorization: `Bearer ${process.env.WESTKITE_API_KEY}` },
});
const { data, missing } = await res.json();
```

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

res = requests.get(
    "https://api.westkite.com/v1/lookup",
    params={
        "property_id": "property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0",
        "types": "flood_zones,zoning_districts,substations,walkability,karst",
    },
    headers={"Authorization": f"Bearer {os.environ['WESTKITE_API_KEY']}"},
)
body = res.json()
```

## Response

```json Response 200 theme={null}
{
  "data": {
    "resolved": {
      "property_id": "property:08cdd01c-64d6-8ed2-b7b8-8158ccadf8a0",
      "address": "550 MADISON AVENUE",
      "point": { "lat": 40.761467, "lng": -73.97351 },
      "exact": true
    },
    "results": {
      "flood_zones": {
        "kind": "screening",
        "findings": [
          { "id": "flood", "group": "Flood", "name": "Minimal flood risk", "value": "Zone X", "tone": "good", "source_id": "fema-flood" }
        ]
      },
      "zoning_districts": {
        "kind": "map",
        "district": {
          "code": "C5-3",
          "class": "commercial",
          "class_label": "Commercial",
          "jurisdiction": "New York",
          "source": { "id": "ZON-NY-004", "publisher": "NYC Dept of City Planning", "vintage": "2026-10-23" }
        },
        "note": "The district is read from the city or county's published zoning map at this point…"
      },
      "substations": {
        "kind": "infrastructure",
        "nearest": {
          "name": "IRT Substation #42",
          "detail": "New York City Transit Authority · Rail traction",
          "distance_m": 451,
          "distance_miles": 0.28,
          "direction": "E",
          "source": { "id": "osm-substations", "publisher": "OpenStreetMap contributors via Overture Maps" }
        }
      },
      "walkability": {
        "kind": "map",
        "radius_m": 0,
        "count": 1,
        "features": [
          { "distance_m": 0, "block_group": "360610102001", "walkability_index": 15.333333, "band": "Most walkable" }
        ],
        "source": { "id": "epa-walkability", "publisher": "EPA", "vintage": "Smart Location Database v3, 2019 block groups" }
      },
      "karst": {
        "kind": "map",
        "radius_m": 0,
        "count": 0,
        "features": [],
        "source": { "id": "usgs-karst", "publisher": "USGS", "vintage": "2014" }
      }
    },
    "types": ["flood_zones", "zoning_districts", "substations", "walkability", "karst"]
  },
  "missing": [{ "field": "karst.features", "reason": "not_found", "note": "None covers this point." }],
  "billing": { "operation_id": "op_c1d6…", "operation": "lookup", "charged_usd": 0.004, "balance_usd": 9.95 },
  "request_id": "req_c1d6…"
}
```

Some fields are shortened. Four types found something, so the call cost \$0.004; `karst` found nothing and cost nothing.

| Field | Meaning |
| - | - |
| `resolved` | The place the results describe: `property_id` when a property matched, its `address`, the `point` read, and `exact`, `false` when an address matched only approximately. |
| `results` | One entry per type, keyed by type. A topic you asked for expands to its types here. |
| `results.<type>.kind` | `screening`, `map` or `infrastructure`. See [types](#types). |
| `findings` | Screening types: what the site screen found for this type at the place, each with a `name`, a `value`, a `tone` (`good`, `neutral` or `bad`) and its `source_id`. |
| `features` | Map types: the features that cover the point, each with the map's own fields, plus `count` and `radius_m`. Imagery-only maps, such as `night_lights`, have no values to read and come back in `missing` as `not_published`. |
| `district` | `zoning_districts`: the district's local `code` and `name`, a broad `class`, the `jurisdiction` and the map it came from, with its `standards`, `allowed_uses` and `state_overrides` beside it. |
| `nearest` | Infrastructure types: the nearest feature, with `distance_m`, `distance_miles` and `direction`. For more than one, use [find](/docs/api/find.md#map-and-infrastructure-types) with `near`. |
| `source` | The publisher and dataset the result came from. |
| `types` | Every type the call read, after topics expand. |
| `missing` | Each type that found nothing or could not be read, with its reason. These are free. |

## Types

Lookup answers every type that is not a record. [Records](/docs/api/find.md#types-and-fields), such as properties, sales and permits, are listed with find. The [catalog](/docs/api/catalog.md) has each type's fields and source.

| Kind | What lookup returns | Types |
| - | - | - |
| Infrastructure | The nearest feature | `substations`, `transmission_lines`, `power_plants`, `electric_utilities`, `power_capacity`, `interconnection_queues`, `gas_pipelines`, `gas_utilities`, `water_systems`, `sewer_service`, `wastewater_plants`, `local_roads`, `highways`, `interstates`, `highway_ramps`, `truck_routes`, `rail_lines`, `rail_sidings`, `rail_crossings`, `intermodal_terminals`, `airports`, `ports`, `obstructions`, `elevation`, `places` |
| Map | What covers the point, or its value there | `dams`, `lomr`, `loma`, `drought`, `hail`, `hail_swaths`, `disaster_declarations`, `flood_claims`, `nonattainment`, `air_monitors`, `energy_community`, `foreign_trade_zones`, `ftz_sites`, `critical_habitat`, `airspace`, `uas_grid`, `karst`, `radon`, `airport_noise`, `dot_projects`, `planned_transit`, `pipeline_miles`, `walkability`, `climate`, `business_formation`, `power_outages`, `cables_telegeography`, `cables_noaa`, `shale_plays`, `water_stress`, `broadband_fiber`, `mobile_5g`, `seismic`, `landslide`, `tree_canopy`, `cropland`, `greenness`, `night_lights`, `solar_resource`, `noise`, `noise_aviation`, `noise_road`, `noise_rail`, `utility_rates`, `special_use_airspace`, `urban_areas`, `fiber_latency`, `transmission_redundancy`, `open_ocean`, `class_i_areas`, `petroleum_pipelines`, `gas_compressors`, `gas_storage`, `lng_terminals`, `iso_rto`, `egrid_subregions`, `solar_farms`, `wind_turbines`, `orphaned_wells`, `sedimentary_basins`, `hospitals`, `zoning_districts`, `data_center_moratoriums`, `antenna_structures`, `air_design_values`, `energy_costs`, `climate_tmy`, `transformers`, `watershed_water`, `repowering_sites`, `fire_perimeters`, `housing_density`, `surface_management`, `stream_gage`, `cemeteries`, `land_cover`, `surface_water`, `pv_yield`, `bridges`, `queue_regions` |
| Activity | Workers, traffic, transit and counters around the point | `activity` |
| Insurance | Insurance claims, policies and losses for the building, its tract, ZIP and county, and its state's market | `insurance` |
| Safety | Reported crime near the point and for the agency that polices it, fatal crashes, and the nearest fire and police stations | `crime`, `fire_stations`, `police_stations` |
| Historic | National Register listings and districts, National Historic Landmarks, local landmarks and districts, and state historic tax credits | `historic` |
| Construction cost | Federal prevailing wages for the county, national construction price indexes and spending, permit timelines where West Kite holds permits, and a link to the state's prevailing wage schedule | `construction_cost` |
| Screening | What covers the point, as the site report reads it | `flood_zones`, `opportunity_zones`, `nmtc_tracts`, `lihtc_tracts`, `hubzones`, `enterprise_zones`, `wetlands`, `protected_land`, `soils`, `slope`, `wildfire`, `natural_hazard_risk`, `sea_level_rise`, `contaminated_sites`, `parcel_slope` |

What each map type shows, with pictures, is on [Map layers](/docs/api/layers.md). Screening types are read only at a point, with lookup or in the [site report](/docs/api/reports.md#site-report).

`parcel_slope` needs a `property_id`, because it measures the whole lot. Its finding carries `values`:

* `slope_mean_pct`, `slope_p50_pct` and `slope_p90_pct`.
* `share_over_5pct`, `share_over_10pct` and `share_over_15pct`, each from 0 to 1, sampled about 30 m apart.
* `lot_acres`.
* A derived solar potential, `solar_potential_mwac_low` and `_high`, at NREL's 5.5 to 10 acres per MWac, on the gross lot and on the acres under 10% grade.

The solar figures are a sizing prior, not a design. A bare point answers `not_covered`.

## Topics

A topic in `types` expands to its types, and each type answered is charged.

| Topic | Expands to |
| - | - |
| `power`, `transport`, `utilities` | The infrastructure types of that domain |
| `infrastructure` | All three: power, transport and utilities |
| `businesses` | `places` |
| `activity` | `activity` |
| `insurance` | `insurance` |
| `safety` | `crime`, `fire_stations`, `police_stations` |
| `hazards`, `environmental`, `incentives`, `buildability`, `location` | The types the [site report](/docs/api/reports.md#site-report) reads for that topic; `buildability` also includes `historic` |

No topic includes `construction_cost`; ask for it by name.

`GET /v1/catalog?topic=power` lists a topic's types.

## Places

`places` is every open business and place in the radius: restaurants, shops, offices, clinics, gyms, independents and chains alike. Each one has a category such as `italian_restaurant`, `ice_cream_shop` or `pharmacy`, out of about 2,000. Lookup counts them exactly: every place in the circle, not a sample. The data is Overture Maps places (CDLA Permissive 2.0), stored for every US county, DC and Puerto Rico.

Name categories in `category` to ask "is there one nearby". Each comes back with how many are in the radius and the nearest one, even when it is outside the radius. That answers a gap: no ice cream shop within a mile, and the nearest is 2.3 miles away.

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/lookup" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "lat=34.0158" --data-urlencode "lng=-118.4952" \
  --data-urlencode "types=places" \
  --data-urlencode "radius_mi=1" \
  --data-urlencode "category=italian_restaurant,ice_cream_shop"
```

| Field | Meaning |
| - | - |
| `radius_m` | The circle counted. |
| `total` | Every open place in the circle. |
| `level` | The level `categories` is counted at. |
| `categories` | Each category in the circle, most first, with `places` (the exact count) and `nearest_m`. At `level=category`, `parents` lists the broader categories above it. |
| `chains` | The brands in the circle: `locations` (chain locations in all), `brands` (how many brands), and `top`, up to 100 brands, each with its `locations`, `wikidata` id, `nearest_m` and `nearest_address`. A chain is a place with a brand: Overture's, or where Overture names none, the brand of the chain's own store locator listing that place. |
| `matches` | One entry per category you named: `within_radius`, the count in the circle, and `nearest`, the closest place of it within 25 miles, with its name, address, distance, contact details, `brand_source` and `confirmed_by` (as in [find](/docs/api/find.md#places)). `nearest` is `null` when there is none that close. |

A category covers the categories below it: `restaurant` includes `italian_restaurant`. It also covers places that list it as an alternate, such as a pizza place that is also Italian. An unknown code is refused with the closest codes. For broader counts, ask for `level=basic` (restaurant, cafe, clothing store) or `level=top` (food and drink, retail, health care). To list the places themselves, filtered by category or brand, use [find](/docs/api/find.md#places).

## Activity

`activity` is the activity around a point: daytime workers, road traffic, transit service and ridership, and foot and bike counts. It's the same answer as [`parts=activity`](/docs/api/properties#activity) on a property. With a `property_id`, roads are measured from the parcel outline. A section whose source isn't loaded for the state is `not_covered` and listed in `missing`, never zero.

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/lookup" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "lat=41.8781" --data-urlencode "lng=-87.6298" \
  --data-urlencode "types=activity"
```

## Historic

`historic` is the historic designation at a place, in one block. It's the same answer as [`parts=historic`](/docs/api/properties#historic) on a property. It's included in the lookup price.

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/lookup" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "lat=40.7347" --data-urlencode "lng=-73.9997" \
  --data-urlencode "types=historic"
```

| Section | What it holds |
| - | - |
| `designated`, `summary` | Whether any source places a listing, landmark or district here, and one flag each for National Register listing, National Register district, National Historic Landmark, local landmark and local district |
| `national_register` | `listings`: National Register properties within 30 m of the point or on the lot, with the reference number, name, resource type, listed date, National Historic Landmark flag and date, the nomination's National Archives link, the boundary type and how it matched. `districts`: districts whose boundary holds the point or overlaps the lot, with `contributing` set to `unknown`, because the National Park Service doesn't publish which buildings contribute. `removed`: delisted properties, kept apart |
| `local` | Landmarks, historic districts and inventories from city preservation offices: New York City, San Francisco, Washington DC, Boston, Seattle, Denver, Portland (OR), New Orleans, Austin, Charleston (SC), Los Angeles, Pasadena and Glendale (CA). Each record has its jurisdiction, designation date, status, contributing status where the city publishes it, and its source and licence |
| `state_inventory` | Massachusetts only: the Massachusetts Historical Commission inventory (MACRIS), designated and inventoried records, each with its status |
| `state_credit` | The state's historic rehabilitation tax credit (rate for income-producing and owner-occupied buildings, annual cap) from the National Trust's January 2023 guide, or `available: false` where the guide lists none |
| `federal_credit` | Whether the 20% federal rehabilitation credit could apply, derived from the National Register match |

A point record matches within 30 m. Most National Register points are about 12 m accurate, and the Park Service leaves restricted-address listings off its map. So a match is a strong lead, not a legal determination, and no match doesn't prove a property is unlisted. A city whose register isn't loaded is `not_covered` under `historic.local` in `missing`. None found where a register is loaded is `not_found`. Neither is `false`.

## Insurance

`insurance` is insurance, claims and loss data for a place, in one block. It's the same answer as [`parts=insurance`](/docs/api/properties#insurance) on a property; use lookup for an address or point without a property ID. One type, one charge.

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/lookup" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "lat=29.7604" --data-urlencode "lng=-95.3698" \
  --data-urlencode "types=insurance"
```

| Section | What it holds |
| - | - |
| `geography` | The state, county, census tract and ZIP the point falls in |
| `building` | `flood_zone` (FEMA zone, whether it's a high-risk area, base flood elevation), `natural_hazard_risk` (FEMA National Risk Index ratings and expected annual building loss rate), and in California `wildfire_structure_damage`: every structure CAL FIRE inspected after a wildfire, No Damage included, with incident name and number, damage, year built, assessed improvement value and construction. `at_property` lists this property's inspections, matched by its APN, or within 40 m of the point when there is no APN match (`matched_by` says which); `nearby` (within `radius_mi`, default half a mile). `fema_damage_assessments` lists buildings FEMA assessed after declared disasters from 2011 to 2021 (Sandy, Harvey, Irma, Maria, Michael, Laura, Ida, the Marshall Fire, tornadoes and others): the event, disaster number, damage (destroyed, major, minor, affected, no damage) and method (modeled, remote imagery or field), with `at_property` within 40 m of the point and `nearby` counts. FEMA's points carry no address or parcel, so the match is by location; FEMA has published no structure-level data for later events |
| `area` | One entry per dataset below, each by `tract`, `zip` and `county` where the publisher gives that level |
| `market` | Insurance market context for the state |

`area` datasets:

| Key | What it holds | Levels | Years |
| - | - | - | - |
| `flood_insurance_claims` | National Flood Insurance Program claims: for non-residential (commercial), multifamily (5+ units and condo associations) and 1–4 family buildings each, claims, claims with a payment, paid on building and contents, and building damage | Tract, ZIP, county | 1978 on |
| `flood_insurance_policies` | Flood policies with the same split: policy terms, policy-years, policies in force today, premium, and insured building and contents values | Tract, ZIP, county | 2009 on |
| `flood_insurance_earned_exposure` | Flood exposure on a calendar-year earned basis: each policy is earned pro rata by day over the years it covers, giving earned policy-years, earned premium, and insured building and contents value-years, split into non-residential (commercial), multifamily and 1–4 family. Pair with `flood_insurance_claims` (by year of loss) for frequency and loss cost | Tract, ZIP, county | 2009 on |
| `residual_market` | What the state insurers of last resort hold: commercial and residential policies, buildings, premium and exposure from TWIA (coastal Texas counties), Florida Citizens (commercial residential and non-residential apart) and the California FAIR Plan (by ZIP) | ZIP, county | Latest report; FAIR Plan 2022 on |
| `repeat_flood_losses` | Structures with two or more flood claims: repetitive and severe repetitive loss, mitigated, insured | Tract, ZIP, county | Current list |
| `flood_insurance_take_up` | Residential flood contracts against residential structures, overall and in the high-risk zone | County | Current |
| `sba_disaster_losses` | SBA disaster loans: business verified real estate and contents losses, home verified losses, amounts approved | ZIP, county | 2000 to 2022 |
| `storm_damage` | NOAA Storm Events: events, property and crop damage estimates, deaths and injuries, damage by peril | County | 1950 on |
| `public_assistance` | FEMA repair grants for public buildings, utilities, roads and debris, by damage category | County | 1998 on |
| `mitigation_projects` | Buildings in FEMA hazard mitigation applications: buyouts, elevations, insured, repetitive loss | ZIP, county | Current list |
| `disaster_aid` | FEMA household disaster aid: how many reported homeowners or flood insurance, homes destroyed, verified losses, aid paid | Tract, ZIP, county | 1998 on |
| `homeowners_insurance` | All-peril homeowners insurance: claim frequency, average paid claim, paid loss ratio, premium per policy, nonrenewal and cancellation rates (U.S. Treasury Federal Insurance Office) | ZIP | 2018 to 2022 |
| `catastrophe_claims` | Insurance claims reported to the regulator after each hurricane or storm: Florida by county for 2016 to 2024 storms (commercial property and commercial residential for Matthew and Hermine), Texas Hurricane Harvey by county (personal lines and other lines, with paid losses) and the 2021 winter storm by county and ZIP | ZIP, county | 2016 on |
| `texas_homeowners_losses` | Texas paid homeowners losses by peril and policies in force | County | 2019 on |
| `california_homeowners_market` | California homeowners policies written new, renewed and nonrenewed | ZIP, county | 2015 to 2023 |
| `crop_insurance_losses` | Federal crop insurance indemnities by cause | County | 1989 on |

`market` datasets:

| Key | What it holds | Level |
| - | - | - |
| `insurance_price_index` | BLS producer price indexes since 1998, monthly: commercial multiple peril insurance and its premiums, all property and casualty lines, homeowners; latest value and 12-month change | National |
| `commercial_rate_filings` | Commercial property and commercial multi-peril rate filings by year (filings, filings changing rates, median change) and the 40 most recent filings with a rate change: insurer, product, change, effective dates | State (Texas so far) |
| `commercial_insurance_market` | NAIC direct premiums written and earned and loss ratios for fire, allied lines and commercial multi-peril by state, and surplus lines property premium over time (15 states, Texas commercial property since 2008, Florida monthly, New York) | National, state |
| `catastrophe_claims_by_line` | Florida and Texas: each hurricane or storm's statewide claims by line of business (commercial property, commercial residential, business interruption and others), with losses where published | State |
| `reit_insurance_disclosures` | Listed REITs' disclosed property insurance programs from their latest 10-K: property limit per occurrence, windstorm and earthquake deductibles and limits, terrorism and cyber cover, captive insurers, each with the sentence it came from. Portfolio-wide, not per building | National |
| `market_surveys` | Cited broker survey figures for US commercial property rate change by quarter (Marsh, CIAB, MarketScout) and apartment insurance cost per unit (Federal Reserve, National Apartment Association) | National |

Market datasets carry `series` (each with `points` as `[period, value]`) and cited `items`, not tract or ZIP levels.

On a commercial or multifamily property, `commercial_first` is true and the commercial datasets come first. Each level carries:

| Field | Meaning |
| - | - |
| `totals` | Counts and dollars summed over every year |
| `latest_year`, `latest` | The newest year and its values |
| `by_year` | Every year with its values |
| `values` | A snapshot dataset's values, in place of years |

Tracts are 2020 Census tracts. Where FEMA geocoded a record to a 2010 block group, it is placed in the 2020 tract that holds most of that block group's land.

Each dataset also lists its `measures` (id, label, unit: `count`, `usd` or `share`), a `note` on what the publisher counts, and its `source` (publisher, link, licence, release). A level the publisher has no record for is `null` and listed in `missing` as `insurance.area.<dataset>` with `not_found`. That is not zero.

Public sources withhold claims for individual properties: FEMA publishes flood claims by tract, ZIP and county, and the Treasury publishes homeowners figures by ZIP. So area figures describe the property's surroundings, not the property itself. Claims history for one property (CLUE) is a consumer report that only the owner, or someone the owner authorizes, can get.

## Construction and entitlement cost

`construction_cost` is what it costs to build in the place's county, in one block: federal prevailing wages, construction price indexes and spending, how long permits take to issue, and a link to the state's prevailing wage schedule. It's the same answer as [`parts=construction_cost`](/docs/api/properties#construction-and-entitlement-cost) on a property; use lookup for an address or point without a property ID. The block is read by county. Ask for it by name: no topic includes it. On self-serve plans it costs \$0.02, charged only when it answers.

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/lookup" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "lat=30.2672" --data-urlencode "lng=-97.7431" \
  --data-urlencode "types=construction_cost"
```

| Section | What it holds |
| - | - |
| `geography` | `state_fips` and `county_fips` of the county the block is read for |
| `wages` | Davis-Bacon wage determinations for the county: `davis_bacon` (a list of determinations), `applies_to`, `note` and `source` |
| `state_wages` | A link to the state's own prevailing wage schedule, in California, New York, New Jersey, Illinois and Washington |
| `price_indexes` | National producer price indexes for construction, monthly |
| `construction_spending` | National private construction spending by type, monthly |
| `permit_timeline` | Days from filed to issued for permits in the county's jurisdictions, derived by West Kite from the permits it serves |
| `impact_fees` | Always `null` for now, and listed in `missing` |
| `related` | Where to find construction employment and wages by county (BLS QCEW) and permits issued (Census Building Permits Survey): both are in the [demographics report](/docs/api/reports.md#demographics-report) |
| `releases` | The release date of each section |

### Wages

`wages.davis_bacon` lists every active Davis-Bacon general wage determination for the county, from the U.S. Department of Labor on SAM.gov. West Kite holds every active general determination, about 4,200, and refreshes them monthly. Each determination has:

| Field | Meaning |
| - | - |
| `decision` | The determination number, such as `TX20260001` |
| `revision` | Its revision number |
| `published` | The date this revision was published |
| `construction_types` | Which work it covers: Building, Residential, Heavy or Highway |
| `statewide` | Whether the determination covers the whole state |
| `url` | The determination on SAM.gov |
| `rates` | One row per craft and rate |

Each rate row has:

| Field | Meaning |
| - | - |
| `group` | The rate group code: `ELEC0716-001` is a union rate, `SU…` a survey rate, `UAVG…` a union average |
| `effective` | The date the rate took effect |
| `area` | The zone within the county, when the schedule has zones |
| `classification` | The craft, such as electrician or carpenter |
| `base` | The base hourly rate, in dollars |
| `fringe` | The hourly fringe, in dollars. `null` when the schedule writes a percentage or a formula instead |
| `fringe_text` | That percentage or formula, as written |
| `note` | Premium pay or footnote text |

A row leaves out `area`, `fringe_text` and `note` when the schedule has none, but always has `fringe`. A published fringe of 0.00 is a real value, not a missing one.

The `wages` block also has `applies_to` (what the rates bind), a `note`, and `source`: `publisher`, `url`, `licence`, `release` and `built_at`.

Davis-Bacon rates bind federally funded or assisted construction only, such as HUD-insured or federally funded affordable housing. They are not market wages. A county with no active determination has an empty `davis_bacon` list, and `missing` lists `construction_cost.wages.davis_bacon` as `not_covered`.

### State prevailing wages

California, New York, New Jersey, Illinois and Washington set their own prevailing wages for state-funded public works. West Kite links to each schedule rather than serving the rates: it has not loaded state prevailing wage rates yet. `state_wages` has `state`, `publisher`, `url`, `form` (how the state publishes it) and `served_as: "link"`. In other states `state_wages` is `null`, and `missing` lists `construction_cost.state_wages` as `not_covered`.

### Price indexes and construction spending

Both are national and monthly. Each has `geography: "national"`, a `series` list and a `source`.

`price_indexes` are U.S. Bureau of Labor Statistics producer price indexes, not seasonally adjusted. The newest four months are preliminary.

| Series | BLS series |
| - | - |
| Inputs to construction industries (goods) | `WPUIP2300001` |
| New warehouse building construction | `PCU236221236221` |
| New industrial building construction | `PCU236211236211` |
| New school building construction | `PCU236222236222` |
| New office building construction | `PCU236223236223` |
| New health care building construction | `PCU236224236224` |
| Steel mill products | `WPU1017` |
| Lumber | `WPU081` |
| Ready-mix concrete | `WPU1333` |

`construction_spending` is the Census Bureau's value of private construction put in place (C30) by type, in millions of dollars at a seasonally adjusted annual rate.

Each series has:

| Field | Meaning |
| - | - |
| `id`, `label` | The series and its name |
| `unit` | `index` for price indexes, `usd_millions_saar` for spending |
| `frequency`, `seasonally_adjusted` | `monthly`; `false` for price indexes, `true` for spending |
| `latest_period`, `latest` | The newest month and its value |
| `change_12_months` | The change over 12 months, as a fraction: 0.034 is 3.4% |
| `points` | Every month, as `[period, value]` |

Price index series also have `group` (`inputs`, `output` or `materials`), `bls_series_id`, `url` (the series on BLS), `latest_preliminary` (whether the newest month is still preliminary) and `change_36_months`. Spending series also have `latest_status`, the newest month's status flag as Census prints it, or `null`.

### Permit timeline

`permit_timeline` is derived by West Kite from the permits it serves; `derived` is `true` and `label` says so. It counts the days from a permit's filed date (application or submittal) to its issued date, for permits issued in the 24 months to `as_of` that carry both dates.

Each entry in `jurisdictions` is one permit source in the county:

| Field | Meaning |
| - | - |
| `source_id`, `jurisdiction`, `dataset`, `publisher`, `url` | The permit source and who publishes it |
| `period` | `issued_from` and `issued_to`, the issue dates counted |
| `sample_size` | Permits counted |
| `groups` | Days to issue, by permit group: `all`, `new_building`, `addition_alteration`, `trade`, `demolition` and `other` |
| `too_few_to_report` | Groups left out because they had fewer than 200 permits, each with `group` and `permits`. Absent when every group is reported |

Each group has `permits`, `median_days`, `p25_days`, `p75_days`, `p90_days` and `same_day_share` (the share issued the day they were filed). A group needs 200 permits to be reported. Groups are assigned by keywords in the publisher's permit type and description.

It covers about 39 counties, among them Miami-Dade, Harris (unincorporated county only; the City of Houston isn't included), Travis (City of Austin), King (City of Seattle), San Diego, Los Angeles (LADBS), Cook (Chicago), the New York City boroughs, Wake, Loudoun, Denver and Montgomery County, Maryland. Sources whose filed and issued dates are the same for most permits are left out. Elsewhere `permit_timeline` is `null`, and `missing` lists `construction_cost.permit_timeline` as `not_covered`.

This is not an official processing-time statistic, and permits still pending aren't counted. `method` and `note` describe how it's built, and `source` names West Kite as the publisher with the release. Each jurisdiction names its own permit publisher.

### Impact fees

`impact_fees` is always `null` for now, and `missing` lists `construction_cost.impact_fees` as `not_covered`. No city or county in West Kite's coverage publishes its impact fee schedule as data; the schedules are ordinances and PDFs. It is never shown as zero.

### Missing values

A value West Kite doesn't have is `null`, or an empty list, and `missing` lists it under `construction_cost.<field>` with a reason: `not_covered` where no source covers the county, `not_published` where a section isn't in the current release yet, or `temporarily_unavailable` where it couldn't be read just now, so retry. It is never zero.

## Crime

`crime` is reported crime and public safety for a place, in one block. It's the same answer as [`parts=crime`](/docs/api/properties#crime) on a property. It reports what each police agency published, labelled with the agency, dataset and period. It computes no safety score.

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/lookup" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "address=200 N Spring St, Los Angeles, CA" \
  --data-urlencode "types=crime"
```

| Section | What it holds |
| - | - |
| `geography` | The state, county, incorporated place and county subdivision the point falls in |
| `tier` | `A` where a city or county incident feed covers the point, `B` where only the agency figures do, `null` where neither does |
| `incidents` | Tier A. Reported incidents within 0.25, 0.5 and 1 mile, for the last 12 complete months and the three 12-month windows before, by category. Also the agency, dataset, licence, location precision, `as_of`, `covered_from`, and the agency's own top categories within half a mile |
| `agency` | Tier B. The FBI Crime Data Explorer figures for the agency that polices the place, matched by its ORI to the Census place, town or county. Each year has its months reported, its offense counts and its violent and property totals. A full year also has rates per 1,000 residents of the agency's whole jurisdiction, with the state and US rates. The current year runs to date |
| `traffic_fatalities` | NHTSA fatal crashes and deaths within each ring, 2020 to 2024, by year |
| `nearest_stations` | The nearest fire or EMS station and the nearest police station (USGS National Structures Dataset) |

Categories are `violent` (offenses against a person, and robbery), `property` (theft, burglary, vehicle theft, arson, vandalism, fraud), `drug`, `weapon` (weapon law violations) and `other`. `incidents.top_categories` keeps the agency's own names.

City feeds come from 18 police agencies: Los Angeles, Houston, Dallas, Seattle, Washington DC, Boston, Nashville, Baltimore, Milwaukee, Minneapolis, Cleveland, Omaha, Colorado Springs, Oakland, Buffalo, St. Louis County, Long Beach and Wichita. New York joins with the next monthly build. Houston, Long Beach and Wichita publish only a rolling window, so West Kite keeps a daily copy, and `covered_from` says where that copy starts. Elsewhere the FBI agency figures answer.

Some values are never shown as zero:

* **A window the feed doesn't reach.** It has `rings: null` and is listed in `missing`.
* **A month the agency didn't report to the FBI.** It is `null`. A year with missing months is `partial`, with counts but no rate, and a year with none is `not_reported`.
* **A place no feed covers.** `missing` lists `crime.incidents` as `not_covered`.

The agency rate describes the whole jurisdiction, not the block.

`fire_stations` and `police_stations` are also types of their own: lookup gives the nearest within 25 miles, and [find](/docs/api/find.md) lists them near a point, 10 miles by default.

## Fire protection

`fire_protection` is the fire sprinkler pre-design packet for a place: water system, adopted codes and NFPA 13 edition, nearby hydrant flow tests, seismic category, freeze days, elevation, the nearest fire station and permit timelines. It's the same answer as [`parts=fire_protection`](/docs/api/properties#fire-protection) on a property, and with a `property_id` it adds the building. It costs \$0.02.

Two of its pieces are also types of their own:

* `building_codes` is the codes the jurisdiction adopted (FEMA BCAT), with the derived NFPA 13 edition and high-rise retrofit flag.
* `hydrant_flow_tests` is the published hydrant flow tests within 600 m (`radius_m` up to 3,000). They're screening only, and every answer says a current test from the water purveyor is required.

```bash cURL theme={null}
curl --get "https://api.westkite.com/v1/lookup" \
  -H "Authorization: Bearer $WESTKITE_API_KEY" \
  --data-urlencode "address=200 N Spring St, Los Angeles, CA" \
  --data-urlencode "types=fire_protection"
```

## Zoning districts

`zoning_districts` is the district on West Kite's national zoning map at the point, read from the city or county's published zoning map, with the district's rules where a government publishes them as data.

| Field | Meaning |
| - | - |
| `district` | The district: its `code` as the city or county publishes it (such as `M1-2` or `I-1`), local `name`, a broad `class` read from the name and code (`residential`, `multifamily`, `commercial`, `office`, `mixed`, `industrial`, `agricultural`, `open`, `public`, `planned` or `other`), the `jurisdiction`, and the `source` map with its publisher, link and vintage |
| `standards` | The district's dimensional standards, where a source publishes them. See [zoning standards](#zoning-standards). |
| `overlays` | Overlay districts at the point with standards of their own: San Francisco height and bulk districts and Massachusetts MBTA Communities (3A) districts. They're listed beside `standards`, never merged into it. |
| `allowed_uses` | Whether broad uses are `permitted`, `conditional`, `limited` or `prohibited` in the district, where the source says: `uses` (residential, multifamily, retail, office, industrial and more) and `listed` (uses in the source's own words) |
| `state_overrides` | State laws that set a floor local zoning can't go below, each judged for this place. See [state overrides](#state-overrides). |
| `buildable` | With a `property_id`: a screening estimate of floor area and units from the lot's area. See [buildable estimate](#buildable-estimate). |

The zoning map holds over 5,000 cities and counties. In a city, the city's own map is used; in unincorporated land, the county's. Where no map covers the place, `missing` lists `zoning_districts.district` as `not_covered`, and the type costs nothing. Zoning stays free in lookup, standards included. A property's zoning code from the assessor roll is in the [property record's](/docs/api/properties.md#zoning) `zoning` part, which carries the same rules.

### Zoning standards

| Field | Meaning |
| - | - |
| `max_height_ft`, `max_stories` | Maximum building height |
| `max_far` | Maximum floor area ratio |
| `max_density_du_ac` | Maximum dwelling units per acre |
| `min_lot_area_per_unit_sqft` | Lot area required for each dwelling unit |
| `min_lot_size_sqft`, `min_lot_width_ft` | Minimum lot size and width |
| `setbacks` | `front_ft`, `side_ft` and `rear_ft` |
| `max_lot_coverage_pct` | Maximum building coverage, percent of the lot |
| `parking_min` | Minimum parking: `per_unit` (spaces per dwelling unit) and `per_1000_sqft` |
| `adu_allowed`, `adus_per_lot` | Accessory dwelling units |
| `max_units_per_lot` | Primary dwelling units allowed per lot |
| `not_regulated` | Fields the source says have no limit in this district. Their value is `null`. |
| `zone` | The district as the standards source names it, with the source's own broad `class` where it gives one (Washington's zone type) |
| `by_building_category` | Washington DC only: the standards for each building category (Residential, Residential (IZ), Non-Residential) |
| `source` | The publisher, layer, link, licence class, the source's vintage and when West Kite read it |
| `citation` | The ordinance `section` or chapter the source cites, its `url`, and `fields`, the source field each value came from |
| `match` | How the standards were found: `map_district` (matched to the map's district, with the `share` of the district's area the standards cover, and `code_matches`: whether the source names the district the same way; where it doesn't, the source may predate a rezoning, and a `note` says so) or `source_outline` (read from the source's own district at the point) |

A value the source doesn't state is `null`, never 0. Where a source gives one district different standards in different places, `standards` is `null` and `missing` says it varies.

Standards come from government compilations and city layers that publish them as data:

| Where | Source |
| - | - |
| Washington, 278 cities and counties | Washington State Zoning Atlas, Department of Commerce |
| Greater Boston, 101 municipalities | MAPC Zoning Atlas |
| Boston | Boston Planning Department zoning subdistricts |
| Massachusetts 3A districts (overlays) | MBTA Communities 3A District Atlas |
| Washington DC | Zoning Regulations of 2016 development standards |
| Nine-county Bay Area | MTC and ABAG Bay Area zoning (BASIS) |
| San Francisco height districts (overlays) | San Francisco Planning |
| New Jersey Highlands, 88 municipalities | New Jersey Highlands Council |
| Rhode Island | RIGIS municipal zoning classifications |
| Westchester County, 43 municipalities | Westchester County Planning |
| Miami-Dade municipalities | Miami-Dade County |
| Denver (stories and ADUs) | City and County of Denver |
| Gary, Indiana | City of Gary |

A place no source covers lists `zoning_districts.standards` as `not_covered` in `missing`; the district is still returned.

### State overrides

| Law | Citation | What it sets |
| - | - | - |
| Texas SB 840 (2025) | Local Gov't Code ch. 218 | Multifamily by right in commercial, office, retail and mixed-use districts: at least 36 units an acre and 45 feet, setbacks of no more than 25 feet, at most one parking space a unit, no FAR limit. Cities over 150,000 in a county over 300,000. |
| Texas SB 15 (2025) | Local Gov't Code §211.054 | Lot minimums of no more than 3,000 sq ft, 30 ft wide, 75 ft deep on new unplatted tracts of five acres or more, same cities |
| Washington HB 1110 (2023) | RCW 36.70A.635 | Four units a lot in cities of 75,000 or more (six near major transit), two in cities of 25,000 to 75,000, on lots zoned predominantly residential |
| Washington HB 1337 (2023) | RCW 36.70A.681 | Two ADUs a lot inside urban growth areas, at least 1,000 sq ft and 24 ft allowed |
| California ADU law | Gov. Code §§66314–66342 | An ADU and a junior ADU by right; at least an 800 sq ft ADU whatever the FAR or coverage; 4 ft side and rear setbacks |
| Oregon HB 2001 (2019) | ORS 197.758; OAR 660-046 | Duplexes to quadplexes, cottage clusters and townhouses in large cities; duplexes in medium cities |

Each has a `status`: `applies`, `does_not_apply`, `may_apply` or `unknown`. It's judged on the city's population (Census Bureau estimates; Texas uses the 2020 census, as its statute does) and the district's class. `inputs` shows what it was judged on, `floors` gives the law's numbers, and `not_checked` lists site conditions West Kite doesn't check, such as distance to transit or an airport.

### Buildable estimate

`buildable` is a screening estimate, not a zoning determination. It needs a lot, so it comes with a `property_id`, never a bare point.

| Field | Meaning |
| - | - |
| `max_floor_area_sqft` | Lot area × maximum FAR, or lot area × coverage × stories where no FAR is published |
| `max_units` | The lowest of lot acres × density, lot area ÷ lot area per unit, and units per lot; raised to a state floor that applies (`state_floor`) |
| `local_max_units` | From the district's own standards, before any state floor |
| `adus_per_lot` | ADUs allowed, the district's or a state law's, whichever is more |
| `inputs`, `max_floor_area_method`, `max_units_method`, `notes` | What it was computed from, and what it leaves out: setbacks, height, parking, overlays and approvals can lower it; bonuses and variances can raise it |

New York City lots keep the City of Yes capacity: the lookup gives `nyc_capacity` and the property's `zoning` part gives `capacity`.

## Missing and unknown

* **None found.** A type that finds nothing at the place is in `missing` as `not_found` and costs nothing.
* **Partial coverage.** A type that covers less than the country answers `not_covered` outside its coverage, because none there may mean no data.
* **Unknown is not none.** When a publisher doesn't answer, `missing` says `temporarily_unavailable`. Ask again shortly.

## Errors

| Code | When |
| - | - |
| [`invalid_request`](/docs/api/errors#invalid_request) | No place or more than one, an unknown type or topic, no `types`, a point outside the United States, or an address or APN that matches several parcels (the message lists `candidates`). |
| [`not_found`](/docs/api/errors#not_found) | No published property has that ID. |
| [`max_cost_too_low`](/docs/api/errors#max_cost_too_low) | Every type answering would cost more than your `max_cost_usd`. |
| [`insufficient_balance`](/docs/api/errors#insufficient_balance) | Your balance can't cover the types asked for. |


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