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.

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

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

Searchoptional
Words to find in the operating name, address or conditions, for example pizza.
Example: pizza
Categoryoptional
Exact licence category as the City writes it, for example EATING OR DRINKING ESTABLISHMENT.
Example: EATING OR DRINKING ESTABLISHMENT
Wardoptional
City ward number.
Example: 13
Postal codeoptional
Postal code or the start of one, for example M5A.
Example: M5A
Active onlyoptional
Keep only licences with no cancel date.

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-business-licences/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-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.

searchtext
Words to find in the operating name, address or conditions, for example pizza.
example: pizza
categorytext
Exact licence category as the City writes it, for example EATING OR DRINKING ESTABLISHMENT.
example: EATING OR DRINKING ESTABLISHMENT
wardnumber
City ward number.
example: 13
postal_codetext
Postal code or the start of one, for example M5A.
example: M5A
active_onlyyes/no
Keep only licences with no cancel date.
example: true

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
licence_notextLicence no3 of 3
categorytextCategory3 of 3
operating_nametextOperating name3 of 3
issued_datedateIssued date3 of 3
cancel_datedateCancel date2 of 3
addresstextAddress3 of 3
postal_codetextPostal code3 of 3
wardnumberCity ward number3 of 3
endorsementstextEndorsements3 of 3
last_updated_datedateLast updated date3 of 3

How it reads the site

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

Sample records

Sample records
RecordLicence noCategoryOperating nameCity ward numberEndorsementsAddressPostal codeIssued dateCancel dateLast updated date
1B71-4651977EATING OR DRINKING ESTABLISHMENTPIZZA PIZZA11REFRESHMENTS;617 COLLEGE ST, TORONTO, ONM6G 1B5Jun 15, 2016Sep 15, 2019Oct 28, 2019
2B50-4649700TAKE-OUT OR RETAIL FOOD ESTABLISHMENTPIZZA PIZZA4EATING/DRINKING;1771 LAKE SHORE BLVD W, TORONTO, ONM8V 2Z6Jun 10, 2016—Apr 21, 2026
3B71-3500834EATING OR DRINKING ESTABLISHMENTPIZZA PIZZA14REFRESHMENTS;11 POLSON ST, TORONTO, ONM5A 1A4May 25, 2006Aug 25, 2007Jun 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.
Known limits
  • 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.