KnowAPI

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

Customize APICompare plansSee the dataMetadata (JSON)

Facts about this data

Update frequencyEvery 7 days
Last successful read2026-12-03 07:11 UTC
CoveragePartial copy: 2,999 records kept of 407,120
Confidencehigh (Lowest source score 90/100)
How values are checkedValues 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 period1900-01-01T00:00:00.000 to 2026-12-01T00:00:00.000

Known limitations

Sources

SourceReliability (30 days)Last good read
data.cityofnewyork.us
https://data.cityofnewyork.us/resource/43nn-pn8j.json?$limit=200
100% of 2 reads2026-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

ParameterExampleDescription
namename__contains=pizzaValue of "name" as published by the source.. Filters: name= (exact), name__contains=, name__prefix=.
inspection_dateinspection_date__gte=2026-10-01Value of "inspection_date" as published by the source.. Filters: inspection_date=, inspection_date__gte=, inspection_date__lte=.
classificationclassification=ChineseValue of "classification" as published by the source.. Filters: classification= (exact), classification__contains=, classification__prefix=.
addressaddress__contains=avenueValue of "address" as published by the source.. Filters: address= (exact), address__contains=, address__prefix=.
citycity=ManhattanValue of "city" as published by the source.. Filters: city= (exact), city__contains=, city__prefix=.
zip_codezip_code=10012Value of "zip_code" as published by the source.. Filters: zip_code= (exact), zip_code__contains=, zip_code__prefix=.
inspection_typeinspection_type__contains=inspectionValue of "inspection_type" as published by the source.. Filters: inspection_type= (exact), inspection_type__contains=, inspection_type__prefix=.
inspection_scoreinspection_score__gte=30Value of "inspection_score" as published by the source.. Filters: inspection_score=, inspection_score__gte=, inspection_score__lte=.
inspection_resultinspection_result__contains=violationsValue of "inspection_result" as published by the source.. Filters: inspection_result= (exact), inspection_result__contains=, inspection_result__prefix=.
inspection_closed_businessValue 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_rangeValue 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_categoryValue 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_pointsValue 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.
gradegrade=AValue of "grade" as published by the source.. Filters: grade= (exact), grade__contains=, grade__prefix=.
parcel_numberparcel_number=1Value of "parcel_number" as published by the source.. Filters: parcel_number= (exact), parcel_number__contains=, parcel_number__prefix=.
business_idbusiness_id=40365904Value of "business_id" as published by the source.. Filters: business_id= (exact), business_id__contains=, business_id__prefix=.
inspection_serial_numValue 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_identifierValue 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_typeviolation_type=08AValue of "violation_type" as published by the source.. Filters: violation_type= (exact), violation_type__contains=, violation_type__prefix=.
violation_descriptionviolation_description__contains=foodValue of "violation_description" as published by the source.. Filters: violation_description= (exact), violation_description__contains=, violation_description__prefix=.
qpizzaMatches any field.
field__gte / field__lteinspection_date__gte=2026-10-01At least / at most, for numbers and dates (a plain date as upper bound includes the whole day).
field__prefix / field__containsname__contains=pizzaStarts with / contains, case-insensitive. Combine filters with &, e.g. a__contains=x&b__gte=1.
sort + ordersort=name&order=ascSort by any field.
limit + offsetlimit=100&offset=0Up to 500 records per request.
since2026-11-27T05:00:00ZOnly 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.