Civic records API

Illegal Fireworks API

The Illegal Fireworks API returns about 1,383 records of suspected fireworks rule violations in New York City. Records come from city and county open-data portals and include complaint or enforcement details, dates, locations, categories, and statuses. The dataset also includes selected neighborhood context such as population, elevation, flood risk, and household characteristics.

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": "illegal fireworks",
    "region_id": "143179",
    "limit": 50
  }'

Key facts

  • The API covers about 1,383 illegal-fireworks records.
  • All listed geographic coverage is New York City, New York, United States.
  • Latitude and longitude are fully populated for the listed records.
  • The API supports JSON, GeoJSON, CSV, and Parquet.

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/illegal-fireworks/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-26Illegal FireworksClosedN/A40.765-73.774
New York City2026-11-25Illegal FireworksClosedN/A40.842-73.82
New York City2026-11-25Illegal FireworksClosedN/A40.669-73.812
New York City2026-11-25Illegal FireworksClosedN/A40.724-73.851
New York City2026-11-25Illegal FireworksClosedN/A40.678-74.016
New York City2026-11-25Illegal FireworksClosedN/A40.676-74.012
New York City2026-11-25Illegal FireworksClosedN/A40.594-74.062
New York City2026-11-24Illegal FireworksClosedN/A40.74-73.878
New York City2026-11-24Illegal FireworksClosedN/A40.679-74.016
New York City2026-11-24Illegal FireworksClosedN/A40.687-73.822

Overview

This service-request dataset covers fireworks suspected of violating local rules, including reports and enforcement concerns. Developers, civic researchers, and data buyers can use it to explore where reports occur and how they are categorized or resolved.

Records are sourced from city and county open-data portals. The API provides structured civic records alongside geographic and neighborhood context.

Coverage

Coverage is New York City, New York, United States. The facts report about 1,383 records, with all listed coverage assigned to New York City.

The sampled rows are also from New York City. The source data represents city-level reports rather than a nationwide collection.

Fields

Each record can include its source, date, year, latitude, longitude, category, subtype, status, city, agency, department, and source description. A closure date is included when available.

Additional context fields cover population within 1 km, elevation, tree-canopy percentage, flood zone, median household income, median home value, settlement class, and climate group. Field availability varies: core location and record fields are fully populated, while settlement class and climate group are present less often.

  • sourceSource dataset
  • dateDate of the record
  • yearYear
  • latitudeLatitude
  • longitudeLongitude
  • categoryRecord category
  • subtypeRecord subtype
  • statusCurrent status
  • cityCity
  • agencyAgency
  • departmentDepartment
  • descriptionDescription from the source
  • closed_atDate closed
  • ghsl_pop_1km_2020How many people live here (people)
  • elevation_mHeight above sea level (m)
  • nlcd_tree_canopy_pctTree cover (%)
  • flood_zoneFlood risk
  • acs_median_household_income_usdTypical household income (USD (2024 dollars))
  • acs_median_home_value_usdTypical home value (USD)
  • settlement_classCity, town or countryside
  • climate_groupClimate group

Queries

Filter records by region, radius, date, or selected fields to focus on particular places, periods, or record attributes. Stream queries for live use, or use bulk download when you need the whole dataset.

Available formats are JSON, GeoJSON, CSV, and Parquet. Use an API key to access the API.

Use cases

Map illegal-fireworks reports across New York City and compare their locations with population, flood, or tree-canopy context. Track report status and closure dates to study how cases are resolved.

Researchers can examine report patterns over time, while civic teams can build dashboards, support neighborhood analyses, or combine the records with other open-data sources.

Pricing

The API supports JSON, GeoJSON, CSV, and Parquet, and requires an API key. A free tier is available for getting started.

Paid plans are available for higher limits and bulk downloads. No plan prices are stated here.

Frequently asked questions

Is there an API for illegal fireworks reports in New York City?

Yes. The Illegal Fireworks API provides about 1,383 records for New York City, New York. The records describe suspected fireworks rule violations reported as service requests or enforcement concerns, with fields such as date, location, category, and status.

How often is the illegal fireworks data updated?

The update frequency is not specified in the available dataset facts. Records come from city and county open-data portals, so check the source information and record dates when assessing how current the data is.

What fields does the Illegal Fireworks API return?

Records can include source, date, year, latitude, longitude, category, subtype, status, city, agency, department, description, and closure date. Additional fields provide population, elevation, tree canopy, flood zone, income, home value, settlement class, and climate group context.

Can I filter illegal fireworks records by date or location?

Yes. Queries can be filtered by region, radius, date, or selected fields. This lets you focus on a part of New York City, a time period, or particular record attributes without working with unrelated records.

Does the API include coordinates for mapping reports?

Yes. Latitude and longitude are included and are fully populated in the listed fields. GeoJSON is also an available format for working with the records as geographic data.

Are illegal fireworks records available as a bulk download?

Yes. Bulk downloads are available on paid plans for whole-dataset use. The listed formats are JSON, GeoJSON, CSV, and Parquet; paid plans also offer higher limits.

What is the source of the illegal fireworks data?

The records are sourced from city and county open-data portals. They represent service requests about fireworks suspected of violating local rules, rather than a dataset described as confirmed violations.

Is there a free tier for the Illegal Fireworks API?

Yes. A free tier is available, and an API key is required to access the API. Paid plans are available for higher limits and bulk downloads; specific prices are not provided here.

Start building with the Illegal Fireworks API

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