---
title: "US restaurant inspections (NYC, Chicago, New York State, Austin)"
method: GET
path: "/v1/datasets/us-food-inspections/query"
tags: ["United States"]
---

# US restaurant inspections (NYC, Chicago, New York State, Austin)

`GET /v1/datasets/us-food-inspections/query`

## Request

- Base URL: `https://datascoop.io`
- URL: `https://datascoop.io/v1/datasets/us-food-inspections/query`
- Auth: one of:
  - none
  - HTTP bearer
  - API key in query parameter `api_key`

Restaurant inspection results and grades for NYC, Chicago, New York State and Austin, in your spreadsheet in a minute: CSV download, REST API, or MCP for agents. 60,154 rows. Licence: Public records, city/state open-data terms. Example: Every failed inspection in Chicago, as CSV: https://datascoop.io/v1/datasets/us-food-inspections/query?source=Chicago&result=Fail

## Query parameters

- `source` 'New York City' | 'Chicago' | 'New York State' | 'Austin'
- `result` string
- `facilityType` string
- `city` string
- `zipPrefix` string
- `nameContains` string
- `since` string
- `limit` integer
- `offset` integer
- `format` 'json' | 'csv'

## Response `200`

Matching rows

- QueryResult
  - `dataset` string, required
  - `plan` 'free' | 'pro'
  - `total` integer, required: Rows matching the filters
  - `returned` integer, required
  - `offset` integer
  - `truncated` boolean, required: true when fewer rows than total were returned
  - `ignored` string[]: Filter keys the dataset does not know
  - `columns` object[]
    - `key` string
    - `label` string
  - `rows` object[], required
  - `attribution` string, required: Keep this with the data
  - `licence` string
  - `next_step` object: Present when the plan capped the result: links and wording for getting every row
    - `message` string
    - `buy_export_url` string, uri
    - `signup_url` string, uri
    - `pricing_url` string, uri

---

[API](https://skmtc.dev/datascoop/apis/datascoop-api.md) · [All operations](https://skmtc.dev/datascoop/apis/datascoop-api/llms.txt) · [OpenAPI document](https://skmtc.dev/datascoop/apis/datascoop-api/revisions/102c5cf316da?raw)
