Civic records API

Drainage Issues API

The Drainage Issues API returns about 219,145 service-request records about runoff, flooding, blocked storm drains and related drainage problems. Records include dates, locations, subtypes and statuses, with coverage listed for Calgary, Alberta. Use the data to explore reported issues alongside flood risk, elevation, land use and other area characteristics.

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": "drainage issues",
    "region_id": "21821",
    "limit": 50
  }'

Key facts

  • The Drainage Issues API contains about 219,145 service-request records.
  • Coverage facts identify Calgary, Alberta, Canada.
  • The coverage facts assign 100% of the stated coverage share to Canada, Alberta and Calgary.
  • The sampled dataset contains 4,000 rows.

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/drainage-issues/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
Charlotte2026-11-26BLOCKAGE——35.31-80.811
New Orleans2026-11-26DrainagePendingIllegal Dumping (Sewer Odor)30.002-90.072
Charlotte2026-11-26FLOODING——35.159-80.693
New Orleans2026-11-26DrainagePendingIllegal Dumping (Sewer Odor)29.98-90.053
New Orleans2026-11-25DrainagePendingCatch Basin Not Draining29.977-90.084
New York City2026-11-25PlumbingOpenFailure To Retain Water/Improper Drainage- (LL103/89)40.593-74.161
New York City2026-11-25PlumbingOpenFailure To Retain Water/Improper Drainage- (LL103/89)40.696-73.791
Charlotte2026-11-25BLOCKAGE——35.094-80.745
Dallas2026-11-25Inlet/Storm Drain Cleaning - DWUNew—32.725-96.658
Dallas2026-11-25Inlet/Storm Drain Cleaning - DWUNew—32.81-96.733

Drainage issue service requests

The API brings together service requests about water runoff, pooled water, flooded areas, blocked storm drains and muddy channels from city and county open-data portals.

Developers, analysts and public agencies can use the records to map reported problems, examine request statuses and compare drainage issues with surrounding area characteristics.

Coverage and scale

The coverage facts identify Canada, Alberta and Calgary, with 100% of the stated coverage share assigned to each. The API contains about 219,145 records, and 4,000 rows were sampled.

Sample records also show entries for Charlotte, New Orleans, New York City and Dallas. These examples do not establish the full coverage of those cities.

Fields in each record

Records include source, date, year, latitude, longitude, subtype, status, department and city. Source, date, year, coordinates, subtype, status and department are filled in 100% of records; city is filled in 98%.

Additional fields describe month, nearby population, tree canopy, flood risk, elevation, settlement class, climate group, median household income, median home value and land use. Field completeness varies: income is 94%, home value 92% and land use 62%.

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

Filter and retrieve drainage records

Filter records by region, radius, date or selected fields to focus an analysis on a place, time period or set of attributes. Stream for live queries, or use a bulk download for a whole dataset.

Available formats are JSON, GeoJSON, CSV and Parquet.

What you can build

Map reported drainage issues by location and compare their status, subtype and department. Identify areas with repeated reports or examine requests involving flooding, blockages and catch basins.

Combine issue locations with flood risk, elevation, tree canopy, population or land-use fields to support infrastructure planning, service prioritization, neighborhood analysis and public-facing drainage dashboards.

Access and pricing

The API provides JSON, GeoJSON, CSV and Parquet formats and uses an API key. A free tier is available; paid plans provide higher limits and bulk downloads.

Plan prices are not stated here.

Frequently asked questions

Is there an API for drainage issues in Calgary?

Yes, the Drainage Issues API lists coverage for Calgary, Alberta. It contains about 219,145 drainage service-request records overall, including fields such as date, location, subtype and status. The stated coverage facts assign 100% of the coverage share to Calgary.

What kinds of drainage problems are included?

The data covers reported problems involving runoff, pooled water, flooded areas, blocked storm drains and muddy channels. Sample subtypes include catch basin not draining and storm drain cleaning, alongside blockage and flooding records.

What fields does the Drainage Issues API return?

Records include source, date, year, latitude, longitude, subtype, status, department and city. Additional fields describe month, population, tree canopy, flood risk, elevation, settlement class, climate group, household income, home value and land use.

Can I filter drainage records by location or date?

Yes, records can be filtered by region, radius, date or selected fields. This lets you narrow results to a place, time period or set of attributes without working with the entire dataset.

How often is drainage issue data updated?

The available facts do not specify an update schedule. Records include date and year fields, but those describe the records rather than establish how often the API refreshes. Check the source dataset or current API documentation for update timing.

Can I download the full drainage dataset?

Yes, bulk downloads are available for whole datasets on paid plans. The API supports JSON, GeoJSON, CSV and Parquet formats; paid plans also provide higher limits.

Does the API include flood risk and elevation?

Yes, records include flood_zone and elevation_m fields, along with tree canopy, nearby population and other area characteristics. These fields can help compare reported drainage problems with local conditions.

Which formats are available for drainage records?

The available formats are JSON, GeoJSON, CSV and Parquet. The API uses an API key, and a free tier is available; paid plans offer higher limits and bulk downloads.

Start building with the Drainage Issues API

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