curl --request GET \
--url https://api.westkite.com/v1/lookup \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.westkite.com/v1/lookup"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.westkite.com/v1/lookup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"resolved": {
"property_id": "<string>",
"address": "<string>",
"point": {
"lat": 123,
"lng": 123
},
"exact": true
},
"types": [
"<string>"
],
"results": {}
},
"missing": [
{
"field": "<string>",
"reason": "not_covered",
"note": "<string>"
}
],
"billing": {
"operation_id": "<string>",
"operation": "<string>",
"charged_usd": 123,
"balance_usd": 123,
"replayed": true
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}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.
curl --request GET \
--url https://api.westkite.com/v1/lookup \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.westkite.com/v1/lookup"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.westkite.com/v1/lookup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"resolved": {
"property_id": "<string>",
"address": "<string>",
"point": {
"lat": 123,
"lng": 123
},
"exact": true
},
"types": [
"<string>"
],
"results": {}
},
"missing": [
{
"field": "<string>",
"reason": "not_covered",
"note": "<string>"
}
],
"billing": {
"operation_id": "<string>",
"operation": "<string>",
"charged_usd": 123,
"balance_usd": 123,
"replayed": true
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"retryable": true,
"docs_url": "<string>",
"reason": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"quoted_usd": 123,
"concurrent": 123,
"balance_usd": 123,
"available_usd": 123,
"spend_cap_usd": 123,
"spent_usd": 123
},
"request_id": "<string>"
}Query Parameters
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.
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.