DailyDog API · v1.1.11
NYC enforcement records, over one JSON API
Restaurant inspection grades and violation histories, building violations with real penalty dollars, compliance deadlines, and contractor enforcement dockets — assembled from official city records and scored the same way DailyDog's own reports are. 37 endpoints, one envelope, integer-cent money.
What it's for
Three record systems, one key. Each card lists the endpoints that serve it.
Buildings
Owners, managers, lenders, brokers, insurers, proptech
- Screen a portfolio by BBL for open violations and unpaid judgments
- Pull a building's open DOB/ECB records with real penalty dollars
- Track its compliance calendar — facade, boiler, gas piping, LL97
Restaurants
Delivery & review apps, food-safety teams, landlords, journalists
- Show the posted grade and full inspection history for any CAMIS
- Monitor grades and closures; map vermin citations city-wide
- Browse every establishment by borough, cuisine, grade, or risk
Contractors
GCs, owners vetting a hire, insurers, compliance teams
- Vet a company's OATH docket before you sign — defaults, fines due
- Monitor your own summonses for hearing dates and reopen windows
- Rank the city's contractors by unpaid fines or ticket volume
Quickstart
The request on the right runs as-is: it uses the public test key, which answers from the fixture city (200 requests per IP per day, fixture data only). Swap in your live key and the same code returns real city records.
1 · Get a key
Keys are commissioned, not self-serve: tell us what you're building and your expected volume, and we come back with pricing same-day. Your key then appears — with live usage — in Portal → Developers. The plaintext is shown once (we store only a SHA-256 fingerprint), along with a paired
dd_test_key for development and CI. Keep keys server-side — never ship them in a browser or app bundle.2 · Make your first call
GET /api/v1/restaurants/search— search restaurants. Send the key as a bearer token. Prefer a live console? Every endpoint in the reference has one.3 · Read the response
Successes wrap the payload in
{ "data": … }; paginated lists addmeta.nextCursor. Errors are{ "error": { "code", "message" } }with a real HTTP status. Check theX-RateLimit-Remainingheader to watch your quota. The fields you'll use first:camis DOHMH permit number — the establishment's id. grade Posted grade: A|B|C|Z|P|N (Z/P = pending, N = not yet graded). score Latest inspection score — LOWER is better; 0–13 is the A band. riskLevel LOW | MODERATE | HIGH | SEVERE. riskScore 0–100, higher is worse. openViolations Items open right now (latest-cycle citations). lastInspectedAt Most recent inspection. Every field, for every object: glossary.
curl "https://www.dailydog.ai/api/v1/restaurants/search?q=diner" \
-H "Authorization: Bearer dd_test_d23d83e5ee04c87b1fee30680033c31aa0ef7985"{
"data": [
{
"camis": "90000005",
"name": "MIDNIGHT DINER",
"address": "700 EXAMPLE CONCOURSE",
"borough": "Bronx",
"zip": "10451",
"cuisine": "American",
"grade": "C",
"score": 38,
"closed": false,
"riskLevel": "HIGH",
"riskScore": 58,
"lastInspectedAt": "2026-06-05",
"latitude": 40.827,
"longitude": -73.925,
"openViolations": 3
}
]
}Authentication
Base URL https://www.dailydog.ai/api — every path starts /v1. Send the key on every request, either way:
Authorization: Bearer dd_live_<40 hex chars>
X-Api-Key: dd_live_<40 hex chars>dd_live_keys read real city records;dd_test_keys ride the same auth, envelopes, and pagination but answer from the fixture city.GET /v1/mereports which one you hold.- A missing, malformed, or revoked key gets
401 unauthorized. Lost or leaked a key? Tell us — we revoke it and issue a new one (plaintext is never recoverable). - No key needed for:
/v1/health,/v1/openapi.json. - Community-report and profile endpoints also identify the end user's device with an
X-Device-Idheader (a per-install id; we store only a salted hash). Required on 6 endpoints — the reference marks each.
Rate limits, errors & conventions
Rate limits →
A commissioned daily limit per key (or unlimited), resetting at midnight UTC. 429s never count against you.
Errors →
6 stable codes: 400 invalid_request, 401 unauthorized, 404 not_found, 409 conflict, 429 rate_limited, 500 internal.
Pagination & filters →
Opaque cursors, comma-list filters, since= monitoring, strict unknown-param rejection.
Data sources & freshness
Every fact comes from an official New York City record system — mostly NYC Open Data. Most endpoints query the city live on each request, so a response is as current as the city's own publication (agencies typically post daily, often days after the event). Scores, risk levels, and deadline math are DailyDog's; the underlying facts are the city's.
Restaurants
Profiles, inspections, violations, nearby, and browse query the city's dataset live on every request. Name search reads a mirror of the inspection dataset re-synced daily (falls back to live). The city republishes inspection results roughly daily, typically a few days after the inspection.
- DOHMH Restaurant Inspection Results
43nn-pn8j— Grades, scores, inspections, violations, location - OATH Hearings Division Case Status
jz4z-kudi— Health-code hearings: defaults, penalties, balances - DailyDog community reports — The `community` block (user-submitted, labeled separately)
City feeds
Live queries against the city dataset on every request.
- DOHMH Restaurant Inspection Results
43nn-pn8j— Every citation and inspection, city-wide
Meta & stats
Cuisines and violation codes are cached 24 hours; stats 6 hours; boroughs are a static list.
- DOHMH Restaurant Inspection Results
43nn-pn8j— Cuisine and violation-code lists; aggregates
Properties
Every single-lot call queries the city live (at most 1,000 rows per dataset per lot). Batch profiles are cached 6 hours. Deadlines are computed live from the building's current profile and records.
- PLUTO
64uk-42ks— Lot identity, address, building facts - DOB Permit Issuance
ipu4-2q9a— Permits - DOB Job Application Filings
ic3t-wcy2— Jobs - DOB NOW: Build — Approved Permits
w9ak-ipjd— Permits - DOB Violations
3h2n-5cm9— Violations - DOB ECB Violations
6bgk-3dad— Violations + penalties - OATH Hearings Division Case Status
jz4z-kudi— Hearing results, penalties, balances due - DOB Complaints Received
eabe-havv— Complaints - DOB NOW facade, boiler, elevator & safety datasets — Compliance filings and safety violations
- HPD registrations, LL84 benchmarking, DOF assessment roll / exemptions / abatements — Compliance calendar & tax standing (deadlines)
- NYC Planning GeoSearch — Address search
Contractors
Live queries on every request. A company's docket covers up to 25 spellings and 2,000 summonses.
- OATH Hearings Division Case Status
jz4z-kudi— DOB-issued summonses by respondent name
Community reports
Real time — reads reflect writes immediately.
- DailyDog community reports & profiles — User-submitted; never city data
Versioning & changelog
/v1is stable: changes are additive only (new endpoints, optional params, response fields), so ignore keys you don't recognize. A breaking change would ship as /v2 alongside v1. Full policy.
- v1.1.11 · August 7, 2026 Erasure keeps its promise — and an audit copy
- v1.1.10 · August 7, 2026 Erase your profile
- v1.1.9 · August 5, 2026 Report caps ride the device
Support
Questions, a new key, more headroom, or a record that looks wrong? Contact the API team. Include the endpoint, the time (UTC), and the response body — never your full key (its first 12 characters, e.g. dd_live_a1b2, identify it). Live status: the health endpoint (also the dot in the header).