Key facts
- The API contains about 9,463 handwashing violation records.
- Coverage is New York City, New York, United States.
- The coverage information reports 4,000 sampled rows.
- Records include latitude and longitude for New York City locations.
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/handwashing-violation/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 | A | MN19 | 40.751 | -73.971 |
| New York City | 2026-11-24 | A | BK61 | 40.682 | -73.935 |
| New York City | 2026-11-24 | Z | MN20 | 40.752 | -73.98 |
| New York City | 2026-11-24 | Violations were cited in the following area(s). | MN25 | 40.71 | -74.008 |
| New York City | 2026-11-24 | N | QN52 | 40.756 | -73.815 |
| New York City | 2026-11-24 | N | QN62 | 40.746 | -73.826 |
| New York City | 2026-11-24 | N | QN72 | 40.776 | -73.901 |
| New York City | 2026-11-24 | A | MN12 | 40.8 | -73.968 |
| New York City | 2026-11-24 | Violations were cited in the following area(s). | MN35 | 40.856 | -73.928 |
| New York City | 2026-11-23 | N | QN70 | 40.768 | -73.912 |
Overview
This API covers handwashing violations recorded through food-safety inspections. These violations involve failing to wash hands, often before handling food.
Developers, researchers and data buyers can use the records to examine where and when these violations are recorded and combine them with location or neighbourhood analysis.
Coverage
The dataset covers New York City in New York, United States. The listed coverage is entirely within New York City, and the API contains about 9,463 records.
The coverage information also reports 4,000 sampled rows. Source data comes from city and county open-data portals.
Fields
Each record includes its source dataset, date, year, current status, city, recorded neighbourhood and latitude and longitude. These core fields are listed as filled for every record.
Additional fields include nearby population, elevation, median household income, tree canopy, flood zone and median home value. Their reported completeness ranges from 76% for home value to 94% 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 riskacs_median_home_value_usdTypical home value (USD)
Queries
Filter records by region, radius, date or selected fields to focus analysis on a place, period or subset of attributes. Location fields support geographic analysis alongside city and neighbourhood values.
Use stream access for live queries or bulk download for whole datasets. Available formats are JSON, GeoJSON, CSV and Parquet. An API key is required; a free tier is available, with paid plans for higher limits and bulk downloads.
Use cases
Map recorded handwashing violations across New York City neighbourhoods; compare counts across dates or areas; build food-safety research datasets; combine inspection locations with population or income context; and explore whether recorded violations overlap with flood zones or other environmental attributes.
Pricing
The API offers a free tier. Paid plans are available for higher limits and bulk downloads; prices are not specified here.
Data is available in JSON, GeoJSON, CSV and Parquet. An API key is required to access the API.
Frequently asked questions
Is there an API for handwashing violations in New York City?
Yes. The Handwashing Violation API covers New York City, New York, and contains about 9,463 records. The records come from food-safety inspections and include dates, status, neighbourhood and geographic coordinates.
What does a handwashing violation record contain?
A record includes the source dataset, date, year, current status, city, neighbourhood and latitude and longitude. Additional attributes include population, elevation, median household income, tree canopy, flood zone and median home value, with varying field completeness.
How often is the handwashing violation data updated?
The available facts do not specify an update schedule. The API data comes from city and county open-data portals, so check the source information for the timing of records before relying on a particular update cadence.
Can I filter handwashing violations by neighbourhood or date?
Yes. Queries can be filtered by region and date, and the records include a neighbourhood field. You can also filter by radius or selected fields to focus on a geographic area or the attributes needed for your analysis.
Does the API include violation locations?
Yes. Records include latitude and longitude, and these fields are listed as filled for every record. You can use the coordinates to map inspection records or query by radius, alongside city and neighbourhood information.
What formats are available for handwashing violation data?
The available formats are JSON, GeoJSON, CSV and Parquet. These formats support use in applications, mapping workflows and data-analysis tools. Access requires an API key.
Can I download the full handwashing violation dataset?
Bulk downloads are available on paid plans. The API also offers a free tier, while paid plans support higher limits and bulk downloads. The dataset contains about 9,463 records.
Are population and income included with the inspection records?
Yes. Records include nearby population and median household income, as well as other contextual attributes such as elevation, tree canopy, flood zone and median home value. These attributes are not all present for every record.
Start building with the Handwashing Violation API
Free to try. Paid plans raise limits and unlock bulk downloads.