Key facts
- The dataset contains about 22,000 smoking complaint records.
- The listed city coverage is New York City.
- The coverage information reports 4,000 sampled rows.
- The API offers JSON, GeoJSON, CSV and Parquet formats.
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/smoking-complaint/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 | Type | Status | Latitude | Longitude |
|---|---|---|---|---|---|
| Dallas | 2026-11-13 | Smoking Violation - CCS | New | 32.797 | -96.751 |
| Dallas | 2026-11-11 | Smoking Violation - CCS | New | 32.867 | -96.766 |
| Dallas | 2026-11-10 | Smoking Violation - CCS | New | 32.779 | -96.801 |
| Dallas | 2026-10-29 | Smoking Violation - CCS | New | 32.81 | -96.77 |
| Dallas | 2026-10-27 | Smoking Violation - CCS | New | 32.765 | -96.79 |
| Dallas | 2026-10-22 | Smoking Violation - CCS | New | 32.724 | -96.839 |
| Dallas | 2026-10-03 | Smoking Violation - CCS | Closed | 32.724 | -96.839 |
| Dallas | 2026-10-01 | Smoking Violation - CCS | Closed | 32.736 | -96.683 |
| Dallas | 2026-09-30 | Smoking Violation - CCS | Closed | 32.797 | -96.751 |
| Dallas | 2026-09-23 | Smoking Violation - CCS | In Progress | 32.77 | -96.798 |
Overview
These service-request records describe reports involving prohibited smoking or vaping, including visible smoke, vapor, cigarettes or devices. Data comes from city and county open-data portals.
Developers, researchers and data buyers can use the records to map complaints, examine resolution status or combine complaint locations with population and environmental context.
Coverage
The listed coverage is the United States, New York State and New York City, with all reported coverage shares at 100%. The dataset contains about 22,000 records; 4,000 rows were sampled.
The sample records include Dallas entries, but the stated coverage lists New York City. Check the available records when assessing a specific location.
Fields
Each record can include its source, date, year, latitude, longitude, description, category, subtype, status, city, agency and department. These core fields are listed as filled in 100% of records.
Additional fields include closure date, settlement class, local population, tree canopy, flood zone, elevation and climate group, as well as median household income and home value. Closure date is present in 63% of records; income in 93%, home value in 75% and climate group in 98%.
sourceSource datasetdateDate of the recordyearYearlatitudeLatitudelongitudeLongitudedescriptionDescription from the sourcecategoryRecord categorysubtypeRecord subtypestatusCurrent statuscityCityagencyAgencydepartmentDepartmentclosed_atDate closedsettlement_classCity, town or countrysideghsl_pop_1km_2020How many people live here (people)nlcd_tree_canopy_pctTree cover (%)flood_zoneFlood riskelevation_mHeight above sea level (m)climate_groupClimate groupacs_median_household_income_usdTypical household income (USD (2024 dollars))acs_median_home_value_usdTypical home value (USD)
Queries
Filter records by region, radius, date or fields to focus on a place, time period or subset of attributes. Geographic coordinates support location-based analysis.
Use streaming for live queries or bulk download for whole datasets. Available formats are JSON, GeoJSON, CSV and Parquet.
Use cases
Map smoking and vaping complaints by location and compare report volume across areas.
Track open, in-progress and closed complaints to study agency handling and resolution patterns.
Analyze complaint timing by date or year to identify changes in reporting.
Compare complaint locations with population, tree canopy, flood risk, elevation or climate context.
Build civic dashboards or research datasets that combine complaint descriptions with agency and department information.
Pricing
The API provides JSON, GeoJSON, CSV and Parquet formats and requires an API key. A free tier is available for exploration.
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 smoking complaints in New York City?
Yes, the Smoking Complaint API lists New York City as its covered city. It provides complaint records with dates, locations, descriptions, categories, statuses and agency information. The dataset contains about 22,000 records overall.
What does the Smoking Complaint API include?
It includes reports about smoking or vaping where prohibited. Records can contain the source, date, coordinates, description, category, subtype, status, city, agency and department, along with environmental and demographic context.
How many smoking complaint records are available?
The dataset contains about 22,000 records. The coverage information also reports a sample of 4,000 rows, so the sample size is distinct from the approximate total record count.
What fields does the smoking complaint API return?
Fields include date, year, latitude, longitude, description, category, subtype, status, city, agency and department. Additional attributes include closure date, settlement class, local population, tree canopy, flood zone, elevation, climate group, income and home value.
Can I filter smoking complaints by location or date?
Yes, records can be filtered by region, radius, date or fields. Latitude and longitude support location-based analysis, while date and year can help narrow a query to a period.
How often is smoking complaint data updated?
A specific update frequency is not stated. The records include dates and current status, but those fields do not establish how often the source data is refreshed. Check the API data when you need to confirm the latest available records.
What formats are available for smoking complaint data?
The available formats are JSON, GeoJSON, CSV and Parquet. These options support API-based use, geographic workflows, tabular analysis and bulk data processing.
Does the API include smoking complaints outside New York City?
The stated coverage lists the United States, New York State and New York City, with New York City identified as the covered city. Sample records include Dallas, so check the available records for a specific location rather than assuming broader city coverage.
Start building with the Smoking Complaint API
Free to try. Paid plans raise limits and unlock bulk downloads.