Many property records
curl --request POST \
--url https://api.westkite.com/v1/properties/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"property_ids": [
"<string>"
],
"max_cost_usd": 123
}
'import requests
url = "https://api.westkite.com/v1/properties/batch"
payload = {
"property_ids": ["<string>"],
"max_cost_usd": 123
}
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({property_ids: ['<string>'], max_cost_usd: 123})
};
fetch('https://api.westkite.com/v1/properties/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"properties": [
{
"id": "<string>",
"county_fips": "<string>",
"property_type": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"address": "<string>",
"city": "<string>",
"neighborhood": "<string>",
"state": "<string>",
"county": "<string>",
"apn": "<string>",
"coordinates": [
123
],
"point_basis": "<string>",
"property_kind": "<string>",
"subtype": "<string>",
"property_type_basis": "<string>",
"general_commercial": true,
"building_sqft": 123,
"lot_sqft": 123,
"year_built": 123,
"stories": 123,
"units": 123,
"derived_units": 123,
"derived_units_basis": "<string>",
"bedrooms": 123,
"bathrooms": 123,
"zoning_code": "<string>",
"zoning_class": "commercial",
"flood_zone": "<string>",
"owner_name": "<string>",
"owner_type": "government",
"owner_since": "2023-12-25",
"held_years": 123,
"owner_as_of_year": 123,
"owner_mailing_address": "<string>",
"absentee_owner": true,
"out_of_state_owner": true,
"tax_delinquent": true,
"tax_notice": {
"kind": "delinquent",
"notice_on": "2023-12-25",
"tax_year": 123,
"amount": 123,
"status": "<string>",
"source_id": "<string>",
"active": true
},
"distress_filings": [
{
"kind": "foreclosure",
"filed_on": "2023-12-25",
"amount": 123,
"status": "<string>",
"source_id": "<string>",
"active": true
}
],
"loan_due_date": "2023-12-25",
"loan_due_basis": "reported",
"loan_to_value": 123,
"loan_to_value_basis": "<string>",
"loan_balance_estimate": 123,
"loan_balance_estimate_basis": "<string>",
"last_sale_date": "2023-12-25",
"last_sale_date_precision": "day",
"last_sale_price": 123,
"last_sale_portfolio_price": 123,
"market_value": 123,
"assessed_value": 123,
"taxable_value": 123,
"tax_amount": 123,
"valuation_year": 123,
"wetland_pct": 123,
"flood_sfha_pct": 123,
"upland_acres": 123,
"largest_upland_acres": 123,
"landlocked": true,
"road_frontage_ft": 123,
"water_frontage_ft": 123,
"waterfront_type": "<string>",
"assemblage": {
"id": "<string>",
"parcel_count": 3,
"property_ids": [
"<string>"
],
"more_available": true,
"combined_acres": 123,
"basis": "derived: adjoining parcels (touching or within 10 m) with the same normalized owner"
}
}
],
"not_found": [
"<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>"
}Properties
Many property records
The typed record of up to 100 properties in one call (property_ids from search or find). Each record found costs the property price; an ID with no published record costs nothing and is listed in not_found.
POST
/
properties
/
batch
Many property records
curl --request POST \
--url https://api.westkite.com/v1/properties/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"property_ids": [
"<string>"
],
"max_cost_usd": 123
}
'import requests
url = "https://api.westkite.com/v1/properties/batch"
payload = {
"property_ids": ["<string>"],
"max_cost_usd": 123
}
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({property_ids: ['<string>'], max_cost_usd: 123})
};
fetch('https://api.westkite.com/v1/properties/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"properties": [
{
"id": "<string>",
"county_fips": "<string>",
"property_type": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"address": "<string>",
"city": "<string>",
"neighborhood": "<string>",
"state": "<string>",
"county": "<string>",
"apn": "<string>",
"coordinates": [
123
],
"point_basis": "<string>",
"property_kind": "<string>",
"subtype": "<string>",
"property_type_basis": "<string>",
"general_commercial": true,
"building_sqft": 123,
"lot_sqft": 123,
"year_built": 123,
"stories": 123,
"units": 123,
"derived_units": 123,
"derived_units_basis": "<string>",
"bedrooms": 123,
"bathrooms": 123,
"zoning_code": "<string>",
"zoning_class": "commercial",
"flood_zone": "<string>",
"owner_name": "<string>",
"owner_type": "government",
"owner_since": "2023-12-25",
"held_years": 123,
"owner_as_of_year": 123,
"owner_mailing_address": "<string>",
"absentee_owner": true,
"out_of_state_owner": true,
"tax_delinquent": true,
"tax_notice": {
"kind": "delinquent",
"notice_on": "2023-12-25",
"tax_year": 123,
"amount": 123,
"status": "<string>",
"source_id": "<string>",
"active": true
},
"distress_filings": [
{
"kind": "foreclosure",
"filed_on": "2023-12-25",
"amount": 123,
"status": "<string>",
"source_id": "<string>",
"active": true
}
],
"loan_due_date": "2023-12-25",
"loan_due_basis": "reported",
"loan_to_value": 123,
"loan_to_value_basis": "<string>",
"loan_balance_estimate": 123,
"loan_balance_estimate_basis": "<string>",
"last_sale_date": "2023-12-25",
"last_sale_date_precision": "day",
"last_sale_price": 123,
"last_sale_portfolio_price": 123,
"market_value": 123,
"assessed_value": 123,
"taxable_value": 123,
"tax_amount": 123,
"valuation_year": 123,
"wetland_pct": 123,
"flood_sfha_pct": 123,
"upland_acres": 123,
"largest_upland_acres": 123,
"landlocked": true,
"road_frontage_ft": 123,
"water_frontage_ft": 123,
"waterfront_type": "<string>",
"assemblage": {
"id": "<string>",
"parcel_count": 3,
"property_ids": [
"<string>"
],
"more_available": true,
"combined_acres": 123,
"basis": "derived: adjoining parcels (touching or within 10 m) with the same normalized owner"
}
}
],
"not_found": [
"<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>"
}Body
application/json