Skip to main content
fastCRW Pergamon
Government · AU

TfNSW Open Data Hub and Developer Portal

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.

Showing the catalogue

1Request

The dataset's URL slug (its `name`) or its UUID. Both are accepted.

1 credit⌘ ↵
Code follows the fields above
curl "https://api.fastcrw.com/v1/data/opendata-transport-nsw-gov-au/dataset?id=nsw-roads-traffic-volume-counts-api" \
  -H "Authorization: Bearer $FASTCRW_API_KEY"

2Response example

A sample shape. Press Run to see live data from TfNSW Open Data Hub and Developer Portal.

JSON
{
  "help": "https://opendata.transport.nsw.gov.au/data/api/3/action/help_show?name=package_show",
  "success": true,
  "result": {
    "author": "",
    "author_email": "",
    "creator_user_id": null,
    "id": "ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504",
    "isopen": true,
    "license_id": "cc-by",
    "license_title": "Creative Commons Attribution",
    "license_url": "http://www.opendefinition.org/licenses/cc-by",
    "maintainer": "TfNSW Open Data Hub and Developer Portal",
    "maintainer_email": "opendataprogram@transport.nsw.gov.au",
    "metadata_created": "2017-07-05T00:22:40",
    "metadata_modified": "2026-10-23T07:45:33.290514",
    "name": "nsw-roads-traffic-volume-counts-api",
    "notes": "**Transport is aware that the Traffic Volume datasets have been experiencing issues with data quality and sensor availability.**\r\n**There is an initiative underway to rebuild this service, however this is an extensive task, and a timeline for completion has not yet been set.**\r\n**Transport will endeavour to provide updates on progress of this initiative when they become available.**\r\n\r\nRMS has permanent and temporary roadside collection devices which continuously collect traffic information data. Through the Traffic Volume Counts API, traffic count data from 2006 is available.\r\n\r\n\r\nThere are four datasets (tables) that can be queried:\r\n\r\n\r\n**Traffic Collection Station Reference**- This table provides a general description of the traffic collection station e.g. Geospatial coordinates, road name, suburb, postcode, device type, road number, road type including the data quality rating.\r\n\r\n\r\n**Annual Average Traffic Count Summary** - This table provides the general description of traffic station, traffic direction, date of recording and the quality of data.\r\n\r\n\r\n**Permanent Hourly Traffic Counts**- This table provides hourly traffic count for each permanent station post 2006 at a daily level.\r\n\r\n\r\n**Sample Hourly Traffic Counts** - This table provides hourly traffic count for each sample station post 2006 at a daily level.\r\n\r\n\r\nThe Traffic Volume Viewer map provides average road traffic volumes for a selection of permanent and sample roadside collection device stations at key locations across NSW. Please visit [https://www.rms.nsw.gov.au/about/corporate-publications/statistics/traff...](https://www.rms.nsw.gov.au/about/corporate-publications/statistics/traffic-volumes/aadt-map/index.html)\r\n \r\n\r\n",
    "num_resources": 6,
    "num_tags": 9,
    "organization": {
      "id": "transport-opendata-hub",
      "name": "transport-opendata-hub",
      "title": "Transport Open Data Hub",
      "type": "organization",
      "description": "",
      "image_url": "",
      "created": "2023-08-17T00:18:26.814895",
      "is_organization": true,
      "approval_status": "approved",
      "state": "active"
    },
    "owner_org": "transport-opendata-hub",
    "private": false,
    "state": "active",
    "title": "NSW Roads Traffic Volume Counts API",
    "type": "dataset",
    "url": "https://opendata.transport.nsw.gov.au/dataset/nsw-roads-traffic-volume-counts-api",
    "version": "",
    "groups": [
      {
        "description": "",
        "display_name": "Roads",
        "id": "roads",
        "image_display_url": "",
        "name": "roads",
        "title": "Roads"
      }
    ],
    "resources": [
      {
        "cache_last_updated": null,
        "cache_url": null,
        "created": "2017-05-07T10:23:00",
        "datastore_active": false,
        "description": "",
        "format": "api",
        "id": "f2bb32d3-de40-4e4f-94ed-5e90ebfc7dfc",
        "last_modified": "2025-01-16T02:18:51.958261",
        "metadata_modified": "2025-01-16T02:18:51.987642",
        "mimetype": null,
        "mimetype_inner": null,
        "name": "Traffic Volume Counts API",
        "package_id": "ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504",
        "position": 0,
        "resource_type": null,
        "size": 4120,
        "state": "active",
        "url": "https://opendata.transport.nsw.gov.au/data/dataset/ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504/resource/f2bb32d3-de40-4e4f-94ed-5e90ebfc7dfc/download/traffic-volume-swagger.yaml",
        "url_type": "upload"
      },
      {
        "cache_last_updated": null,
        "cache_url": null,
        "created": "2017-07-07T09:24:00",
        "datastore_active": false,
        "description": "Data dictionary and user guide\n\n\n",
        "format": "PDF",
        "id": "13d061b1-1606-49b5-b182-d36ce0801f14",
        "last_modified": "2023-08-21T09:07:52.733656",
        "metadata_modified": "2023-08-21T09:07:52.751564",
        "mimetype": "application/pdf",
        "mimetype_inner": "",
        "name": "NSW Roads Traffic Volume Counts - Dataset Documentation",
        "package_id": "ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504",
        "position": 1,
        "resource_type": "",
        "size": 1648844,
        "state": "active",
        "url": "https://opendata.transport.nsw.gov.au/data/dataset/ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504/resource/13d061b1-1606-49b5-b182-d36ce0801f14/download/rms-dataset-documentation-nsw-traffic-volume-counts_0.pdf",
        "url_type": "upload"
      },
      {
        "cache_last_updated": null,
        "cache_url": null,
        "created": "2021-06-18T11:54:00",
        "datastore_active": false,
        "description": "This CSV file is data generated from the API and will provide the most up to date data for Road Traffic Counts Hourly Sample.\n\n\n",
        "format": "CSV",
        "id": "b8bd742f-af37-4999-887f-6d3657349d13",
        "last_modified": "2026-07-29T19:45:47.825178",
        "metadata_modified": "2026-07-29T19:45:47.842139",
        "mimetype": "text/csv",
        "mimetype_inner": "",
        "name": "Road Traffic Counts Hourly Sample (API Generated CSV)",
        "package_id": "ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504",
        "position": 2,
        "resource_type": "",
        "size": 57231078,
        "state": "active",
        "url": "https://opendata.transport.nsw.gov.au/data/dataset/ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504/resource/b8bd742f-af37-4999-887f-6d3657349d13/download/road_traffic_counts_hourly_sample_0.csv",
        "url_type": "upload"
      },
      {
        "cache_last_updated": null,
        "cache_url": null,
        "created": "2021-06-18T11:55:00",
        "datastore_active": false,
        "description": "This CSV file is data generated from the API and will provide the most up to date data for Road Traffic Counts Yearly Summary.\n\n\n",
        "format": "CSV",
        "id": "cba9a012-c305-414e-b848-f0e3aad18d97",
        "last_modified": "2026-10-11T05:45:42.262335",
        "metadata_modified": "2026-10-11T05:45:42.288999",
        "mimetype": "text/csv",
        "mimetype_inner": "",
        "name": "Road Traffic Counts Yearly Summary (API Generated CSV)",
        "package_id": "ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504",
        "position": 3,
        "resource_type": "",
        "size": 49512499,
        "state": "active",
        "url": "https://opendata.transport.nsw.gov.au/data/dataset/ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504/resource/cba9a012-c305-414e-b848-f0e3aad18d97/download/road_traffic_counts_yearly_summary.csv",
        "url_type": "upload"
      },
      {
        "cache_last_updated": null,
        "cache_url": null,
        "created": "2021-06-18T11:57:00",
        "datastore_active": true,
        "description": "This CSV file is data generated from the API and will provide the most up to date data for Road Traffic Counts Station Reference.\n\n\n",
        "format": "CSV",
        "id": "c65ad7b4-0257-4cc6-953e-5299ac8d27ba",
        "last_modified": "2026-07-09T10:45:16.483873",
        "metadata_modified": "2026-07-09T10:45:16.512782",
        "mimetype": "text/csv",
        "mimetype_inner": "",
        "name": "Road Traffic Counts Station Reference (API Generated CSV)",
        "package_id": "ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504",
        "position": 4,
        "resource_type": "",
        "size": 774192,
        "state": "active",
        "url": "https://opendata.transport.nsw.gov.au/data/dataset/ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504/resource/c65ad7b4-0257-4cc6-953e-5299ac8d27ba/download/road_traffic_counts_station_reference.csv",
        "url_type": "upload"
      },
      {
        "cache_last_updated": null,
        "cache_url": null,
        "created": "2021-06-18T12:11:00",
        "datastore_active": false,
        "description": "These CSV files are generated by the API and will provide the most up to date data for Road Traffic Counts Hourly Permanent.\n\n\n",
        "format": "ZIP",
        "id": "bca06c7e-30be-4a90-bc8b-c67428c0823a",
        "last_modified": "2026-10-23T07:45:33.276200",
        "metadata_modified": "2026-10-23T07:45:33.298233",
        "mimetype": "application/zip",
        "mimetype_inner": "",
        "name": "Road Traffic Counts Hourly Permanent (API Generated CSVs)",
        "package_id": "ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504",
        "position": 5,
        "resource_type": "",
        "size": 886199637,
        "state": "active",
        "url": "https://opendata.transport.nsw.gov.au/data/dataset/ef2b0bd2-db1e-48f3-9ea1-2bb9e6bc6504/resource/bca06c7e-30be-4a90-bc8b-c67428c0823a/download/road_traffic_counts_hourly_permanent.zip",
        "url_type": "upload"
      }
    ],
    "tags": [
      {
        "display_name": "RMS",
        "id": "rms",
        "name": "RMS",
        "state": "active",
        "vocabulary_id": null
      },
      {
        "display_name": "Traffic API",
        "id": "traffic-api",
        "name": "Traffic API",
        "state": "active",
        "vocabulary_id": null
      },
      {
        "display_name": "roads",
        "id": "roads",
        "name": "roads",
        "state": "active",
        "vocabulary_id": null
      },
      {
        "display_name": "roads information",
        "id": "roads-information",
        "name": "roads information",
        "state": "active",
        "vocabulary_id": null
      },
      {
        "display_name": "roads planning",
        "id": "roads-planning",
        "name": "roads planning",
        "state": "active",
        "vocabulary_id": null
      },
      {
        "display_name": "traffic",
        "id": "traffic",
        "name": "traffic",
        "state": "active",
        "vocabulary_id": null
      },
      {
        "display_name": "traffic information",
        "id": "traffic-information",
        "name": "traffic information",
        "state": "active",
        "vocabulary_id": null
      },
      {
        "display_name": "traffic locations",
        "id": "traffic-locations",
        "name": "traffic locations",
        "state": "active",
        "vocabulary_id": null
      },
      {
        "display_name": "traffic reports",
        "id": "traffic-reports",
        "name": "traffic reports",
        "state": "active",
        "vocabulary_id": null
      }
    ],
    "extras": [],
    "relationships_as_subject": [],
    "relationships_as_object": []
  }
}

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

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.

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Dataset detail

    Use TfNSW Open Data Hub and Developer Portal (opendata-transport-nsw-gov-au) from fastCRW Pergamon, capability "Dataset detail" (dataset). You already have a dataset name or UUID from a search and need its resources, licence or full description. Example options: id=nsw-roads-traffic-volume-counts-api. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "opendata-transport-nsw-gov-au" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • All dataset names

    Use TfNSW Open Data Hub and Developer Portal (opendata-transport-nsw-gov-au) from fastCRW Pergamon, capability "All dataset names" (dataset-names). You want the complete inventory of dataset ids to iterate over, rather than a scored search page. Example options: limit=100, offset=0. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "opendata-transport-nsw-gov-au" and capability "dataset-names". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Dataset search

    Use TfNSW Open Data Hub and Developer Portal (opendata-transport-nsw-gov-au) from fastCRW Pergamon, capability "Dataset search" (datasets). You want to find datasets on this portal by keyword, filter, or recency, and you do not already know a dataset id. Example options: q=statistika, fq=res_format:CSV, sort=metadata_modified desc. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "opendata-transport-nsw-gov-au" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Dataset title autocomplete

    Use TfNSW Open Data Hub and Developer Portal (opendata-transport-nsw-gov-au) from fastCRW Pergamon, capability "Dataset title autocomplete" (dataset-suggest). You are resolving a partly-remembered dataset title into an id and do not want full search payloads. Example options: q=data, limit=10. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "opendata-transport-nsw-gov-au" and capability "dataset-suggest". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>