City Open Data Portal Search API
Search the dataset catalogues of Toronto, Montreal, NSW, Dublin, London, Canada and Ireland. Returns each dataset's title, publisher, update date, licence, file formats and whether its rows can be queried directly.
$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_search
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/ckan-city-portal-search/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"portal":"toronto"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
14 fields: 13 here, 1 technical one under Technical details.
Basics
- Portal
Portal the dataset comes from.
Example toronto
- Name
Dataset short name used in the portal address.
Example parks
- Dataset title
Example Parks
- Description
Dataset description in plain text.
Example **This dataset is no longer accurate. Please see [Green Spaces](https://open.toronto.ca/dataset/green-spaces/) for the…
- Publisher
Publishing organisation.
Example City of Toronto
- License
Licence as stated by the publisher.
Example open-government-licence-toronto
- Resources count
Number of files and links in the dataset.
Example 1
- Formats
File formats offered, such as CSV or GeoJSON.
Example SHP
- Has row query
Yes when at least one file can be queried row by row.
Example No
- Tags
Keywords the publisher attached.
Example parking, parking ticket
Dates
- Modified
When the dataset record last changed (UTC).
Example Nov 5, 2026
Links
- Link
Link to the dataset page.
Example open.toronto.ca/dataset/parks
- Row query link
Row query link for the first queryable file, when there is one.
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
idPortal and dataset name together.
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 |
portal | text | Portal | 3 of 3 |
name | text | Name | 3 of 3 |
title | text | Dataset title | 3 of 3 |
url | link | Link | 3 of 3 |
description | text | Description | 3 of 3 |
publisher | text | Publisher | 3 of 3 |
license | text | License | 3 of 3 |
modified_at | date and time | Modified | 3 of 3 |
resources_count | number | Resources count | 3 of 3 |
formats | list | Formats | 3 of 3 |
has_row_query | yes or no | Has row query | 3 of 3 |
row_query_url | link | Row query link | 1 of 3 |
tags | list | Tags | 2 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 | Name | Dataset title | Portal | Description | Publisher | License | Resources count | Formats | Has row query | Tags | Modified | Link | Row query link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | parks | Parks | toronto | **This dataset is no longer accurate. Please see [Green Spaces](https://open.toronto.ca/dataset/green-spaces/) for the most accurate and up to date data.** The parks data set provides the boundaries and park names for over 2000 public green areas within the City of Toronto. Each… | City of Toronto | open-government-licence-toronto | 1 | SHP | No | — | Nov 5, 2026 | open.toronto.ca/dataset/parks | — |
| 2 | parking-tickets | Parking Tickets | toronto | See Parking Ticket Data Readme file Approximately 2.8 million parking tickets are issued annually across the City of Toronto. This dataset contains non-identifiable information relating to each parking ticket issued for each calendar year. The tickets are issued by Toronto… | City of Toronto | open-government-licence-toronto | 19 | ZIP, XLS | No | parking, parking ticket | Oct 29, 2026 | open.toronto.ca/dataset/parking-tickets | — |
| 3 | parking-occupancy | Parking Occupancy | toronto | The Toronto Parking Authority (TPA) operates a portfolio of several City-owned off-street parking facilities. This data is the utilization data from these assets, which is a critical input for evidence-based decision-making to support real estate planning, transportation… | City of Toronto | open-government-licence-toronto | 4 | CSV, XML, JSON | Yes | lots | Nov 24, 2026 | open.toronto.ca/dataset/parking-occupancy | ckan0.cf.opendata.inter.prod-toronto.ca/api/3/action/datastore_search?resource_id=2d1bf001-eebf-4f02-a7d3-a51f8acd884e&limit=100 |
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.
- Seven portals: toronto, montreal, nsw, dublin, london, canada and ireland; one portal per run.
- Search words are matched by each portal in its own language: Montreal's catalogue is mostly French (try stationnement, not parking) and Canada's is bilingual.
- Each portal returns at most a few thousand results for one search, in its own relevance order.
- Only dataset descriptions are returned, not the data files themselves; when row_query_url is filled, that link answers row queries directly (CKAN datastore).
- Licences and update dates are passed through as each publisher states them; check the licence before reuse.
- London lists no file formats, and Canada lists no tags or row query links, so those fields are empty there.
- 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.