Toronto Road Closures & Restrictions API

Current and planned City of Toronto road closures, construction, hazards and special-event restrictions: road, affected stretch, district, class, type, start and end times, impact level and map position. Filter by road, district, type or day.

$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, 19 fieldsv1.0

Data from secure.toronto.ca/opendata/cart/road_restrictions/v3?format=json

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

Roadsoptional
Only restrictions on these roads. A road name matches if it contains the text, for example Gerrard St E. One per line, or separated by commas.
Example: Gerrard St E
Districtsoptional
Only these districts: TORONTO, NORTH YORK, SCARBOROUGH, ETOBICOKE, EAST YORK or YORK. A restriction spanning two districts matches either. One per line, or separated by commas.
Example: TORONTO
Typesoptional
Only these types: CONSTRUCTION, ROAD_CLOSED or HAZARD. One per line, or separated by commas.
Example: CONSTRUCTION
Active onoptional
Only restrictions in effect on this day, as YYYY-MM-DD.
Example: 2026-12-07

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-road-restrictions/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-road-restrictions/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"roads":["Gerrard St E"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

roadslist
Only restrictions on these roads. A road name matches if it contains the text, for example Gerrard St E.
example: Gerrard St E
districtslist
Only these districts: TORONTO, NORTH YORK, SCARBOROUGH, ETOBICOKE, EAST YORK or YORK. A restriction spanning two districts matches either.
example: TORONTO
typeslist
Only these types: CONSTRUCTION, ROAD_CLOSED or HAZARD.
example: CONSTRUCTION
active_ontext
Only restrictions in effect on this day, as YYYY-MM-DD.
example: 2026-12-07

What's in each record

19 fields: 18 here, 1 technical one under Technical details.

Basics

  • Main road affected

    Example Tyndall Ave

  • Name

    The affected stretch in words, such as King St W from X to Y.

    Example Tyndall Ave at King St W to 18 m South of King St W

  • From road

    Cross street where the stretch starts.

    Example King St W

  • To road

    Cross street where the stretch ends.

    Example King St W

  • Toronto district or districts

    Example TORONTO

  • Road class

    Road class, such as Local Road or Major Arterial.

    Example Local Road

  • Description

    What the permit or event is, in the City's words.

    Example Toronto-TMC: Watermain & TTC Track Replacement at King St W from Dufferin to Close Ave

  • Type

    CONSTRUCTION, ROAD_CLOSED or HAZARD.

    Example ROAD_CLOSED

  • Sub type

    More detail on the type, such as ROAD_CLOSED_CONSTRUCTION.

    Example ROAD_CLOSED_CONSTRUCTION

  • Work event type

    Permit category, such as Toronto Hydro or Watermain.

    Example Toronto Transit Commission

  • Directions affected

    BOTH_DIRECTIONS or ONE_DIRECTION.

    Example BOTH_DIRECTIONS

  • Maximum impact

    Highest expected traffic impact: Low, Medium or High.

    Example Low

  • Latitude

    Latitude of the stretch's start.

    Example 43.63858

  • Longitude

    Longitude of the stretch's start.

    Example -79.42914

Dates

  • Start at

    When the restriction starts (UTC).

    Example Mar 15, 2027

  • End at

    When the restriction ends (UTC).

    Example May 15, 2027

  • Last updated

    When the City last updated the row (UTC).

    Example Nov 18, 2026

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 idThe City's id of the restriction.

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
roadtextMain road affected3 of 3
nametextName3 of 3
from_roadtextFrom road3 of 3
to_roadtextTo road3 of 3
districttextToronto district or districts3 of 3
road_classtextRoad class3 of 3
descriptiontextDescription3 of 3
typetextType3 of 3
sub_typetextSub type3 of 3
work_event_typetextWork event type2 of 3
directions_affectedtextDirections affected3 of 3
start_atdate and timeStart at3 of 3
end_atdate and timeEnd at3 of 3
max_impacttextMaximum impact3 of 3
latnumberLatitude3 of 3
lonnumberLongitude3 of 3
last_updated_atdate and timeLast updated3 of 3
urllinkLink3 of 3

How it reads the site

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

Sample records

Sample records
RecordNameMain road affectedFrom roadTo roadToronto district or districtsRoad classDescriptionTypeSub typeWork event typeDirections affectedMaximum impactLatitudeLongitudeStart atEnd atLast updatedLink
1Tyndall Ave at King St W to 18 m South of King St WTyndall AveKing St WKing St WTORONTOLocal RoadToronto-TMC: Watermain & TTC Track Replacement at King St W from Dufferin to Close AveROAD_CLOSEDROAD_CLOSED_CONSTRUCTION—BOTH_DIRECTIONSLow43.63858-79.42914Mar 15, 2027May 15, 2027Nov 18, 2026toronto.ca/services-payments/streets-parking-transportation/road-restrictions-closures/restrictions-map/
2Yonge St 122 m North of Gerrard St E to 94 m North of Gerrard St EYonge StGerrard St EGerrard St ETORONTOMajor Arterial RoadToronto-TMC: Scope of work includes new conduit/duct bank installation for the TTC.ROAD_CLOSEDROAD_CLOSED_CONSTRUCTIONToronto Transit CommissionBOTH_DIRECTIONSHigh43.66014-79.38259Jan 26, 2027Feb 8, 2027Dec 4, 2026toronto.ca/services-payments/streets-parking-transportation/road-restrictions-closures/restrictions-map/
3Scrivener Sq 73 m East of Yonge St to Yonge StScrivener SqYonge StYonge StTORONTOLocal RoadToronto-TMC: Purpose of this road closure application is to allow the safe build of the new temporary bridge on Scrivener Sq adjacent to the TTC tunnel to allow for construction of the new TTC Second Entrance from the James Condo. During the build Scrivener Sq will be excavated…ROAD_CLOSEDROAD_CLOSED_CONSTRUCTIONToronto Transit Commission, OtherBOTH_DIRECTIONSLow43.68074-79.39012Jan 4, 2027Jan 29, 2027Nov 24, 2026toronto.ca/services-payments/streets-parking-transportation/road-restrictions-closures/restrictions-map/

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
  • Data is the City of Toronto's road restrictions open data, published under the Open Government Licence - Toronto; credit the City of Toronto.
  • The City publishes the whole list as one file (about 1,800 rows) that it updates through the day; each run reads that file once and filters it, so results are a snapshot of that moment.
  • Times are as permits state them and are shown in UTC; daily work windows (such as 22:00-09:00) are in the schedule text of the City's map, not in these fields.
  • work_event_type is the permit category as the City wrote it and is empty on some rows; road_class is Unknown for some rows.
  • Position is a single point near the start of the affected stretch.

Version history

A run uses the live version unless the request names another one with version.