curl --request POST \
--url https://api.westkite.com/v1/find/{type} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"where": [
"<string>"
],
"in": "<string>",
"near": "<string>",
"lat": 0,
"lng": 0,
"radius_m": 123,
"sort": "<string>",
"limit": 99,
"cursor": "<string>",
"count": true,
"stats": "<string>",
"group_by": "<string>",
"max_cost_usd": 123,
"within": {
"coordinates": "<array>"
}
}
'import requests
url = "https://api.westkite.com/v1/find/{type}"
payload = {
"where": ["<string>"],
"in": "<string>",
"near": "<string>",
"lat": 0,
"lng": 0,
"radius_m": 123,
"sort": "<string>",
"limit": 99,
"cursor": "<string>",
"count": True,
"stats": "<string>",
"group_by": "<string>",
"max_cost_usd": 123,
"within": { "coordinates": "<array>" }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
where: ['<string>'],
in: '<string>',
near: '<string>',
lat: 0,
lng: 0,
radius_m: 123,
sort: '<string>',
limit: 99,
cursor: '<string>',
count: true,
stats: '<string>',
group_by: '<string>',
max_cost_usd: 123,
within: {coordinates: '<array>'}
})
};
fetch('https://api.westkite.com/v1/find/{type}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"properties": [
{
"id": "<string>",
"address": "<string>",
"city": "<string>",
"neighborhood": "<string>",
"apn": "<string>",
"coordinates": [
123
],
"property_type": "<string>",
"subtype": "<string>",
"general_commercial": true,
"building_sqft": 123,
"lot_sqft": 123,
"year_built": 123,
"zoning": "<string>",
"owner_name": "<string>",
"held_years": 123,
"last_sale_price": 123,
"last_sale_date": "<string>",
"updated_at": "<string>",
"signals": [
{
"label": "<string>",
"tone": "<string>"
}
],
"market_value": 123,
"assessed_value": 123,
"taxable_value": 123,
"tax_amount": 123,
"valuation_year": 123,
"units": 123,
"stories": 123,
"bedrooms": 123,
"bathrooms": 123,
"flood_zone": "<string>",
"owner_type": "government",
"zoning_class": "commercial",
"flood_sfha_pct": 123,
"wetland_pct": 123,
"upland_acres": 123,
"largest_upland_acres": 123,
"road_frontage_ft": 123,
"landlocked": true,
"water_frontage_ft": 123,
"waterfront_type": "<string>"
}
],
"next_cursor": "<string>",
"has_more": true,
"resolved_scope": {
"input": "<string>",
"kind": "city",
"label": "<string>",
"county_fips": [
"<string>"
],
"includes_neighboring_places": true,
"basis": "city_records",
"radius_m": 123,
"note": "<string>"
},
"establishments": [
{
"id": "<string>",
"kind": "bank_branch",
"source": {
"id": "<string>",
"name": "<string>",
"publisher": "<string>",
"url": "<string>",
"as_of": "2023-12-25",
"licence": "<string>"
},
"category": "<string>",
"name": "<string>",
"operator": "<string>",
"identifier": "<string>",
"status": "<string>",
"opened_on": "2023-12-25",
"closed_on": "2023-12-25",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"county_fips": "<string>",
"postal_code": "<string>",
"coordinates": [
123
],
"property_id": "<string>",
"link": {
"method": "address",
"candidates": 123
},
"details": {},
"first_seen": "2023-12-25",
"last_seen": "2023-12-25"
}
],
"places": [
{
"id": "<string>",
"name": "<string>",
"category": "<string>",
"category_label": "<string>",
"alternate_categories": [
"<string>"
],
"parents": [
"<string>"
],
"brand": "<string>",
"address": "<string>",
"locality": "<string>",
"region": "<string>",
"postcode": "<string>",
"lat": 123,
"lng": 123,
"distance_m": 123,
"websites": [
"<string>"
],
"phones": [
"<string>"
],
"socials": [
"<string>"
],
"emails": [
"<string>"
],
"operating_status": "<string>",
"confidence": 123,
"sources": [
"<string>"
],
"brand_source": "overture",
"confirmed_by": {
"source": "<string>",
"spider": "<string>",
"seen": "2023-12-25"
}
}
],
"total": 123,
"programs": [
{
"id": "<string>",
"program": "section8",
"expires_basis": "published",
"source": {
"id": "<string>",
"name": "<string>",
"publisher": "<string>",
"url": "<string>",
"as_of": "2023-12-25",
"licence": "<string>"
},
"program_detail": "<string>",
"program_id": "<string>",
"name": "<string>",
"units": 123,
"assisted_units": 123,
"expires_on": "2023-12-25",
"maturity_on": "2023-12-25",
"owner": "<string>",
"owner_type": "<string>",
"manager": "<string>",
"status": "<string>",
"starts_on": "2023-12-25",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"county_fips": "<string>",
"postal_code": "<string>",
"coordinates": [
123
],
"property_id": "<string>",
"parcel_number": "<string>",
"link": {
"method": "hud_property_id",
"candidates": 123
},
"details": {}
}
],
"by_program": {},
"lenders": [
{
"id": "<string>",
"lei": "<string>",
"name": "<string>",
"activity": {},
"rssd": "<string>",
"rssd_basis": "<string>",
"regulator": "occ",
"parent": {},
"top_holder": {},
"headquarters": {},
"filed_years": {},
"bank": {}
}
],
"loans": [
{}
],
"totals": {},
"hmda_coverage": {
"status": "covered",
"years": [
123
],
"release": "<string>",
"loaded_on": "2023-12-25",
"fdic_quarter": "2023-12-25",
"note": "<string>"
},
"coverage": [
{
"kind": "<string>",
"state": "<string>",
"status": "covered",
"note": "<string>"
}
]
},
"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>"
}Find records (JSON)
The same as GET, as a JSON body, plus within for properties: a GeoJSON Polygon or MultiPolygon (or a Feature holding one) to search inside, instead of in or near. Up to 8 polygons of up to 40 vertices each, outer rings only, longitude first. A within page’s next_cursor goes back with the same within.
curl --request POST \
--url https://api.westkite.com/v1/find/{type} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"where": [
"<string>"
],
"in": "<string>",
"near": "<string>",
"lat": 0,
"lng": 0,
"radius_m": 123,
"sort": "<string>",
"limit": 99,
"cursor": "<string>",
"count": true,
"stats": "<string>",
"group_by": "<string>",
"max_cost_usd": 123,
"within": {
"coordinates": "<array>"
}
}
'import requests
url = "https://api.westkite.com/v1/find/{type}"
payload = {
"where": ["<string>"],
"in": "<string>",
"near": "<string>",
"lat": 0,
"lng": 0,
"radius_m": 123,
"sort": "<string>",
"limit": 99,
"cursor": "<string>",
"count": True,
"stats": "<string>",
"group_by": "<string>",
"max_cost_usd": 123,
"within": { "coordinates": "<array>" }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
where: ['<string>'],
in: '<string>',
near: '<string>',
lat: 0,
lng: 0,
radius_m: 123,
sort: '<string>',
limit: 99,
cursor: '<string>',
count: true,
stats: '<string>',
group_by: '<string>',
max_cost_usd: 123,
within: {coordinates: '<array>'}
})
};
fetch('https://api.westkite.com/v1/find/{type}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"properties": [
{
"id": "<string>",
"address": "<string>",
"city": "<string>",
"neighborhood": "<string>",
"apn": "<string>",
"coordinates": [
123
],
"property_type": "<string>",
"subtype": "<string>",
"general_commercial": true,
"building_sqft": 123,
"lot_sqft": 123,
"year_built": 123,
"zoning": "<string>",
"owner_name": "<string>",
"held_years": 123,
"last_sale_price": 123,
"last_sale_date": "<string>",
"updated_at": "<string>",
"signals": [
{
"label": "<string>",
"tone": "<string>"
}
],
"market_value": 123,
"assessed_value": 123,
"taxable_value": 123,
"tax_amount": 123,
"valuation_year": 123,
"units": 123,
"stories": 123,
"bedrooms": 123,
"bathrooms": 123,
"flood_zone": "<string>",
"owner_type": "government",
"zoning_class": "commercial",
"flood_sfha_pct": 123,
"wetland_pct": 123,
"upland_acres": 123,
"largest_upland_acres": 123,
"road_frontage_ft": 123,
"landlocked": true,
"water_frontage_ft": 123,
"waterfront_type": "<string>"
}
],
"next_cursor": "<string>",
"has_more": true,
"resolved_scope": {
"input": "<string>",
"kind": "city",
"label": "<string>",
"county_fips": [
"<string>"
],
"includes_neighboring_places": true,
"basis": "city_records",
"radius_m": 123,
"note": "<string>"
},
"establishments": [
{
"id": "<string>",
"kind": "bank_branch",
"source": {
"id": "<string>",
"name": "<string>",
"publisher": "<string>",
"url": "<string>",
"as_of": "2023-12-25",
"licence": "<string>"
},
"category": "<string>",
"name": "<string>",
"operator": "<string>",
"identifier": "<string>",
"status": "<string>",
"opened_on": "2023-12-25",
"closed_on": "2023-12-25",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"county_fips": "<string>",
"postal_code": "<string>",
"coordinates": [
123
],
"property_id": "<string>",
"link": {
"method": "address",
"candidates": 123
},
"details": {},
"first_seen": "2023-12-25",
"last_seen": "2023-12-25"
}
],
"places": [
{
"id": "<string>",
"name": "<string>",
"category": "<string>",
"category_label": "<string>",
"alternate_categories": [
"<string>"
],
"parents": [
"<string>"
],
"brand": "<string>",
"address": "<string>",
"locality": "<string>",
"region": "<string>",
"postcode": "<string>",
"lat": 123,
"lng": 123,
"distance_m": 123,
"websites": [
"<string>"
],
"phones": [
"<string>"
],
"socials": [
"<string>"
],
"emails": [
"<string>"
],
"operating_status": "<string>",
"confidence": 123,
"sources": [
"<string>"
],
"brand_source": "overture",
"confirmed_by": {
"source": "<string>",
"spider": "<string>",
"seen": "2023-12-25"
}
}
],
"total": 123,
"programs": [
{
"id": "<string>",
"program": "section8",
"expires_basis": "published",
"source": {
"id": "<string>",
"name": "<string>",
"publisher": "<string>",
"url": "<string>",
"as_of": "2023-12-25",
"licence": "<string>"
},
"program_detail": "<string>",
"program_id": "<string>",
"name": "<string>",
"units": 123,
"assisted_units": 123,
"expires_on": "2023-12-25",
"maturity_on": "2023-12-25",
"owner": "<string>",
"owner_type": "<string>",
"manager": "<string>",
"status": "<string>",
"starts_on": "2023-12-25",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"county_fips": "<string>",
"postal_code": "<string>",
"coordinates": [
123
],
"property_id": "<string>",
"parcel_number": "<string>",
"link": {
"method": "hud_property_id",
"candidates": 123
},
"details": {}
}
],
"by_program": {},
"lenders": [
{
"id": "<string>",
"lei": "<string>",
"name": "<string>",
"activity": {},
"rssd": "<string>",
"rssd_basis": "<string>",
"regulator": "occ",
"parent": {},
"top_holder": {},
"headquarters": {},
"filed_years": {},
"bank": {}
}
],
"loans": [
{}
],
"totals": {},
"hmda_coverage": {
"status": "covered",
"years": [
123
],
"release": "<string>",
"loaded_on": "2023-12-25",
"fdic_quarter": "2023-12-25",
"note": "<string>"
},
"coverage": [
{
"kind": "<string>",
"state": "<string>",
"status": "covered",
"note": "<string>"
}
]
},
"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>"
}Path Parameters
One of properties, sales, permits, tax_notices, distress_filings, recorded_loans, cmbs_loans, hud_loans, reit_properties, sba_loans, sba_lenders, warn_notices, listings, facilities, establishments, affordable_housing, multifamily_loans, lenders, government_comps. Underbuilt sites are properties with where=building_to_lot_ratio <= 0.5; property activity (building permits) is permits, each property with the permits that matched: number, description, status, dates, valuation, source, contacts (the contractor, applicant, architect, permittee or agent the permit names, with the publisher's role, firm or person, licence, business address and phone where published; absent where West Kite does not hold the source's contacts, which missing says, and [] where the permit names none) and fire_protection (derived from the permit text: system sprinkler, standpipe, fire_alarm or suppression_other, NFPA standard, sprinkler type, heads, scope and the matched words; read from the permit's type and text; absent where they name none; filter with where=fire_protection = sprinkler or where=fire_protection is known); where=contractor ~ keeps permits naming a contractor (a role the publisher words as a contractor) whose name or firm contains the text, and where=contact ~ any contact of any role, over the sources whose permit contacts West Kite holds (no match elsewhere is not evidence of none); reit_properties are REITs' 10-K Schedule III lines from SEC EDGAR (REIT and ticker, property or, where the REIT files by market, market (granularity), state, encumbrances, cost, depreciation; a REIT is listed only when its lines add up to its own Schedule III total; not matched to properties); distress_filings are court and lien filings on a parcel (where=kind = foreclosure, foreclosure_registration, sheriff_sale, tax_lien, eviction or probate; filed_on; status = open or any), each property once with its newest filing (filedOn is the filing's date, or a sale's own day, and null where the publisher gives none; amounts differ in meaning by kind and are never totalled), in the counties whose courts or recorders publish them (with no match, filingsCoverage is checked, and filingsLoadedFor then lists where they are loaded in the states searched, or unavailable when the scope names no state or that check did not finish, which is also listed in missing: zero matches is then not evidence that none exist); facilities are schools and health facilities matched to their lots; affordable_housing is one row per subsidy or affordability program at a property (where=program = section8, lihtc, usda_515, ...; expires_on <= 2028-12-31 for contracts and restrictions ending by then; expires_basis says whether the date is published, a published year, or derived from a LIHTC placed-in-service year; owner, units, assisted_units, maturity_on), with coverage per program and state; multifamily_loans are HMDA loan-level records for 5+ unit buildings, 2018 on, nationwide (where=year, lei, lender ~, action = originated or purchased, amount, units, rate, term_months, cltv, purpose, purchaser, loan_type, business_purpose, tract; in a county, city or state, or near by tract centre), with the lender, amount, rate, term, CLTV and who bought the loan, placed by census tract (approximate) and never linked to a property because HMDA publishes no address; lenders are HMDA filers with their multifamily lending in scope and, for FDIC-insured banks, the CRE concentration over total risk-based capital from the latest call report, with its quarter (where=lei, name ~, rssd, fdic_cert, year, regulator, bank, volume, loans, cre_concentration, construction_concentration); establishments are named operators at an address from national public registers (where=kind = bank_branch, liquor_license, care_facility, food_facility, tower, ...; food_facility is a restaurant or market with its latest health inspection, from Los Angeles County, New York City, Chicago and Austin), each with the property it matched (where=trade = fire_protection reads contractors licensed for that trade on every state's and city's board that publishes it, whatever the board calls the class: fire_protection is fire sprinkler, standpipe, fire pump and special-hazard suppression system contractors (fire alarm, extinguisher and kitchen-hood-only licences are not included); coverage then says per state whether a source for the trade is loaded; a bank_branch row's details.bank_condition is its bank's latest FDIC Call Report: total assets, real-estate loans by type, 30–89 and 90+ days past due, nonaccrual, the noncurrent share this quarter and last, capital, cre_concentration_pct and construction_concentration_pct (percent of capital, the same measure lenders give), and the failed banks it acquired; bank-wide figures in dollars, never the branch's); government_comps are San Francisco document comparables near a property ID.
properties, sales, permits, tax_notices, distress_filings, recorded_loans, cmbs_loans, hud_loans, reit_properties, sba_loans, sba_lenders, warn_notices, listings, facilities, establishments, affordable_housing, multifamily_loans, lenders, government_comps