Data Blocks › API
NYC restaurant inspection results with grade and violation
Records from the publisher's feed: NYC restaurant inspection results with grade and violation
Facts about this data
| Update frequency | Every 7 days |
| Last successful read | 2026-12-03 07:11 UTC |
| Coverage | Partial copy: 2,999 records kept of 407,120 |
| Confidence | high (Lowest source score 90/100) |
| How values are checked | Values are copied from the official feed by a fixed field mapping; every mapped path is validated against the live feed on each read. No values are generated. |
| Reporting period | 1900-01-01T00:00:00.000 to 2026-12-01T00:00:00.000 |
Known limitations
- Event stream: the newest records are kept up to the storage limit; older records may be pruned.
- "No result" means no matching record in what we hold, not proof that none exists.
Sources
| Source | Reliability (30 days) | Last good read |
|---|---|---|
| data.cityofnewyork.us https://data.cityofnewyork.us/resource/43nn-pn8j.json?$limit=200 | 100% of 2 reads | 2026-12-03 07:11 UTC |
Use it
No key yet? Click Get a free key above and it fills into this command.
curl "https://api.knowapi.dev/v1/data/nyc-restaurant-inspection-results-with-grade-and-violation?inspection_type=Cycle+Inspection+%2F+Initial+Inspection&limit=3" -H "Authorization: Bearer YOUR_KEY"
Verified example: run against the stored data on 2026-12-03, it returned 5 matching records. MCP: query_api with {"api_id":"8f48ef85-76e5-47d5-b16b-b08a8329d40d","params":{"inspection_type":"Cycle Inspection / Initial Inspection","limit":3}}.
No key? Call the same URL and pay per call with x402 (USDC on Base). AI agents: MCP server https://api.knowapi.dev/mcp, tool query_api with api_id 8f48ef85-76e5-47d5-b16b-b08a8329d40d.
Parameters
| Parameter | Example | Description |
|---|---|---|
name | name__contains=pizza | Value of "name" as published by the source.. Filters: name= (exact), name__contains=, name__prefix=. |
inspection_date | inspection_date__gte=2026-10-01 | Value of "inspection_date" as published by the source.. Filters: inspection_date=, inspection_date__gte=, inspection_date__lte=. |
classification | classification=Chinese | Value of "classification" as published by the source.. Filters: classification= (exact), classification__contains=, classification__prefix=. |
address | address__contains=avenue | Value of "address" as published by the source.. Filters: address= (exact), address__contains=, address__prefix=. |
city | city=Manhattan | Value of "city" as published by the source.. Filters: city= (exact), city__contains=, city__prefix=. |
zip_code | zip_code=10012 | Value of "zip_code" as published by the source.. Filters: zip_code= (exact), zip_code__contains=, zip_code__prefix=. |
inspection_type | inspection_type__contains=inspection | Value of "inspection_type" as published by the source.. Filters: inspection_type= (exact), inspection_type__contains=, inspection_type__prefix=. |
inspection_score | inspection_score__gte=30 | Value of "inspection_score" as published by the source.. Filters: inspection_score=, inspection_score__gte=, inspection_score__lte=. |
inspection_result | inspection_result__contains=violations | Value of "inspection_result" as published by the source.. Filters: inspection_result= (exact), inspection_result__contains=, inspection_result__prefix=. |
inspection_closed_business | | Value of "inspection_closed_business" as published by the source.. Filters: inspection_closed_business= (exact), inspection_closed_business__contains=, inspection_closed_business__prefix=. No example shown: no stored record has a value for this field yet. |
seating_range | | Value of "seating_range" as published by the source.. Filters: seating_range= (exact), seating_range__contains=, seating_range__prefix=. No example shown: no stored record has a value for this field yet. |
risk_category | | Value of "risk_category" as published by the source.. Filters: risk_category=, risk_category__gte=, risk_category__lte=. No example shown: no stored record has a value for this field yet. |
violation_points | | Value of "violation_points" as published by the source.. Filters: violation_points=, violation_points__gte=, violation_points__lte=. No example shown: no stored record has a value for this field yet. |
grade | grade=A | Value of "grade" as published by the source.. Filters: grade= (exact), grade__contains=, grade__prefix=. |
parcel_number | parcel_number=1 | Value of "parcel_number" as published by the source.. Filters: parcel_number= (exact), parcel_number__contains=, parcel_number__prefix=. |
business_id | business_id=40365904 | Value of "business_id" as published by the source.. Filters: business_id= (exact), business_id__contains=, business_id__prefix=. |
inspection_serial_num | | Value of "inspection_serial_num" as published by the source.. Filters: inspection_serial_num= (exact), inspection_serial_num__contains=, inspection_serial_num__prefix=. No example shown: no stored record has a value for this field yet. |
program_identifier | | Value of "program_identifier" as published by the source.. Filters: program_identifier= (exact), program_identifier__contains=, program_identifier__prefix=. No example shown: no stored record has a value for this field yet. |
violation_type | violation_type=08A | Value of "violation_type" as published by the source.. Filters: violation_type= (exact), violation_type__contains=, violation_type__prefix=. |
violation_description | violation_description__contains=food | Value of "violation_description" as published by the source.. Filters: violation_description= (exact), violation_description__contains=, violation_description__prefix=. |
q | pizza | Matches any field. |
field__gte / field__lte | inspection_date__gte=2026-10-01 | At least / at most, for numbers and dates (a plain date as upper bound includes the whole day). |
field__prefix / field__contains | name__contains=pizza | Starts with / contains, case-insensitive. Combine filters with &, e.g. a__contains=x&b__gte=1. |
sort + order | sort=name&order=asc | Sort by any field. |
limit + offset | limit=100&offset=0 | Up to 500 records per request. |
since | 2026-11-27T05:00:00Z | Only records that are new or changed since a date or timestamp. Every answer includes next_since: pass it back on your next call to get just the changes (each record is marked _change: new or updated). |
Sample payload (real records)
[
{
"city": "Brooklyn",
"name": "FAMILY KITCHEN",
"grade": null,
"address": "FOSTER AVENUE",
"zip_code": "11230",
"business_id": "41528976",
"parcel_number": "3052170034",
"risk_category": null,
"seating_range": null,
"classification": "Chinese",
"violation_type": "04M",
"inspection_date": "2023-10-05T00:00:00.000"
},
{
"city": "Queens",
"name": "TAKESUSHI",
"grade": null,
"address": "42 STREET",
"zip_code": "11104",
"business_id": "41679611",
"parcel_number": "4001880043",
"risk_category": null,
"seating_range": null,
"classification": "Japanese",
"violation_type": "06D",
"inspection_date": "2022-11-22T00:00:00.000"
}
]Product group
Data $0.0037 per call (billed)
A single source answers each call: an individual lookup. See the group.
Price
$0.0037 per call (up to 50 records). Monthly plans include calls: pricing. More rows per call: More rows (up to 500 records) $0.037, Max rows (up to 3,000 records) $0.222.