Key facts
- The API contains about 5,278 cockroach infestation inspection records.
- All listed records are from New York City, New York.
- The dataset includes 4,000 sampled rows.
- Median home value is present in 75% of records.
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 New York City).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/cockroach-infestation/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 | Status | Neighbourhood | Latitude | Longitude |
|---|---|---|---|---|---|
| New York City | 2026-11-24 | Z | BX39 | 40.808 | -73.92 |
| New York City | 2026-11-24 | Violations were cited in the following area(s). | BK95 | 40.651 | -73.952 |
| New York City | 2026-11-23 | Violations were cited in the following area(s). | MN17 | 40.765 | -73.982 |
| New York City | 2026-11-23 | Z | MN23 | 40.73 | -74 |
| New York City | 2026-11-23 | Violations were cited in the following area(s). | QN70 | 40.761 | -73.924 |
| New York City | 2026-11-23 | A | QN17 | 40.719 | -73.845 |
| New York City | 2026-11-23 | Violations were cited in the following area(s). | MN36 | 40.844 | -73.939 |
| New York City | 2026-11-23 | Violations were cited in the following area(s). | QN06 | 40.727 | -73.786 |
| New York City | 2026-11-23 | Violations were cited in the following area(s). | MN24 | 40.717 | -73.997 |
| New York City | 2026-11-21 | Z | MN33 | 40.791 | -73.945 |
Cockroach infestation inspection data
This dataset records inspections associated with cockroach infestations, which may be indicated by live or dead roaches, droppings, egg cases or odor. The records come from city and county open-data portals.
Developers, researchers and data buyers can use the API to explore inspection locations and reported status, or incorporate the data into mapping, analysis and public-health workflows.
New York City coverage
The dataset covers the United States, with all records in New York State and New York City. It contains about 5,278 records; 4,000 rows were sampled.
Fields in each record
Inspection fields include source, date, year, status, city and neighbourhood, plus latitude and longitude. These fields are reported as fully populated. Sample statuses include “Z,” “A” and “Violations were cited in the following area(s).”
Records can also include estimated population within 1 km, elevation, median household income, tree canopy percentage, flood zone, settlement class, climate group and median home value. These contextual fields have varying completeness, from 75% for median home value to 97% for population and elevation.
sourceSource datasetdateDate of the recordyearYearlatitudeLatitudelongitudeLongitudestatusCurrent statuscityCityneighborhoodNeighbourhood recorded by the agencyghsl_pop_1km_2020How many people live here (people)elevation_mHeight above sea level (m)acs_median_household_income_usdTypical household income (USD (2024 dollars))nlcd_tree_canopy_pctTree cover (%)flood_zoneFlood risksettlement_classCity, town or countrysideclimate_groupClimate groupacs_median_home_value_usdTypical home value (USD)
Query and download options
Filter inspection records by region, radius, date or fields to focus on a place, period or subset of the available data. Stream records for live queries, or use a bulk download to work with the whole dataset.
Available formats are JSON, GeoJSON, CSV and Parquet.
What you can build
Map inspection locations and compare reported statuses across New York City neighbourhoods. Analyze how inspection records vary by year or date, or combine locations with population, income, housing, tree canopy and flood-zone context.
The data can support neighborhood dashboards, inspection trend analysis, location-based research, environmental health studies and data products that help users explore cockroach infestation inspections.
Access and plans
Access the API with an API key. A free tier is available for evaluation, while paid plans offer higher limits and bulk downloads; prices are not stated here.
Choose JSON, GeoJSON, CSV or Parquet according to your application or analysis workflow.
Frequently asked questions
Is there an API for cockroach infestation inspections in New York City?
Yes. The Cockroach Infestation API provides about 5,278 inspection records, all from New York City. Records include location, date, neighbourhood and status fields, with additional geographic and community context.
What does the Cockroach Infestation API record?
It records inspections associated with cockroach infestations. The data includes the inspection date and year, status, city, neighbourhood, coordinates and source, along with contextual fields such as population, elevation, income and flood zone.
How often is the cockroach infestation data updated?
The update frequency is not specified in the available dataset information. Records include a date field, but that field describes the date of each record and does not establish how often new records are added.
Can I filter cockroach inspection records by neighbourhood?
The records include a neighbourhood field, so you can focus an analysis on recorded neighbourhoods. The available information does not specify particular query syntax or parameter names.
What fields does the Cockroach Infestation API return?
Core fields include source, date, year, latitude, longitude, status, city and neighbourhood. Additional fields provide population, elevation, household income, tree canopy, flood zone, settlement class, climate group and home value context.
What formats are available for cockroach inspection data?
The data is available in JSON, GeoJSON, CSV and Parquet. These formats support application use, geospatial workflows and analysis in data tools.
Does this API cover cockroach inspections outside New York City?
No other city coverage is listed. The coverage information places all records in New York City, New York, United States.
Are all fields present in every cockroach inspection record?
No. Core fields such as date, status, city, neighbourhood and coordinates are listed as fully populated, but contextual fields vary in completeness. For example, median home value is present in 75% of records, while population and elevation are present in 97%.
Start building with the Cockroach Infestation API
Free to try. Paid plans raise limits and unlock bulk downloads.