> ## 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

> Each requested type's answer at one place. Infrastructure types give the nearest feature with its distance; map types give the features covering or near the point (a raster's value); screening types give the site screen's findings for that type; zoning_districts the district, and where a government compilation or city layer publishes them its standards (ZoningStandards: height, stories, FAR, density, lot size and area per unit, setbacks, coverage, parking, ADUs, each null where unstated, with source, citation and vintage), overlays, allowed_uses and state_overrides (ZoningOverride: Texas SB 840 and SB 15, Washington HB 1110 and HB 1337, California ADU law, Oregon HB 2001, each judged for the place); with a property_id, buildable (ZoningBuildable) is a screening estimate of floor area and units from the lot, not a zoning determination (New York City: the City of Yes capacity). places counts every open business and place Overture Maps lists in the radius (radius_mi, default 1, at most 10), exactly: total; categories, at the level asked (category: italian_restaurant, the default, with parents; basic: restaurant; top: food_and_drink), each with its nearest distance; and chains, the brands present with their locations and nearest store. With category=, matches gives each named category's count in the radius and its nearest place, which may lie outside the radius (no ice cream shop within a mile, and the nearest is 2.3 mi away), looked for up to 25 mi. fire_protection is the fire-sprinkler pre-design packet (the same block as parts=fire_protection; with a property_id it adds the building), building_codes the codes the jurisdiction adopted (FEMA BCAT) with the derived NFPA 13 edition and high-rise retrofit flag, and hydrant_flow_tests the published hydrant flow tests within 600 m (radius_m up to 3,000), screening only, each answer with the caveat that a current test from the water purveyor is required. Topic names expand to their types. The answer echoes what the place resolved to. Charged per type answered; a type whose source did not answer is listed in missing and not charged.



## OpenAPI

````yaml /openapi.json get /lookup
openapi: 3.1.0
info:
  title: West Kite API
  version: 1.0.0
  description: >-
    Sourced US commercial property records, owner research and contacts, priced
    per call. A call that fails, or a lookup that finds nothing, costs nothing.
    Missing fields are unavailable, never zero: each answer lists them in
    missing with a reason.
  contact:
    url: https://westkite.com/docs/api
servers:
  - url: https://api.westkite.com/v1
security:
  - bearer: []
  - apiKey: []
