Civic records API

Building Complaint API

The Building Complaint API returns 5,526,432 records about reported building conditions, safety, or use. Its listed coverage is Calgary, Alberta, Canada. Records include dates, categories, status, locations and contextual information such as flood risk, land use and local population for analysis and applications.

Canada · JSON, GeoJSON, CSV, Parquet

POSThttps://api.outerview.ai/v1/stream
curl https://api.outerview.ai/v1/stream \
  -X POST \
  -H "Authorization: Bearer $OUTERVIEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "building complaint",
    "region_id": "21821",
    "limit": 50
  }'

Key facts

  • The Building Complaint API contains approximately 5,526,432 records.
  • Listed coverage is Calgary, Alberta, Canada.
  • Coverage details are based on 4,000 sampled rows.
  • Latitude, longitude, date, category and status are filled in 100% of records.

Quick start

  1. 1. Create an account and generate an API key on the developer platform.
  2. 2. Send it as a Bearer token in the Authorization header.
  3. 3. Query by place, radius or date (the example searches Calgary).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/building-complaint/download?format=geojson

Add &region_slug=… to limit to one place. Formats: csv, geojson, parquet.

Sample records

Real records from the data, trimmed to the main fields.

10 records
CityDateTypeStatusSubtypeLatitudeLongitude
New York City2026-11-05General Construction/PlumbingClosedBuilding - Vacant, Open And Unguarded40.842-73.867
San Francisco2026-10-21NoiseClosed—37.792-122.393
San Francisco2026-10-21NoiseClosed—37.788-122.391
New York City2026-10-09General Construction/PlumbingClosedBuilding - Vacant, Open And Unguarded40.595-73.775
San Francisco2026-09-13NoiseClosed—37.763-122.412
San Francisco2026-09-04NoiseClosed—37.795-122.411
San Francisco2026-09-04NoiseClosed—37.795-122.411
San Francisco2026-09-04NoiseClosed—37.795-122.411
San Francisco2026-09-04NoiseClosed—37.795-122.411
San Francisco2026-09-04NoiseClosed—37.795-122.411

Overview

Building complaint records document reports or formal notices about a building’s condition, safety, or use. The data is sourced from city and county open-data portals.

Developers, researchers and data buyers can use the records to build civic dashboards, analyze complaint patterns or add location-based context to other datasets.

Coverage

The listed geographic coverage is Calgary, Alberta, Canada, accounting for 100% of coverage in each of those areas.

The dataset contains approximately 5,526,432 records. Coverage details are based on 4,000 sampled rows.

Fields

Records include source, date, year, month, category, subtype, status, closure date, description and agency. Source, date, year, latitude, longitude, category, status and closed_at are filled in all records; subtype and month are filled in 99%, while description and agency are filled in 89%.

Location context includes population within 1 km, elevation, settlement class, climate group, tree canopy percentage, flood zone, median household income, median home value and land-use categories. Land-use categories are filled in 55% of records.

  • sourceSource dataset
  • dateDate of the record
  • yearYear
  • latitudeLatitude
  • longitudeLongitude
  • categoryRecord category
  • statusCurrent status
  • closed_atDate closed
  • subtypeRecord subtype
  • monthMonth
  • descriptionDescription from the source
  • agencyAgency
  • ghsl_pop_1km_2020How many people live here (people)
  • elevation_mHeight above sea level (m)
  • settlement_classCity, town or countryside
  • climate_groupClimate group
  • nlcd_tree_canopy_pctTree cover (%)
  • flood_zoneFlood risk
  • acs_median_household_income_usdTypical household income (USD (2024 dollars))
  • acs_median_home_value_usdTypical home value (USD)
  • land_use_categoriesLand use

Queries

Filter records by region, radius, date or selected fields to focus results on a place, time period or analysis need. Stream results for live queries, or use a bulk download when you need a whole dataset.

Available data formats are JSON, GeoJSON, CSV and Parquet. Access requires an API key.

Use cases

Build a map of reported building conditions and their current statuses.

Track complaint categories and closure dates to study how reports are resolved.

Compare complaint patterns with nearby population, income, home-value and land-use context.

Add elevation, climate and flood-zone attributes to location-based civic analysis.

Create dashboards that summarize complaint records by date, agency or subtype.

Pricing

The API provides a free tier. Paid plans are available for higher limits and bulk downloads; no prices are stated here.

Use an API key to access the data in JSON, GeoJSON, CSV or Parquet.

Frequently asked questions

Is there an API for building complaints in Calgary?

Yes. The Building Complaint API lists coverage for Calgary, Alberta, Canada, and provides records about reported building conditions, safety or use. The dataset contains approximately 5,526,432 records, with location, date, category and status fields.

What does the Building Complaint API return?

It returns building complaint records with fields such as source, date, category, status, location, subtype, description and agency. Records also include contextual attributes such as flood zone, elevation, population, household income and land use.

How often is building complaint data updated?

The available information does not specify an update schedule. The API describes records sourced from city and county open-data portals, but does not state how often those sources are refreshed.

Can I filter building complaints by date or location?

Yes. Queries can be filtered by region, radius, date or selected fields. These filters let you focus results on a geographic area, a time period or the record attributes relevant to your application.

What fields does the Building Complaint API include?

Fields include source, date, year, month, latitude, longitude, category, subtype, status, closed_at, description and agency. Additional context includes population, elevation, settlement class, climate group, tree canopy, flood zone, income, home value and land use.

What formats are available for building complaint data?

The API offers JSON, GeoJSON, CSV and Parquet formats. Choose a format to suit your application or analysis workflow; bulk downloads are available on paid plans.

Does the Building Complaint API include open and closed reports?

The status field is included in the records, and sample records show a Closed status. The available information does not specify which status values are present across the full dataset.

Is there a free tier for the Building Complaint API?

Yes. A free tier is available, and paid plans offer higher limits and bulk downloads. Access requires an API key; plan prices are not stated here.

Start building with the Building Complaint API

Free to try. Paid plans raise limits and unlock bulk downloads.