Civic records API

Unsanitary Conditions API

The Unsanitary Conditions API returns city and county service requests about dirty or unsafe surroundings, with about 1.4 million records. Records cover issues such as mold, pests, and waste, alongside dates, locations, descriptions, categories, statuses, and responsible agencies. Data comes from open-data portals across the United States, with most records from New York City.

United States · 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": "unsanitary conditions",
    "region_id": "143179",
    "limit": 50
  }'

Key facts

  • The API contains about 1.4 million unsanitary-condition service-request records.
  • New York City accounts for 99.3% of records.
  • New York accounts for 99.6% of records by state.
  • The API covers the United States and includes records from California and Massachusetts.

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 New York City).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/unsanitary-conditions/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-25UNSANITARY CONDITIONOpenMOLD40.746-73.914
New York City2026-11-25UNSANITARY CONDITIONOpenMOLD40.865-73.89
New York City2026-11-25UNSANITARY CONDITIONOpenPESTS40.826-73.951
New York City2026-11-25UNSANITARY CONDITIONOpenMOLD40.715-73.942
New York City2026-11-25UNSANITARY CONDITIONOpenPESTS40.693-73.939
New York City2026-11-25UNSANITARY CONDITIONOpenMOLD40.767-73.824
New York City2026-11-25UNSANITARY CONDITIONOpenPESTS40.818-73.904
New York City2026-11-25UNSANITARY CONDITIONOpenGARBAGE/RECYCLING STORAGE40.745-73.919
New York City2026-11-25UNSANITARY CONDITIONOpenPESTS40.883-73.907
New York City2026-11-25UNSANITARY CONDITIONOpenPESTS40.706-73.81

Overview

This API provides service requests describing visibly dirty or unsafe surroundings, including grime, pests, waste, mold, clutter, or spoiled materials. Records are sourced from city and county open-data portals.

Developers, researchers, civic technology teams, and data buyers can use the records to study reported conditions, monitor request status, and build location-aware tools.

Coverage

The dataset contains about 1.4 million records from the United States. New York accounts for 99.6% of records, followed by California at 0.3% and Massachusetts at 0.1%.

New York City accounts for 99.3% of records. Other represented cities include Mount Vernon, San Diego, and Cambridge.

Fields

Each record includes its source dataset, date, year, latitude, longitude, source description, category, subtype, current status, city, agency, and department. Each of these fields is populated in all records.

For example, records can identify a mold or pest subtype, show an open status, and provide coordinates and the city where the request was recorded.

  • sourceSource dataset
  • dateDate of the record
  • yearYear
  • latitudeLatitude
  • longitudeLongitude
  • descriptionDescription from the source
  • categoryRecord category
  • subtypeRecord subtype
  • statusCurrent status
  • cityCity
  • agencyAgency
  • departmentDepartment

Queries

Filter records by region, radius, date, or fields to focus on a particular place, period, or set of attributes. Stream results for live queries, or use a bulk download to work with a whole dataset.

Available formats are JSON, GeoJSON, CSV, and Parquet.

Use cases

Map reported mold, pest, or waste concerns to understand their geographic distribution. Track request statuses to monitor reported conditions over time.

Researchers can compare categories across cities, while civic teams can build dashboards for service requests. Housing and community organizations can use the location and description fields to identify patterns for further investigation.

Pricing

Access the API with an API key and choose JSON, GeoJSON, CSV, or Parquet for your workflow. A free tier is available.

Paid plans provide higher limits and bulk downloads for working with whole datasets. No prices are stated here.

Frequently asked questions

Is there an API for unsanitary-condition reports in New York City?

Yes. The Unsanitary Conditions API includes city service-request records, and New York City accounts for 99.3% of the approximately 1.4 million records. Records can include dates, locations, descriptions, categories, subtypes, and statuses.

What kinds of unsanitary conditions are included?

The data describes reported dirty or unsafe surroundings, including grime, pests, waste, mold, clutter, or spoiled materials. Sample records include mold, pests, and garbage or recycling storage as subtypes.

What fields does the Unsanitary Conditions API return?

Records include source, date, year, latitude, longitude, description, category, subtype, status, city, agency, and department. The field list marks each of these fields as populated in all records.

Can I filter unsanitary-condition records by location or date?

Yes. Queries can be filtered by region, radius, date, or fields. Location fields include city, latitude, and longitude, which can support geographic analysis of reported conditions.

How often is the unsanitary-conditions data updated?

An update frequency is not specified. The records come from city and county open-data portals, so check the relevant source dataset when you need to confirm how current a particular record or city’s data is.

Which cities are covered by the Unsanitary Conditions API?

New York City, Mount Vernon, San Diego, and Cambridge are among the represented cities. New York City accounts for 99.3% of records, while Mount Vernon, San Diego, and Cambridge account for smaller shares.

Can I download the full unsanitary-conditions dataset?

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

What formats are available for unsanitary-condition records?

The available formats are JSON, GeoJSON, CSV, and Parquet. These options support applications that consume structured records, map location data, or analyze downloaded files.

Start building with the Unsanitary Conditions API

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