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.

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

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

Portal
Which portal to search.
Searchoptional
Topic words, as you would type them on the portal. Empty returns every dataset.
Example: parking

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/ckan-city-portal-search/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/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.

portaltextrequired
Which portal to search.
default: torontoexample: torontoone of: toronto, montreal, nsw, dublin, london, canada, ireland
searchtext
Topic words, as you would type them on the portal. Empty returns every dataset.
example: parking

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

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
portaltextPortal3 of 3
nametextName3 of 3
titletextDataset title3 of 3
urllinkLink3 of 3
descriptiontextDescription3 of 3
publishertextPublisher3 of 3
licensetextLicense3 of 3
modified_atdate and timeModified3 of 3
resources_countnumberResources count3 of 3
formatslistFormats3 of 3
has_row_queryyes or noHas row query3 of 3
row_query_urllinkRow query link1 of 3
tagslistTags2 of 3

How it reads the site

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

Sample records

Sample records
RecordNameDataset titlePortalDescriptionPublisherLicenseResources countFormatsHas row queryTagsModifiedLinkRow query link
1parksParkstoronto**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 Torontoopen-government-licence-toronto1SHPNo—Nov 5, 2026open.toronto.ca/dataset/parks—
2parking-ticketsParking TicketstorontoSee 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 Torontoopen-government-licence-toronto19ZIP, XLSNoparking, parking ticketOct 29, 2026open.toronto.ca/dataset/parking-tickets—
3parking-occupancyParking OccupancytorontoThe 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 Torontoopen-government-licence-toronto4CSV, XML, JSONYeslotsNov 24, 2026open.toronto.ca/dataset/parking-occupancyckan0.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.
Known limits
  • 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.