paths:
  /lookup:
    get:
      tags:
        - Places
      summary: 'Lookup: what is true at one place'
      description: >-
        Each requested type's answer at one place. Infrastructure types give the
        nearest feature with its distance; map types give the features covering
        or near the point (a raster's value); screening types give the site
        screen's findings for that type; zoning_districts the district, and
        where a government compilation or city layer publishes them its
        standards (ZoningStandards: height, stories, FAR, density, lot size and
        area per unit, setbacks, coverage, parking, ADUs, each null where
        unstated, with source, citation and vintage), overlays, allowed_uses and
        state_overrides (ZoningOverride: Texas SB 840 and SB 15, Washington HB
        1110 and HB 1337, California ADU law, Oregon HB 2001, each judged for
        the place); with a property_id, buildable (ZoningBuildable) is a
        screening estimate of floor area and units from the lot, not a zoning
        determination (New York City: the City of Yes capacity). places counts
        every open business and place Overture Maps lists in the radius
        (radius_mi, default 1, at most 10), exactly: total; categories, at the
        level asked (category: italian_restaurant, the default, with parents;
        basic: restaurant; top: food_and_drink), each with its nearest distance;
        and chains, the brands present with their locations and nearest store.
        With category=, matches gives each named category's count in the radius
        and its nearest place, which may lie outside the radius (no ice cream
        shop within a mile, and the nearest is 2.3 mi away), looked for up to 25
        mi. fire_protection is the fire-sprinkler pre-design packet (the same
        block as parts=fire_protection; with a property_id it adds the
        building), building_codes the codes the jurisdiction adopted (FEMA BCAT)
        with the derived NFPA 13 edition and high-rise retrofit flag, and
        hydrant_flow_tests the published hydrant flow tests within 600 m
        (radius_m up to 3,000), screening only, each answer with the caveat that
        a current test from the water purveyor is required. Topic names expand
        to their types. The answer echoes what the place resolved to. Charged
        per type answered; a type whose source did not answer is listed in
        missing and not charged.
      operationId: lookup
      parameters:
        - name: property_id
          in: query
          required: false
          description: A property ID.
          schema:
            type: string
        - name: apn
          in: query
          required: false
          description: An assessor parcel number; send county with it.
          schema:
            type: string
        - name: county
          in: query
          required: false
          description: >-
            With apn: a five-digit county FIPS code or a county name with its
            state.
          schema:
            type: string
        - name: address
          in: query
          required: false
          description: A street address.
          schema:
            type: string
        - name: lat
          in: query
          required: false
          description: Latitude, with lng.
          schema:
            type: number
        - name: lng
          in: query
          required: false
          description: Longitude, with lat.
          schema:
            type: number
        - name: types
          in: query
          required: true
          description: >-
            Comma-separated type names or topics (power, transport, utilities,
            businesses, hazards, environmental, incentives, buildability,
            location, activity, insurance, safety, fire_protection,
            infrastructure). Lookup types: 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, 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,
            special_use_airspace, urban_areas, class_i_areas,
            petroleum_pipelines, gas_compressors, gas_storage, lng_terminals,
            iso_rto, egrid_subregions, solar_farms, wind_turbines,
            orphaned_wells, sedimentary_basins, hospitals, antenna_structures,
            air_design_values, transformers, repowering_sites, fire_perimeters,
            cemeteries, bridges, seismic, landslide, tree_canopy, cropland,
            greenness, night_lights, solar_resource, noise, noise_aviation,
            noise_road, noise_rail, utility_rates, fiber_latency,
            transmission_redundancy, open_ocean, data_center_moratoriums,
            energy_costs, climate_tmy, watershed_water, housing_density,
            surface_management, stream_gage, land_cover, surface_water,
            pv_yield, queue_regions, places, activity, zoning_districts,
            insurance, historic, construction_cost, crime, fire_stations,
            police_stations, fire_protection, hydrant_flow_tests,
            building_codes, flood_zones, natural_hazard_risk, wildfire,
            sea_level_rise, contaminated_sites, opportunity_zones, nmtc_tracts,
            lihtc_tracts, hubzones, enterprise_zones, wetlands, protected_land,
            soils, slope, parcel_slope, tribal_land, military_installations.
          schema:
            type: string
        - name: radius_mi
          in: query
          required: false
          description: >-
            For infrastructure types, the farthest to look, in miles; for
            places, the circle counted (default 1, at most 10).
          schema:
            type: number
        - name: radius_m
          in: query
          required: false
          description: The same in metres.
          schema:
            type: number
        - name: category
          in: query
          required: false
          description: >-
            places: up to 10 comma-separated Overture category codes to answer
            (italian_restaurant,ice_cream_shop). A code covers the categories
            below it (restaurant covers italian_restaurant) and places listing
            it as an alternate. With category, the counts and the chains cover
            those categories only (food_and_drink: the cuisines and the
            restaurant chains), and each code gets its count and nearest place.
            An unknown code is refused with the closest ones.
          schema:
            type: string
        - name: level
          in: query
          required: false
          description: >-
            places: how finely categories are counted: category
            (italian_restaurant, default), basic (restaurant) or top
            (food_and_drink).
          schema:
            type: string
            enum:
              - category
              - basic
              - top
        - name: max_cost_usd
          in: query
          required: false
          description: Refuse the call if it costs more.
          schema:
            type: number
      responses:
        '200':
          description: OK
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - missing
                  - billing
                  - request_id
                properties:
                  data:
                    type: object
                    properties:
                      resolved:
                        $ref: '#/components/schemas/Resolved'
                      types:
                        type: array
                        items:
                          type: string
                      results:
                        type: object
                        additionalProperties: true
                        description: One entry per type, keyed by type name.
                  missing:
                    type: array
                    items:
                      $ref: '#/components/schemas/MissingField'
                  billing:
                    $ref: '#/components/schemas/Billing'
                  request_id:
                    type: string
        '400':
          description: invalid_request
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: invalid_key
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: insufficient_balance, max_cost_too_low
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: scope_missing
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: idempotency_conflict
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: rate_limited
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: service_unavailable
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  headers:
    RateLimit-Limit:
      description: Requests per minute on the team's plan.
      schema:
        type: integer
    RateLimit-Remaining:
      description: Requests left in the current minute.
      schema:
        type: integer
    RateLimit-Reset:
      description: Seconds until the minute resets.
      schema:
        type: integer
    X-Request-Id:
      description: The request's id, as request_id in the body.
      schema:
        type: string
    Server-Timing:
      description: >-
        Milliseconds each step of the call took on West Kite's side: pre, plan,
        admit (key, limits and hold), work (the endpoint itself) and settle
        (charge and log), e.g. admit;dur=40, work;dur=310. Durations only.
      schema:
        type: string
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  schemas:
    Resolved:
      type: object
      description: What the place you sent resolved to.
      properties:
        property_id:
          type: string
        address:
          type:
            - string
            - 'null'
        point:
          type: object
          properties:
            lat:
              type: number
            lng:
              type: number
        exact:
          type: boolean
    MissingField:
      type: object
      required:
        - field
        - reason
      properties:
        field:
          type: string
        reason:
          enum:
            - not_covered
            - not_published
            - not_on_record
            - not_found
            - temporarily_unavailable
          description: >-
            not_covered on a find: a where field West Kite holds for under 5% of
            properties in the scope (rows filtered on it are only that share).
        note:
          type: string
    Billing:
      type: object
      required:
        - operation_id
        - operation
        - charged_usd
        - balance_usd
      properties:
        operation_id:
          type: string
        operation:
          type: string
        charged_usd:
          type: number
        balance_usd:
          type: number
        replayed:
          type: boolean
    Error:
      type: object
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              enum:
                - invalid_request
                - invalid_key
                - insufficient_balance
                - spend_limit_exceeded
                - max_cost_too_low
                - scope_missing
                - not_found
                - endpoint_removed
                - idempotency_conflict
                - rate_limited
                - internal_error
                - service_unavailable
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            reason:
              type: string
              description: >-
                invalid_key: revoked, expired or unknown. rate_limited: requests
                (per minute), concurrency (in flight), agent_questions (the
                Agent's own cap) or agent_signups (sign-ups started).
            retry_after:
              type: integer
            upgrade_url:
              type: string
            quoted_usd:
              type: number
            concurrent:
              type: integer
            balance_usd:
              type: number
            available_usd:
              type: number
            spend_cap_usd:
              type: number
            spent_usd:
              type: number
        request_id:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: wk_live_ key
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key

````

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