Key facts
- The API contains about 10 million housing complaint records.
- Calgary accounts for 69% of records.
- Canada contributes 74.9% of records and the United States 25.1%.
- The API supports JSON, GeoJSON, CSV, and Parquet.
Quick start
- 1. Create an account and generate an API key on the developer platform.
- 2. Send it as a Bearer token in the
Authorizationheader. - 3. Query by place, radius or date (the example searches Calgary).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/housing-complaint/download?format=geojsonAdd ®ion_slug=… to limit to one place. Formats: csv, geojson, parquet.
Sample records
Real records from the data, trimmed to the main fields.
| City | Date | Type | Status | Subtype | Latitude | Longitude |
|---|---|---|---|---|---|---|
| Sacramento | 2026-11-27 | Code Enforcement | IN PROGRESS | Housing - Complaint | 38.621 | -121.447 |
| Sacramento | 2026-11-27 | Code Enforcement | IN PROGRESS | Housing - Complaint | 38.613 | -121.428 |
| Sacramento | 2026-11-26 | Code Enforcement | IN PROGRESS | Housing - Complaint | 38.582 | -121.491 |
| Sacramento | 2026-11-26 | Code Enforcement | IN PROGRESS | Housing - Complaint | 38.609 | -121.492 |
| Nashville | 2026-11-26 | Property Violations | New | Tenant Complaint | 36.176 | -86.785 |
| Sacramento | 2026-11-26 | Code Enforcement | NEW | Housing - Complaint | 38.545 | -121.455 |
| Sacramento | 2026-11-26 | Code Enforcement | NEW | Housing - Complaint | 38.533 | -121.469 |
| Sacramento | 2026-11-26 | Code Enforcement | IN PROGRESS | Housing - Complaint | 38.582 | -121.483 |
| Sacramento | 2026-11-26 | Code Enforcement | NEW | Housing - Complaint | 38.45 | -121.431 |
| Sacramento | 2026-11-25 | Code Enforcement | IN PROGRESS | Housing - Complaint | 38.623 | -121.478 |
Overview
The API brings together reports about housing conditions and management, including repair concerns, landlord or tenant complaints, and unsafe maintenance. The records come from city and county open-data portals.
Developers, researchers, housing organizations, and data buyers can use the records to study reported problems, follow case status, and connect complaints with location and neighborhood context.
Coverage
The dataset contains about 10 million records across Canada and the United States. The reported country shares are 74.9% Canada and 25.1% United States.
Calgary accounts for 69% of records, followed by San Diego at 14.4%, Sacramento at 8.2%, and Edmonton at 5.9%. Other listed cities include San Francisco, Daly City, and La Mesa.
Fields
Each record can include its source, date, year, month, category, subtype, status, closure date, agency, department, description, and coordinates. Source, date, year, month, category, status, latitude, and longitude are filled for all records; closed_at is filled for 97%.
Additional fields describe settlement class, nearby population, flood risk, elevation, climate, income, home value, land use, and tree canopy. These contextual fields have varying availability: for example, climate_group is filled for 99% of records and median home value for 54%.
sourceSource datasetdateDate of the recordyearYearlatitudeLatitudelongitudeLongitudecategoryRecord categorystatusCurrent statusmonthMonthclosed_atDate closedagencyAgencysubtypeRecord subtypedescriptionDescription from the sourcedepartmentDepartmentsettlement_classCity, town or countrysideghsl_pop_1km_2020How many people live here (people)flood_zoneFlood riskelevation_mHeight above sea level (m)climate_groupClimate groupacs_median_household_income_usdTypical household income (USD (2024 dollars))acs_median_home_value_usdTypical home value (USD)land_use_categoriesLand usenlcd_tree_canopy_pctTree cover (%)
Queries
Filter records by region, radius, date, or selected fields to focus an analysis on a place, time period, or subset of record attributes. Location coordinates support geographic analysis.
Use streaming for live queries and bulk download for whole datasets. Available formats are JSON, GeoJSON, CSV, and Parquet.
Use cases
Compare complaint volumes and case statuses across cities such as Calgary, San Diego, and Sacramento. Track reported problems over time using the date, month, and year fields.
Map complaint locations to examine geographic patterns; distinguish record categories and subtypes; assess open versus closed cases; and study how reports relate to population, flood risk, elevation, income, home values, land use, or tree cover.
Pricing
The API offers JSON, GeoJSON, CSV, and Parquet formats and requires an API key. A free tier is available.
Paid plans are available for higher limits and bulk downloads. No prices are stated here.
Frequently asked questions
Is there an API for housing complaints in Calgary?
Yes. The Housing Complaint API includes records from Calgary, which accounts for 69% of the dataset. Records can include dates, categories, status, and geographic coordinates, along with contextual fields where available.
Does the Housing Complaint API include Sacramento?
Yes. Sacramento is included and accounts for 8.2% of the dataset. Sample records from Sacramento show code enforcement complaints with dates, subtypes, statuses, and latitude and longitude.
How often is housing complaint data updated?
A specific update schedule is not stated. The records are sourced from city and county open-data portals, and the API includes dates for individual records, but those dates do not establish how often the dataset is refreshed.
What fields does the Housing Complaint API return?
Records can include source, date, year, month, category, status, coordinates, agency, subtype, description, and closure date. Additional fields provide geographic and community context, such as population, flood risk, elevation, income, home value, land use, and tree canopy.
Can I filter housing complaint records by location and date?
Yes. Queries can be filtered by region, radius, date, and selected fields. Latitude and longitude are available for all records, supporting geographic queries and mapping.
Can I download the full housing complaint dataset?
Bulk downloads are available on paid plans. Supported formats are JSON, GeoJSON, CSV, and Parquet. An API key is required to access the API.
Which countries are covered by the Housing Complaint API?
The dataset covers Canada and the United States. Canada accounts for 74.9% of records and the United States for 25.1%, according to the reported coverage shares.
Are housing complaint records available as GeoJSON?
Yes. GeoJSON is one of the available formats, alongside JSON, CSV, and Parquet. Records include latitude and longitude, which can support geographic workflows.
Start building with the Housing Complaint API
Free to try. Paid plans raise limits and unlock bulk downloads.