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.

Try it
Ready-made, maintained by usRecords, 15 fieldsv1.0

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

Nameoptional
Optional business name words.
Example: sushi
Statusoptional
Inspection status: Pass, Conditional Pass or Closed.
Example: Closed
Inspected afteroptional
Only inspections on or after this day (YYYY-MM-DD).
Example: 2026-11-01
Outcomeoptional
Optional exact court outcome, such as "Conviction: Fined".
Example: Conviction: Fined

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
Endpoint
POSThttps://pullrow.dev/v1/apis/toronto-dinesafe/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

nametext
Optional business name words.
example: sushi
statustext
Inspection status: Pass, Conditional Pass or Closed.
example: Closed
inspected_aftertext
Only inspections on or after this day (YYYY-MM-DD).
example: 2026-11-01
outcometext
Optional exact court outcome, such as "Conviction: Fined".
example: Conviction: Fined

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
establishment_idtextEstablishment ID (hidden)3 of 3
nametextBusiness name3 of 3
addresstextBusiness address3 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3
statustextStatus3 of 3
inspection_datedateInspection date3 of 3
infractiontextInfraction3 of 3
infraction_categorytextInfraction category3 of 3
severitytextSeverity3 of 3
observationtextObservation3 of 3
outcometextOutcome3 of 3
outcome_datedateOutcome date3 of 3
amount_finednumberAmount fined3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordBusiness nameStatusInfractionInfraction categorySeverityObservationOutcomeAmount finedBusiness addressLatitudeLongitudeInspection dateOutcome date
1Salu SaloConditional PassFail to maintain records of pest control measures taken - Sec. 13(2)08. PEST CONTROLS - SignificantOne or more significant infractions were observed under the Food Premises Regulation during an inspection.Conviction: Fined75280 Wilson Ave M3H 1S843.737617-79.434618Oct 13, 2026Nov 16, 2026
2MY GREEK TABLEConditional PassFail to protect against harbouring of pests - Sec. 13(1)08. PEST CONTROLS - SignificantOne or more significant infractions were observed under the Food Premises Regulation during an inspection.Conviction: Fined580454 Eglinton Ave W M5N 1A543.70406-79.412032Sep 18, 2026Oct 5, 2026
3THE ISLANDS CARIBBEAN COOKSHOPPassFOOD PREMISE NOT MAINTAINED WITH CLEAN FLOORS IN FOOD-HANDLING ROOM - SEC. 7(1)(G)05. MAINTENANCE / SANITATION OF NON-FOOD CONTACT SURFACES / EQUIPMENTM - MinorOne or more minor infractions were observed under the Food Premises Regulation during an inspection.Conviction: Fined75486 Front St W M5V 0V243.642111-79.39711Sep 2, 2026Nov 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.
Known limits
  • 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.