publicdataau publicdata.au on GitHub
Published by Main Roads Western Australia under CC BY 4.0 and republished here without change to the content. Main Roads Western Australia has not endorsed this site.An independent republication of open government data. No government agency has endorsed it. Read more

Traffic volumes at count sites, Main Roads Western Australia

live
Publisher Main Roads Western AustraliaUpdated as counts are addedLicence CC BY 4.0Latest 2025-06-05Rows 2,419Fields 20

Main Roads Western Australia's Traffic Digest, one row per traffic count site, each with its latest year of data. Each row carries the site number, road name, location description, financial year of the count, collection type, the average number of vehicles per day from Monday to Sunday, Monday to Friday and Saturday to Sunday, the percentage of heavy vehicles in each of those periods, whether it is a network performance site, the local government and the Main Roads region, and its coordinates.

Also called: Main Roads WA Traffic Digest, Traffic Digest, WA traffic volume data, Main Roads traffic counts.

Before you use it
What is in each row?
One Main Roads traffic count site, with its site number, road, location description, the financial year of its latest count, the average number of vehicles per day across the week, on weekdays and on weekends, the percentage of heavy vehicles in each, whether it is a continuously monitored network performance site, and its local government and region.
Is this every year of counts?
No. Each site carries only its latest year of traffic data, so the year differs between sites. A new count replaces the old one in the publisher's layer, and this site keeps each changed layer as a dated version.
How were the counts taken?
Main Roads monitors strategic locations continuously and samples the wider network with portable equipment over short periods. The publisher focuses on roads it manages, with many local government roads counted as well.
Where is the publisher's file?
This site downloads the CSV the Main Roads open data portal builds from its Traffic Digest layer.
2,419 count sites drawn in 740 cells of 0.05 degrees, the fullest with 72.
Count sites counted in cells of 0.05 degrees. State outlines from the ABS Australian Statistical Geography Standard 2021, CC BY 4.0.
2,419count sites
20fields
12formats
1version

Made for agents

Connect your AI agent

Any agent that connects to publicdata.au/mcp can find this dataset, read its 20 fields, count and filter across all 2,419 rows and diff its versions. Every answer names the version and carries Main Roads WA's attribution. No key.

Then ask it: What does Traffic volumes at count sites, Main Roads Western Australia hold, and what changed in the newest version?

claude mcp add --transport http publicdata https://publicdata.au/mcp

One command. No key, no account, no sign-up.

Download it as Excel, CSV, JSON and 9 more formats

Pick a format and a version. Excel is picked first because it opens in the tools most offices have. The URL is yours to keep. A dated version never changes.

Format
"Latest" redirects to the newest version and will change when the publisher releases again. A dated version never changes.
https://publicdata.au/d/wa-traffic-digest/latest/data.xlsx
Download

In your own tools

Use it in Excel, R, Python and more

Excel and Power BI read the CSV from its address and refresh from it. The R and Python packages take any dataset on this site by its slug, so a new dataset needs no new release. The DuckDB file attaches read-only over HTTPS, and a query reads only the blocks it touches.

The dated URL in the code never changes. https://publicdata.au/d/wa-traffic-digest/latest/ redirects to the newest version.

https://publicdata.au/d/wa-traffic-digest/latest/data.csv

In Excel choose Data, then From Web, and paste this address. Excel keeps it, so Refresh All reads the newest version. A sheet holds about a million rows; past that, load the query to the Data Model.

What is in it

Column names are made snake_case and the publisher's original header is kept beside each one. Blank cells are null. Nothing is added, removed, ranked or summarised.

FieldTypePublisher's headerNote
xnumberX
ynumberY
site_nostringSITE_NO
road_namestringROAD_NAME
location_descstringLOCATION_DESC
traffic_yearstringTRAFFIC_YEARThe financial year of the site's latest count, for example 2024/25. It can be the financial year in progress.
collection_typestringCOLLECTION_TYPE
mon_sunnumberMON_SUN
mon_frinumberMON_FRI
sat_sunnumberSAT_SUN
pct_heavy_mon_sunnumberPCT_HEAVY_MON_SUN
pct_heavy_mon_frinumberPCT_HEAVY_MON_FRI
pct_heavy_sat_sunnumberPCT_HEAVY_SAT_SUN
network_performance_sitestringNETWORK_PERFORMANCE_SITE
lg_nostringLG_NO
lg_namestringLG_NAME
ra_nostringRA_NO
ra_namestringRA_NAME
objectidintegerOBJECTID
globalidstringGlobalID

Download this table as a data dictionary (Excel), or read it as a Frictionless Table Schema at schema.json. The key is site_no.

A sample of 10 rows

From the latest version, each main Roads region in turn, then in the publisher's order, with every field. A blank cell is shown as null.

