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

Hospitals, Local Hospital Networks and Primary Health Networks in MyHospitals, Australia

live
Publisher Australian Institute of Health and WelfareUpdated several times a yearLicence CC BY 4.0Latest 2026-10-03Rows 1,366Fields 10

The MyHospitals mapping details extract from the AIHW MyHospitals Data API. Each row is one reporting unit, with its code, name, type, latitude and longitude, public or private sector, open or closed status, state, Local Hospital Network and Primary Health Network area.

Also called: Australian hospitals list, Public and private hospitals Australia with coordinates, MyHospitals reporting units, Hospital to Local Hospital Network mapping.

Part of AIHW MyHospitals, 3 tables the publisher releases together: Emergency department patients seen on time by hospital and triage category, Australia, Elective surgery waiting times by hospital and urgency category, Australia.

Before you use it
What is in each row?
One reporting unit of MyHospitals, which is a hospital, a Local Hospital Network, a Primary Health Network, a state or the nation. A hospital row has its coordinates, its sector, whether it is open or closed, its state, and the Local Hospital Network and Primary Health Network area the Institute maps it to. Most Local Hospital Network rows carry a point too. State, national and Primary Health Network rows have no coordinates.
Is every hospital here?
The list holds the hospitals the Institute reports on in MyHospitals, public and private, including some that have closed. A small private facility that reports nothing to the Institute may be missing.
How does this join to the measures?
The measure tables in this collection name each reporting unit by the same name, and the code here is the Institute's own identifier for it. The Institute has not endorsed this site.
1,248 reporting units drawn in 793 cells of 0.05 degrees, the fullest with 20.
Reporting units counted in cells of 0.05 degrees. State outlines from the ABS Australian Statistical Geography Standard 2021, CC BY 4.0.
1,366reporting units
10fields
12formats
1version

Made for agents

Connect your AI agent

Any agent that connects to publicdata.au/mcp can find this dataset, read its 10 fields, count and filter across all 1,366 rows and diff its versions. Every answer names the version and carries AIHW's attribution. No key.

Then ask it: What does Hospitals, Local Hospital Networks and Primary Health Networks in MyHospitals, 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/au-hospitals-myhospitals/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/au-hospitals-myhospitals/latest/ redirects to the newest version.

https://publicdata.au/d/au-hospitals-myhospitals/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
codestringCode
namestringName
typestringType
latitudenumberLatitude
longitudenumberLongitude
sectorstringSector
open_closedstringOpen/Closed
statestringState
local_hospital_networkstringLocal Hospital Network (LHN)
primary_health_networkstringPrimary Health Network area (PHN)

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

A sample of 10 rows

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

codenametypelatitudelongitudesectoropen_closedstatelocal_hospital_networkprimary_health_network
H0012State Forensic Mental Health ServiceHospital-31.960937115.788431PublicOpenWestern AustraliaNorth Metropolitan Health Service (WA)Perth North
LHN101South Eastern SydneyLocal Hospital Network-33.639868152.175019PublicOpenNew South WalesSouth Eastern Sydneynull
NATNationalNationalnullnullPublicOpenNationalnullnull
ACTAustralian Capital TerritoryStatenullnullPublicOpenAustralian Capital Territorynullnull
PHN101Central and Eastern SydneyPrimary Health NetworknullnullPublicOpenNew South WalesnullCentral and Eastern Sydney
H0013Justice Health ServicesHospital-33.96907151.243206PublicOpenNew South WalesJustice Health & Forensic Mental HealthCentral and Eastern Sydney
LHN102SydneyLocal Hospital Network-33.87785151.133066PublicOpenNew South WalesSydneynull
NSWNew South WalesStatenullnullPublicOpenNew South Walesnullnull
PHN102Northern SydneyPrimary Health NetworknullnullPublicOpenNew South WalesnullNorthern Sydney
H0014The Children's Hospital at WestmeadHospital-33.801554150.991759PublicOpenNew South WalesSydney Children's Hospitals NetworkWestern Sydney
The first row as JSON

As it appears in data.json.

GET https://publicdata.au/d/au-hospitals-myhospitals/latest/data.json
{
  "code": "H0012",
  "name": "State Forensic Mental Health Service",
  "type": "Hospital",
  "latitude": -31.960937,
  "longitude": 115.788431,
  "sector": "Public",
  "open_closed": "Open",
  "state": "Western Australia",
  "local_hospital_network": "North Metropolitan Health Service (WA)",
  "primary_health_network": "Perth North"
}

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 type (5 files)

by/type/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.

  • 2026-10-03
    1,366 rows10 fieldsxlsxdcbe87cb2084
    The publisher's server states no change date, so this version is dated by the fetch.

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

Questions

How do I download Hospitals, Local Hospital Networks and Primary Health Networks in MyHospitals as a CSV file?

Open https://publicdata.au/d/au-hospitals-myhospitals/latest/data.csv. It redirects to the newest dated version, which is https://publicdata.au/d/au-hospitals-myhospitals/v/2026-10-03/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 Hospitals, Local Hospital Networks and Primary Health Networks in MyHospitals in Excel?

Yes. https://publicdata.au/d/au-hospitals-myhospitals/v/2026-10-03/data.xlsx is a workbook with the 1,366 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/au-hospitals-myhospitals/v/2026-10-03/data.csv.gz is the CSV at about a tenth of the size.

How often is Hospitals, Local Hospital Networks and Primary Health Networks in MyHospitals updated?

AIHW releases it several times a year. This site checks the portal every week and adds a dated version when the file changes.

Can I use Hospitals, Local Hospital Networks and Primary Health Networks in MyHospitals 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 Hospitals, Local Hospital Networks and Primary Health Networks in MyHospitals?

No. The publisher is Australian Institute of Health and Welfare, and its page is https://www.aihw.gov.au/copyright. This site republishes the publisher's file without changing its content. The original sits beside every version as source.xlsx with its SHA-256, so the two can be compared.

How do I get only the rows for one type?

Every version has one JSON file per value of type, 5 files in the current version, listed with row counts at https://publicdata.au/d/au-hospitals-myhospitals/v/2026-10-03/by/type/index.json. For example https://publicdata.au/d/au-hospitals-myhospitals/v/2026-10-03/by/type/hospital.json holds the 1,166 rows where type is Hospital. A GeoJSON file sits beside each one.

What coordinate system does Hospitals, Local Hospital Networks and Primary Health Networks in MyHospitals use?

Latitude and longitude in decimal degrees as published. The Institute does not state the datum; WGS84 and GDA2020 differ 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.xlsx so the change can be checked.

The publisher releases AIHW MyHospitals as 3 files at once, so all 3 tables here share a version date.