Toronto Restaurant Inspections API
Toronto DineSafe food-premises inspections, newest first: restaurant name, address and coordinates, pass or closed status, each infraction with its severity, the outcome and any fine.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from ckan0.cf.opendata.inter.prod-toronto.ca/api/3/action/package_show?id=dinesafe
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/toronto-dinesafe/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"name":"sushi"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
15 fields: 13 here, 2 technical ones under Technical details.
Basics
- Business name
Example Salu Salo
- Status
Inspection status: Pass, Conditional Pass or Closed.
Example Conditional Pass
- Infraction
The infraction found, with the regulation section.
Example Fail to maintain records of pest control measures taken - Sec. 13(2)
- Infraction category
Example 08. PEST CONTROL
- Severity
Severity: Minor, Significant or Crucial.
Example S - Significant
- Observation
The City's summary of what the inspector observed.
Example One or more significant infractions were observed under the Food Premises Regulation during an inspection.
- Outcome
Court or enforcement outcome, when recorded.
Example Conviction: Fined
Prices
- Amount fined
Fine in Canadian dollars, when one was set.
Example 75
Location
- Business address
Example 280 Wilson Ave M3H 1S8
- Latitude
Example 43.737617
- Longitude
Example -79.434618
Dates
- Inspection date
Day of the inspection.
Example Oct 13, 2026
- Outcome date
Day of the outcome.
Example Nov 16, 2026
Technical detailsField names and types for developers, and the 2 fields hidden above
Hidden by default
These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- ID
idUnique id of this inspection finding. - Establishment ID
establishment_idThe City's id of the food premises.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
establishment_id | text | Establishment ID (hidden) | 3 of 3 |
name | text | Business name | 3 of 3 |
address | text | Business address | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
status | text | Status | 3 of 3 |
inspection_date | date | Inspection date | 3 of 3 |
infraction | text | Infraction | 3 of 3 |
infraction_category | text | Infraction category | 3 of 3 |
severity | text | Severity | 3 of 3 |
observation | text | Observation | 3 of 3 |
outcome | text | Outcome | 3 of 3 |
outcome_date | date | Outcome date | 3 of 3 |
amount_fined | number | Amount fined | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Business name | Status | Infraction | Infraction category | Severity | Observation | Outcome | Amount fined | Business address | Latitude | Longitude | Inspection date | Outcome date |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Salu Salo | Conditional Pass | Fail to maintain records of pest control measures taken - Sec. 13(2) | 08. PEST CONTROL | S - Significant | One or more significant infractions were observed under the Food Premises Regulation during an inspection. | Conviction: Fined | 75 | 280 Wilson Ave M3H 1S8 | 43.737617 | -79.434618 | Oct 13, 2026 | Nov 16, 2026 |
| 2 | MY GREEK TABLE | Conditional Pass | Fail to protect against harbouring of pests - Sec. 13(1) | 08. PEST CONTROL | S - Significant | One or more significant infractions were observed under the Food Premises Regulation during an inspection. | Conviction: Fined | 580 | 454 Eglinton Ave W M5N 1A5 | 43.70406 | -79.412032 | Sep 18, 2026 | Oct 5, 2026 |
| 3 | THE ISLANDS CARIBBEAN COOKSHOP | Pass | FOOD PREMISE NOT MAINTAINED WITH CLEAN FLOORS IN FOOD-HANDLING ROOM - SEC. 7(1)(G) | 05. MAINTENANCE / SANITATION OF NON-FOOD CONTACT SURFACES / EQUIPMENT | M - Minor | One or more minor infractions were observed under the Food Premises Regulation during an inspection. | Conviction: Fined | 75 | 486 Front St W M5V 0V2 | 43.642111 | -79.39711 | Sep 2, 2026 | Nov 6, 2026 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- One record is one infraction found at one inspection, so a single inspection with several infractions returns several records; inspections with no infraction have one record with empty infraction fields.
- Results come newest first; one run returns at most 10,000 records, so use status, name or inspected_after to narrow.
- The City refreshes the data daily; very recent inspections can lag by a day or more.
- Fines (amount_fined) and outcome are only filled when a conviction or court action was recorded, which is rare.
- Open Government Licence - Toronto: credit the City of Toronto (Toronto Public Health DineSafe).
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.