xysite_noroad_namelocation_desctraffic_yearcollection_typemon_sunmon_frisat_sunpct_heavy_mon_sunpct_heavy_mon_fripct_heavy_sat_sunnetwork_performance_sitelg_nolg_namera_nora_nameobjectidglobalid
120.666916-27.91895350790Goldfields HwyNorth of Leinster2026/27Class29731624878.577.879.4Yes608Leonora5Goldfields - Esperance7903546{EC224F21-DB2F-4FD5-A877-367AFAD1E270}
115.7832-32.4757550797Kwinana Fwy (Northbound) off to Mandjoogoordap Dr/Lymon RdSouth of Mandjoogoordap Dr2021/22Class78783166213.314.710.3No212Mandurah (C)7Metropolitan7903550{4C675BD1-5A83-4872-8DE5-7302C43BBF7B}
118.05775-34.851150813Palmdale RdNorth of South Coast Hwy2025/26Class1521947044.15015.7No302Albany (C)1Great Southern7903552{55F60A4E-3111-40C1-9196-0FC2DCF2DE8E}
115.832498-33.30350350866Coalfields RdEast of South Western Hwy2025/26Class57016282425017.218.312.9Yes211Harvey2South West7903561{62C4C351-57D2-47C4-8700-740ED516924A}
114.68495-28.7937750878Geraldton Mount Magnet RdWest of Deepdale Rd2022/23Class17322002113528.929.726.6No505Greater Geraldton (C)14Mid West-Gascoyne7903563{C00257FA-5D02-4005-AFE3-E6554363A556}
117.165626-32.92690251032Narrakine RdSouth of Quigley St2024/25Class76780268112.313.58.8No418Narrogin8Wheatbelt7903598{A128054A-3E6F-4E34-A779-FFF2E9E47ED0}
117.618546-22.62740951073Nanutarra RdWest of Nameless Valley Dr2025/26ClassnullnullnullnullnullnullNo811Ashburton11Pilbara7903610{8EA6DB59-A234-4C33-89DE-C54C05B881B7}
122.279801-17.71713853700Broome Cape Leveque RdNorth of Manari Rd2024/25ClassnullnullnullnullnullnullNo001Broome6Kimberley7903761{4E4B12F1-F575-4BBE-8976-E8DB543A9163}
121.591752-31.02536850791Goldfields HwyNorth of Kambalda2026/27Class20372237153223.623.922.7Yes605Kalgoorlie - Boulder (C)5Goldfields - Esperance7903547{F34F775F-BB33-4D2C-A5C1-29F8CB2D58CD}
115.825836-32.37383550808Karnup RdEast of Baldivis Rd2023/24Class77668278null9.59.5nullNo107Rockingham (C)7Metropolitan7903551{F55CBF8F-BA51-45DC-95EB-10D0A1D92E33}
The first row as JSON

As it appears in data.json.

GET https://publicdata.au/d/wa-traffic-digest/latest/data.json
{
  "x": 120.666916,
  "y": -27.9189529999999,
  "site_no": "50790",
  "road_name": "Goldfields Hwy",
  "location_desc": "North of Leinster",
  "traffic_year": "2026/27",
  "collection_type": "Class",
  "mon_sun": 297.0,
  "mon_fri": 316.0,
  "sat_sun": 248.0,
  "pct_heavy_mon_sun": 78.5,
  "pct_heavy_mon_fri": 77.8,
  "pct_heavy_sat_sun": 79.4,
  "network_performance_site": "Yes",
  "lg_no": "608",
  "lg_name": "Leonora",
  "ra_no": "5",
  "ra_name": "Goldfields - Esperance",
  "objectid": 7903546,
  "globalid": "{EC224F21-DB2F-4FD5-A877-367AFAD1E270}"
}

Query it without downloading

The query API returns only the rows you ask for, as JSON, NDJSON or CSV, from the same typed rows as the files. It needs no key. Build a query here and run it, then copy the URL or the code into your own work.

Try rows or aggregate for this dataset. The query builder needs JavaScript.

How filters work

Each filter is field=operator.value in the query string, and every filter must match. A number or date field compares as a number or date, and a text field compares as text. Values are case-sensitive except with ilike. Prefix not. to negate a filter, as not.eq.value.

