Civic records API

Pest Harborage Conditions API

The Pest Harborage Conditions API returns inspection records about conditions that can provide pests with hiding or breeding places, including clutter, moisture, waste, or structural gaps. It contains about 41,500 records, all from New York City, New York. Records include locations, dates, agency status, neighbourhoods, and selected environmental and demographic context.

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": "pest harborage conditions",
    "region_id": "143179",
    "limit": 50
  }'

Key facts

  • The API contains about 41,500 pest harborage inspection records.
  • All listed coverage is in New York City, New York, United States.
  • Latitude and longitude are filled for 100% of records.
  • Median home value is available for 54% 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 New York City).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/pest-harborage-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
CityDateStatusNeighbourhoodLatitudeLongitude
New York City2026-11-24AQN5540.686-73.824
New York City2026-11-24ZMN2040.752-73.98
New York City2026-11-24Violations were cited in the following area(s).MN0340.811-73.943
New York City2026-11-24Violations were cited in the following area(s).QN5540.686-73.827
New York City2026-11-24ASI0140.542-74.177
New York City2026-11-24ZBX3940.808-73.92
New York City2026-11-24ZMN3440.798-73.934
New York City2026-11-24AMN1540.756-73.991
New York City2026-11-24AMN2440.715-74.007
New York City2026-11-24Violations were cited in the following area(s).MN1540.769-73.989

Pest harborage inspection data

This dataset records conditions identified through inspections that may provide places for pests to hide or breed. It is sourced from city and county open-data portals.

Developers, researchers, and data buyers can use the records to map inspection activity, study reported conditions, or combine inspection locations with geographic and community context.

Coverage in New York City

The API contains about 41,500 records, all from New York City, New York, in the United States. The available coverage is entirely within this city.

Records include geographic coordinates and agency-recorded neighbourhoods, such as QN55, MN20, and SI01 in the sample data.

Fields in each record

Core fields include the source dataset, record date, year, latitude, longitude, current status, city, and agency-recorded neighbourhood. Source, date, year, latitude, longitude, status, and city are filled for all records.

Additional fields describe population within one kilometre, elevation, median household income, settlement class, tree canopy, flood zone, climate group, and median home value. These fields are partially populated, with completeness ranging from 54% for median home value to 63% for population and elevation.

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

Filter and retrieve records

Filter records by region, radius, date, or selected fields to focus on a location or time period. Coordinates and neighbourhood values can support location-based analysis within the available New York City coverage.

Use streaming for live queries or bulk download for whole datasets. Available formats are JSON, GeoJSON, CSV, and Parquet.

What you can build

Map inspection records by neighbourhood to compare where pest harborage conditions are recorded.

Build dashboards that track inspection status and records over time using the date, year, and status fields.

Join inspection locations to population, income, home value, elevation, or flood-zone context for research and planning.

Create geographic analyses that compare records near selected coordinates or within a radius.

Prepare city-focused research datasets in CSV or Parquet, or use GeoJSON for mapping applications.

Formats and access

The data is available in JSON, GeoJSON, CSV, and Parquet. Access requires an API key.

A free tier is available. Paid plans provide higher limits and bulk downloads; pricing details are not stated here.

Frequently asked questions

Is there an API for pest harborage conditions in New York City?

Yes, the Pest Harborage Conditions API provides inspection records for New York City. It contains about 41,500 records, with coordinates, dates, status, city, and agency-recorded neighbourhood fields.

What does pest harborage mean in this dataset?

Pest harborage refers to conditions that can provide pests with hiding or breeding places. The dataset describes inspection records about such conditions, which typically involve clutter, moisture, waste, or structural gaps.

What fields does the Pest Harborage Conditions API return?

Records include source, date, year, latitude, longitude, status, city, and neighbourhood. Some also include population, elevation, median household income, settlement class, tree canopy, flood zone, climate group, and median home value.

Can I filter pest harborage records by neighbourhood?

Yes, the records include the neighbourhood recorded by the agency, so you can focus analysis on neighbourhood values within the available New York City data. Coordinates are also provided for geographic analysis.

How often is the pest harborage data updated?

The update frequency is not specified. The records come from city and county open-data portals, and the dataset includes a date for each record; check the source dataset for its publication or refresh schedule.

Does the API cover pest inspections outside New York City?

No other location coverage is listed for this dataset. All available records are from New York City, New York, which accounts for the stated coverage in the United States.

What formats are available for pest harborage data?

The data is available in JSON, GeoJSON, CSV, and Parquet. GeoJSON can support mapping workflows, while CSV and Parquet are available for tabular analysis and data processing.

Are population and housing context fields complete?

No, those contextual fields are partially populated. Population and elevation are filled for 63% of records, median household income for 61%, and median home value for 54%; core fields such as date and coordinates are filled for all records.

Start building with the Pest Harborage Conditions API

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