Toronto Business Licences API
City of Toronto business licences: operating name, licence category, issue and cancel dates, business address, postal code, ward and endorsements. Search by words, category, ward or postal prefix.
$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 open.toronto.ca/dataset/municipal-licensing-and-standards-business-licences-and-permits/
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-business-licences/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"search":"pizza"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
11 fields: 10 here, 1 technical one under Technical details.
Basics
- Licence no
Licence number issued by the City.
Example B71-4651977
- Category
Type of licence or permit.
Example EATING OR DRINKING ESTABLISHMENT
- Operating name
Name the business operates under.
Example PIZZA PIZZA
- City ward number
Example 11
- Endorsements
Endorsements on the licence.
Example REFRESHMENTS;
Location
- Address
Business address with city and province.
Example 617 COLLEGE ST, TORONTO, ON
- Postal code
Postal code of the business address.
Example M6G 1B5
Dates
- Issued date
Date the licence was issued.
Example Jun 15, 2016
- Cancel date
Date the licence was cancelled, empty while active.
Example Sep 15, 2019
- Last updated date
Date the City last changed the record.
Example Oct 28, 2019
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idRow id in the City data.
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 |
licence_no | text | Licence no | 3 of 3 |
category | text | Category | 3 of 3 |
operating_name | text | Operating name | 3 of 3 |
issued_date | date | Issued date | 3 of 3 |
cancel_date | date | Cancel date | 2 of 3 |
address | text | Address | 3 of 3 |
postal_code | text | Postal code | 3 of 3 |
ward | number | City ward number | 3 of 3 |
endorsements | text | Endorsements | 3 of 3 |
last_updated_date | date | Last updated date | 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 | Licence no | Category | Operating name | City ward number | Endorsements | Address | Postal code | Issued date | Cancel date | Last updated date |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | B71-4651977 | EATING OR DRINKING ESTABLISHMENT | PIZZA PIZZA | 11 | REFRESHMENTS; | 617 COLLEGE ST, TORONTO, ON | M6G 1B5 | Jun 15, 2016 | Sep 15, 2019 | Oct 28, 2019 |
| 2 | B50-4649700 | TAKE-OUT OR RETAIL FOOD ESTABLISHMENT | PIZZA PIZZA | 4 | EATING/DRINKING; | 1771 LAKE SHORE BLVD W, TORONTO, ON | M8V 2Z6 | Jun 10, 2016 | — | Apr 21, 2026 |
| 3 | B71-3500834 | EATING OR DRINKING ESTABLISHMENT | PIZZA PIZZA | 14 | REFRESHMENTS; | 11 POLSON ST, TORONTO, ON | M5A 1A4 | May 25, 2006 | Aug 25, 2007 | Jun 27, 2008 |
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.
- About 160,000 licences going back to the 1990s, including many that were cancelled long ago; turn on active_only to keep only licences with no cancel date.
- With active_only the API reads through the matching records and drops cancelled ones, so a broad search with it on can take longer to fill.
- The client name and phone columns of the City file are left out on purpose; only the trading name and business address are returned.
- Words in search match whole words across the record (name, category, address, conditions): 'restaurant' finds almost nothing because the City category is 'EATING OR DRINKING ESTABLISHMENT'.
- Postal-code filtering is by prefix, for example M5A or M6G 1B.
- The City refreshes the file regularly; ward is empty for some older and out-of-city records.
- Published under the Open Government Licence - Toronto; credit the City of Toronto.
- Requests are paced at about one every half second.
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.