Skip to main content
All providers

TfNSW Open Data Hub and Developer Portal

GovernmentAU

opendata.transport.nsw.gov.au

The Open Data Hub is the open data portal for all Transport for NSW (TfNSW) open data. It is home to over 1000 resources including datasets and APIs which are accessible by anyone, for any purpose. Creating an account is quick, easy and free. The Open Data Hub is also home to the Open Data Forum, where you can go to seek advice from our community of developers, discuss ideas, request data, brag about your latest creation with our data, or simply browse posts from a wide range of categories. Transport for NSW is a state government agency in Australia.

Capabilities (15)

GET /v1/data/opendata-transport-nsw-gov-au/dataset1 credit

Full metadata for one dataset: title, notes, licence, organization, tags, extras and the complete resource list with download URLs and formats.

id
GET /v1/data/opendata-transport-nsw-gov-au/dataset-names1 credit

Flat JSON array of every dataset slug on the portal, in alphabetical order.

limit?offset?
GET /v1/data/opendata-transport-nsw-gov-au/datasets1 credit

Solr-backed search over every dataset published on the Latvian open data portal; returns a page of 20 full dataset records plus the total match count and facets.

q?fq?sort?start?facet.field?
GET /v1/data/opendata-transport-nsw-gov-au/dataset-suggest1 credit

Lightweight typeahead: matching datasets as {name, title, match_field} objects, no resources or descriptions.

qlimit?
GET /v1/data/opendata-transport-nsw-gov-au/group1 credit

Metadata for one thematic group: title, description, image and dataset count.

idinclude_datasets?include_extras?
GET /v1/data/opendata-transport-nsw-gov-au/group-datasets1 credit

A page of up to 20 full dataset records belonging to one thematic group, with the group's total count.

groupq?sort?start?
GET /v1/data/opendata-transport-nsw-gov-au/licenses1 credit

Every licence the portal offers publishers, as {id, title, url, od_conformance, osd_conformance} objects.

No parameters
GET /v1/data/opendata-transport-nsw-gov-au/organization1 credit

Metadata for one publishing organization: title, description, contact extras, dataset count and (optionally) its datasets.

idinclude_datasets?include_extras?include_followers?
GET /v1/data/opendata-transport-nsw-gov-au/organization-datasets1 credit

A page of up to 20 full dataset records published by one organization, with the total count for that publisher.

organizationq?sort?start?
GET /v1/data/opendata-transport-nsw-gov-au/resource1 credit

Metadata for one file or API endpoint attached to a dataset: download URL, format, size, description and datastore flag.

id
GET /v1/data/opendata-transport-nsw-gov-au/resource-rows1 credit

Up to 100 parsed rows of a tabular resource straight from CKAN's DataStore, with the column schema and total row count — no file download or CSV parsing.

resource_idq?offset?fields?sort?filters?distinct?include_total?plain?
GET /v1/data/opendata-transport-nsw-gov-au/resource-search1 credit

Searches resource metadata (not datasets) across the whole portal and returns up to 50 matching resource records with their download URLs.

queryoffset?order_by?
GET /v1/data/opendata-transport-nsw-gov-au/site-status1 credit

The portal's CKAN version, site title, locale and the list of installed CKAN extensions.

No parameters
GET /v1/data/opendata-transport-nsw-gov-au/tag1 credit

The id, name and vocabulary of one tag, and optionally every dataset carrying it.

idinclude_datasets?vocabulary_id?
GET /v1/data/opendata-transport-nsw-gov-au/tags1 credit

Flat JSON array of every free tag used on the portal.

query?vocabulary_id?

Licence

Dataset records on this portal declare the licence "Creative Commons Attribution" (http://www.opendefinition.org/licenses/cc-by). This is the licence the publishing organisations attach to their own datasets; the portal itself states no separate API licence. Quoted as found in the portal's own dataset metadata.

http://www.opendefinition.org/licenses/cc-by

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: TfNSW Open Data Hub and Developer Portal (Transport for NSW). Data published by the portal's contributing organisations.

Cache: up to 3600s