The terms you'll meet in every response, then each object the API returns, field by field. Fields marked * are always present (possibly nullwhen the type allows); others may be omitted. New fields can appear at any time — ignore what you don't recognize.
Terms
CAMIS
The Health Department's permit number for a food-service establishment — the `camis` id on every restaurant endpoint. Numeric string.
BBL
Borough-Block-Lot: the 10-digit tax-lot id (borough 1–5, 5-digit block, 4-digit lot) — the `bbl` id on property endpoints. 1 Manhattan, 2 Bronx, 3 Brooklyn, 4 Queens, 5 Staten Island.
Slug
A contractor's URL-safe id derived from the name the city dockets it under. Docket spellings fold to one canonical slug per company; get slugs from `/v1/contractors/search`.
Grade
The posted letter: A (score 0–13), B (14–27), C (28+); Z and P mean grade pending, N not yet graded. Scores are penalty points — lower is better.
riskLevel / riskScore
DailyDog's 0–100 score bucketed LOW · MODERATE · HIGH · SEVERE — the same scoring as dailydog.ai reports. The facts are the city's; the weighting is ours.
Open violation
A city record without a closing disposition (not cured, dismissed, or paid/resolved) at the time of the last sync.
ECB / OATH
Environmental Control Board summonses, adjudicated by the Office of Administrative Trials and Hearings. Carries the hearing result, penalty imposed, and balance due.
Defaulted hearing
The respondent didn't appear; the penalty was imposed in full. Often reopenable within a window — see the reopen fields on contractor tickets.
Cents
All money is integer cents: `finesDueCents: 6650000` is $66,500.00. Divide by 100 for display.
Dates
ISO-8601. Day-precision fields are `YYYY-MM-DD`; timestamps carry a time and `Z`.
Deadline status
ok · due_soon · overdue · action_needed · unverifiable. `unverifiable` means the city publishes no record to check — never read it as compliant.
dd_live_ / dd_test_
Key modes. Live keys read city records; test keys answer from the deterministic fixture city with identical envelopes.
'Conditions conducive to vermin' citations — the warning sign.
lastSightedAt
string | null
Most recent live-vermin citation.
weighted
object
Recency-weighted sightings (same 3-year window): each citation counts 0.5^(ageDays/365) — a 12-month half-life, so a 3-week-old finding weighs ~1.0 and a 3-year-old ~0.125. One decimal. Use these when a 'how bad is it NOW' number is wanted; the flat counts above remain for compatibility.
↳ mice *
number
Recency-weighted mouse citations.
↳ rats *
number
Recency-weighted rat citations.
↳ roaches *
number
Recency-weighted roach citations.
↳ flies *
number
Recency-weighted fly citations.
↳ other *
number
Recency-weighted other live-animal citations.
↳ conducive *
number
Recency-weighted conducive-conditions citations.
SanitaryReport
The food-safety story only — computed from health-inspection records; enforcement and administrative records are excluded. Food categories: vermin, food_temp, hygiene, facility.
Field
Type
Description
latestCycleScore
integer | null
Most recent scored inspection (lower is better); null if never scored.
latestInitialScore
integer | null
Most recent scored INITIAL inspection — the steady-state signal (re-inspections happen after a cleanup and score flatteringly).
worstScore36mo
integer | null
Worst (highest) score in the last 36 months.
criticalFood24mo *
integer
Critical food-category violations in the last 24 months.
openFoodViolations *
integer
Food-category items cited at the most recent visit.
closures36mo *
integer
Health Department closures in the last 36 months.
weighted
object
Recency-weighted variants of the flat counts (same windows, 12-month half-life: 0.5^(ageDays/365)). Recent findings dominate; three-year-old history fades to ~12.5%. `worstScoreWeight` is the recency weight (0–1) of the inspection behind `worstScore36mo` — multiply the two to age the worst-score story; null when there is no scored history.
Recency weight (0–1) of the worst score's most recent occurrence.
ownerResponseSignal
string | null
'documented_fixes' when the operator has uploaded proof of correcting one or more currently-open violations; null otherwise. Owner-submitted and UNVERIFIED — a transparent response indicator, pending re-inspection. It NEVER changes the grade, score, or risk. See the `remediation` object for the counts, and render it as information (e.g. 'Owner has documented fixes for N of M open items — pending re-inspection').
RestaurantStats
Field
Type
Description
openViolations *
integer
Items open right now.
totalViolations *
integer
Citations + summonses on record.
criticalViolations *
integer
Critical citations across the history.
inspectionCount *
integer
Inspection visits on record.
closureCount *
integer
Times the Health Department closed it.
oathSummonses *
integer
Hearing summonses on record.
finesImposedCents *
integer
Penalties imposed across the docket. Integer cents.
The food-safety story only — computed from health-inspection records; enforcement and administrative records are excluded. Food categories: vermin, food_temp, hygiene, facility.
Community-report rollup for the establishment. `counts` are over the non-hidden set; `scoreAdjustment` is the capped, decaying dock in [-8, 0], surfaced as its own labeled line (never silently blended). Praise never adds points.
remediation *
object | null
The owner-response signal, or null when nothing is documented against an open violation. Owner-submitted proof of fix, UNVERIFIED and pending re-inspection — presentation only, never a score change.
↳ openViolations
integer
Violations open right now — the set the signal is measured against.
↳ documentedOpenViolations
integer
Open violations with at least one owner-uploaded document.
Distinct categories among the documented open violations.
↳ lastDocumentedAt
string | null
Most recent upload date among documented open violations.
CommunityBlock
Community-report rollup for the establishment. `counts` are over the non-hidden set; `scoreAdjustment` is the capped, decaying dock in [-8, 0], surfaced as its own labeled line (never silently blended). Praise never adds points.
Field
Type
Description
counts *
object
↳ pest *
integer
Non-hidden pest reports.
↳ food_poisoning *
integer
Non-hidden food-poisoning reports.
↳ sanitation_other *
integer
Non-hidden other-sanitation reports.
↳ praise_taste *
integer
Taste praise (never affects score).
↳ praise_clean *
integer
Cleanliness praise (never affects score).
lastReportAt *
string | null
Most recent non-hidden report date.
scoreAdjustment *
integer
Score points to add, an integer in [-8, 0]. Negative = docked, 0 = none.
CommunityAuthor
Field
Type
Description
displayName *
string
Claimed username, or the stable generated fun default.
avatarId *
string | null
Opaque avatar id for GET /v1/profiles/avatars/{id}; null → render a monogram.