MicroburbsMicroburbs
Free sandbox: try any request below on the sample suburbs, no signup. For every suburb, create an API key.
Classic docs
Microburbs Property Data API
Dataset · Education

NSW Government Primary School Average Class Sizes by Year Level

A short state-level time series of average class sizes in government primary schools, by year level from Kindergarten to Year 6 and for Kindergarten to Year 6 overall. It has 26 rows, one per audit year, covering 1997 and 2002 to 2025. A caller gets the average number of students per class for each grade in each year.

Endpoints

NSW Government Primary School Average Class Sizes by Year Level: search

GET/v1/records/nsw-government-primary-school-class-sizes/search10¢ per call

Served by /v1/records/{slug}/search, which documents every parameter, the response shape and errors, and has a live playground.

Query parameterDescription
qWords to find (prefix match, all must appear) in: audit year.
fieldsComma-separated field slugs (below). Omit for all.
limitRecords per page, 1 to 50 (default 25).
offsetItems to skip, for the next page (`next_offset`).
curl -X GET 'https://api.microburbs.com.au/v1/records/nsw-government-primary-school-class-sizes/search?q=1997' \
  -H 'Authorization: Bearer test'

test is the public sandbox key: it works only for the sandbox's allowlisted suburbs and addresses. Use your own key for anything else.

NSW Government Primary School Average Class Sizes by Year Level: one record

GET/v1/records/nsw-government-primary-school-class-sizes/{record_key}5¢ per call

Served by /v1/records/{slug}/{record_key}, which documents every parameter, the response shape and errors, and has a live playground.

Query parameterDescription
record_keyThe record's audit year.
fieldsComma-separated field slugs (below). Omit for all.
curl -X GET 'https://api.microburbs.com.au/v1/records/nsw-government-primary-school-class-sizes/1997' \
  -H 'Authorization: Bearer test'

test is the public sandbox key: it works only for the sandbox's allowlisted suburbs and addresses. Use your own key for anything else.

About this dataset

New South Wales government primary schools, at state level only. 26 rows covering 1997 and 2002 to 2025. There are no rows for 1998, 1999, 2000 and 2001. The temporal range in the profile ends at 2024-12-31, so check whether the latest year is present. Current to 2026-03-01; refreshed Yearly, following each March class size audit. The update schedule is not formally stated..

What it is

Average class size in government primary schools across the state, reported for each year level (Kindergarten, Years 1 to 6) and as a combined Kindergarten to Year 6 average. Each row is one audit year. Values are averages of students per class.

What it shows

How class sizes have changed over time and how they differ between year levels. In the profile, Kindergarten averages range from 18.1 to 24.2 and Year 6 from 25.2 to 27.1. The Kindergarten to Year 6 average ranges from 23.2 to 27.0. Early years have smaller classes than later years.

Why use it

Class size is a common measure of school resourcing and learning conditions. Analysts can use it to track trends, compare year levels, and give context to education policy, school quality and area-level education indicators.

How it is built

We take the figures from an annual class size audit run each March. For each grade, the average is the number of students in all classes that include a student from that grade (composite and multi-age classes included), divided by the number of those classes. Students in schools for specific purposes, students in support classes in regular schools and distance education students are excluded. No audits were run in 1998 to 2001, so those years are missing.

Shortcomings

  • The 2020 figures should be treated with caution. The March collection happened during COVID-19 disruption and fewer data checks were carried out.
  • The Kindergarten to Year 6 average can be lower than every individual year level, because of how composite classes are counted.
  • Data is state-wide only. It has no breakdown by school, region, LGA or school size, so it can't describe local conditions.
  • Specialist schools, support classes and distance education are excluded, so the figures don't cover all government students. Non-government schools are not included.

Fields

FieldUnitDescription
year
Audit year
The calendar year of the March class size audit, stored as text.
k_value
Kindergarten average class size
students per classAverage number of students per class that includes Kindergarten students.
year_1
Year 1 average class size
students per classAverage number of students per class that includes Year 1 students.
year_2
Year 2 average class size
students per classAverage number of students per class that includes Year 2 students.
year_3
Year 3 average class size
students per classAverage number of students per class that includes Year 3 students.
year_4
Year 4 average class size
students per classAverage number of students per class that includes Year 4 students.
year_5
Year 5 average class size
students per classAverage number of students per class that includes Year 5 students.
year_6
Year 6 average class size
students per classAverage number of students per class that includes Year 6 students.
k_6
Kindergarten to Year 6 average class size
students per classAverage number of students per class across all Kindergarten to Year 6 classes.

Data source: NSW Government