Civic records API

Food Establishment Complaint API

The Food Establishment Complaint API returns about 210,000 records describing complaints about restaurants and other food facilities. Records cover issues such as food quality, cleanliness, and safety, with coverage concentrated in Chicago and additional records from other US locations. Each record includes complaint details, status, location, and contextual geographic and demographic fields.

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": "food establishment complaint",
    "region_id": "135721",
    "limit": 50
  }'

Key facts

  • The API contains about 210,000 food establishment complaint records.
  • Chicago accounts for 99.7% of the listed coverage.
  • The coverage summary identifies the United States, with Illinois accounting for 100% and California for 0.1%.
  • Latitude and longitude are populated for 100% 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 Chicago).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/food-establishment-complaint/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-26Food EstablishmentIn ProgressFood Spoiled40.714-73.96
New York City2026-11-25Food EstablishmentIn ProgressLetter Grading40.715-73.944
New York City2026-11-25Food EstablishmentIn ProgressBare Hands in Contact w/ Food40.715-73.944
New York City2026-11-25Food EstablishmentIn ProgressKitchen/Food Prep Area40.792-73.946
New York City2026-11-25Food EstablishmentIn ProgressFood Spoiled40.792-73.946
New York City2026-11-25Food EstablishmentIn ProgressNo Permit or License40.76-73.928
New York City2026-11-25Food EstablishmentIn ProgressKitchen/Food Prep Area40.82-73.927
New York City2026-11-25Food EstablishmentIn ProgressRodents/Insects/Garbage40.642-73.933
New York City2026-11-25Food EstablishmentIn ProgressPet/Animal40.788-73.944
New York City2026-11-25Food EstablishmentIn ProgressRodents/Insects/Garbage40.755-73.988

Overview

This API brings together service requests about food establishments from city and county open-data portals. Complaints can concern cleanliness, safety, service, or food quality.

Developers, data buyers, and researchers can use the records to build local dashboards, analyze complaint patterns, or enrich geographic research with complaint and area context.

Coverage

The dataset contains about 210,000 records from the United States. Coverage is concentrated in Illinois, with Chicago accounting for 99.7% of records; California accounts for 0.1%.

Other listed cities include Burbank, Blue Island, San Diego, Alsip, and Bensenville. Sample records also show New York City, while the coverage summary identifies Chicago as the dominant location.

Fields

Records include source, date, year, description, category, subtype, status, city, agency, and department. Latitude and longitude locate the complaint, and closed_at provides a closure date when available; it is populated for 72% of records.

Additional context includes settlement class, nearby population, tree canopy, flood zone, elevation, and climate group. Median household income is populated for 94% of records and median home value for 76%.

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

Queries

Filter complaint data by region, radius, date, or selected fields to focus on a location, time period, or subset of record attributes. Use streaming for live queries and bulk downloads when you need a whole dataset.

Available formats are JSON, GeoJSON, CSV, and Parquet.

Use cases

Build a map of food establishment complaints by location, category, subtype, and status. Track reported issues such as spoiled food, pest concerns, or food preparation conditions.

Compare complaint activity across cities or time periods, monitor open versus closed records, or combine complaints with population, flood risk, and other location context for research and operational planning.

Pricing

Access the API with an API key. Free access is available, with paid plans for higher limits and bulk downloads; pricing details 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 food establishment complaints in Chicago?

Yes. The Food Establishment Complaint API includes Chicago records, which account for 99.7% of the coverage described. Records include complaint dates, categories, subtypes, statuses, city, and coordinates, along with additional geographic and demographic context.

What locations does the Food Establishment Complaint API cover?

The coverage summary identifies the United States, with records concentrated in Illinois and Chicago. It also lists California and cities including Burbank, Blue Island, San Diego, Alsip, and Bensenville. Sample records include New York City.

What fields does the Food Establishment Complaint API return?

Records include source, date, year, description, category, subtype, status, city, agency, department, latitude, and longitude. They can also include closure date and contextual fields such as flood zone, elevation, population, climate group, and household characteristics.

Can I filter food establishment complaints by date or location?

Yes. You can filter by region, radius, date, or selected fields to narrow the records to a place, period, or set of attributes. The available facts do not specify particular query parameter names.

How often is food establishment complaint data updated?

The update frequency is not specified. The records come from city and county open-data portals, so check the source data for the timing relevant to your use case.

What complaint types are included?

The records include categories and subtypes supplied by the source. Sample subtypes include Food Spoiled, Letter Grading, Bare Hands in Contact w/ Food, Kitchen/Food Prep Area, No Permit or License, Rodents/Insects/Garbage, and Pet/Animal.

Can I download the full food establishment complaint dataset?

Bulk downloads are available on paid plans. The data is available in JSON, GeoJSON, CSV, and Parquet formats; plan limits and pricing are not specified here.

Does each complaint record include a location?

Latitude and longitude are listed as fields and are populated for all records. These coordinates can support mapping and location-based analysis, alongside the city field.

Start building with the Food Establishment Complaint API

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