OperatorWhat it matches
eq.valueEqual to the value.
neq.valueNot equal to the value. A blank cell does not match.
gt.valueGreater than the value.
gte.valueGreater than or equal to the value.
lt.valueLess than the value.
lte.valueLess than or equal to the value.
like.*text*Matches a pattern where * stands for any run of characters. Case-sensitive.
ilike.*text*The same as like, ignoring case.
in.(a,b,c)Equal to any value in the list. A value cannot contain a comma.
is.nullBlank in the source, or suppressed by the publisher.
ParameterWhat it does
selectFields to return, comma-separated. Every field when absent.
orderfield.asc or field.desc, comma-separated. The publisher's row order when absent.
limitRows per page, 1 to 10,000. 100 when absent.
offsetRows to skip. The next URL in each answer sets it for you.
groupOn aggregate, fields to group by, comma-separated.
metricOn aggregate, count, sum.field, avg.field, min.field or max.field, comma-separated. count when absent.
formatjson, ndjson or csv. JSON carries the provenance header, and the others carry it in response headers.

Without a version the API answers from the newest loaded version, and that answer changes when the publisher releases again. Put versions/<date>/ before rows or aggregate for an answer that never changes. /api/v1/datasets/<slug>/versions lists the loaded versions. The 1 newest version is loaded; versions lists them.

The API allows 60 requests in 10 seconds from one address. Above that it answers 429 for 10 seconds with a Retry-After header, a RateLimit-Policy header and a JSON body that gives the limit. Every API answer carries the same RateLimit-Policy. A client should wait the Retry-After seconds, or read the files, which have no limit. openapi.json describes this dataset's query paths for client generators and agents.

https://publicdata.au/mcp is a remote MCP server over Streamable HTTP with the same tools, defined in the same place, so a tool added to the pages is added here too. It needs no key and no account. The row tools are held to the query API's limit of 60 queries in 10 seconds from one address, and each call is two queries because it also counts the matching rows. Add it to Claude Code with claude mcp add --transport http publicdata https://publicdata.au/mcp, add the URL in Claude as a custom connector, or give it to any client that connects to remote MCP servers. Each queryable dataset is also a resource at https://publicdata.au/d/<slug>/fields.json, which lists its fields with their types, the publisher's descriptions, their ranges and the values they hold, so an agent can read a dataset's shape before it writes a query.

Smaller files

The same rows split by a field, one JSON file each with a GeoJSON beside it. Each file carries the same provenance header.

By ra_name (8 files)

by/ra_name/index.json lists every file with its row count.

What changed

One version for every release the publisher has made since this site started following the dataset. The date is the day the file changed on the portal.

  • 2025-06-05
    2,419 rows20 fieldsutf-8-sig2e415eb3efa2

versions.json · changes.json · history.tar.zst (176 KB, every version's Parquet and manifest)

Questions

How do I download Traffic volumes at count sites as a CSV file?

Open https://publicdata.au/d/wa-traffic-digest/latest/data.csv. It redirects to the newest dated version, which is https://publicdata.au/d/wa-traffic-digest/v/2025-06-05/data.csv today. The same path serves Excel, JSON, GeoJSON, Parquet, SQLite, DuckDB, GeoPackage, GeoParquet, NDJSON, Arrow. A dated URL never changes, so use it when the file must stay the same.

Can I open Traffic volumes at count sites in Excel?

Yes. https://publicdata.au/d/wa-traffic-digest/v/2025-06-05/data.xlsx is a workbook with the 2,419 rows on a records sheet, the field list on a second sheet and the provenance on a third. The CSV also opens in Excel. https://publicdata.au/d/wa-traffic-digest/v/2025-06-05/data.csv.gz is the CSV at about a tenth of the size.

How often is Traffic volumes at count sites updated?

Main Roads WA releases it as counts are added. This site checks the portal every week and adds a dated version when the file changes.

Can I use Traffic volumes at count sites commercially?

Yes. CC BY 4.0 allows commercial use, redistribution and derived works as long as the attribution is kept. The attribution string is in this page's side column and inside every file.

Is this the official source for Traffic volumes at count sites?

No. The publisher is Main Roads Western Australia, and its page is https://catalogue.data.wa.gov.au/dataset/mrwa-traffic-digest. This site republishes the publisher's file without changing its content. The original sits beside every version as source.csv with its SHA-256, so the two can be compared.

How do I get only the rows for one ra name?

Every version has one JSON file per value of ra_name, 8 files in the current version, listed with row counts at https://publicdata.au/d/wa-traffic-digest/v/2025-06-05/by/ra_name/index.json. For example https://publicdata.au/d/wa-traffic-digest/v/2025-06-05/by/ra_name/metropolitan.json holds the 1,308 rows where ra_name is Metropolitan. A GeoJSON file sits beside each one.

What coordinate system does Traffic volumes at count sites use?

Longitude and latitude in decimal degrees as the portal's CSV download gives them. The layer itself is held in GDA94, which differs from WGS84 by under 2 metres. The GeoJSON file uses the same coordinates, which is what GeoJSON expects.

What this site did to the data. Cells were typed, headers were renamed and the encoding was made UTF-8. Rows were left alone. The publisher's file sits beside every version as source.csv so the change can be checked.