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 · Demographics

LGBTI+ Population Estimates by Age and State, Australia 2022

A small table of 103 rows giving estimates of the share of people in Australia by sexual orientation (LGB+, heterosexual/straight and total persons), broken down by groups such as age bands and states or territories. Callers can search rows by text, filter them and fetch a row by key.

Endpoints

LGBTI+ Population Estimates by Age and State, Australia 2022: search

GET/v1/records/lgbti-population-estimates-australia-2022/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: group.
whereExact-match filter `field:value`, repeatable, on: `column_1`.
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/lgbti-population-estimates-australia-2022/search?q=None' \
  -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.

LGBTI+ Population Estimates by Age and State, Australia 2022: one record

GET/v1/records/lgbti-population-estimates-australia-2022/{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 record id.
fieldsComma-separated field slugs (below). Omit for all.
curl -X GET 'https://api.microburbs.com.au/v1/records/lgbti-population-estimates-australia-2022/1' \
  -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

Australia, reference year 2022. 103 rows. Groups seen include age bands and states or territories. No suburb, LGA or SA2 detail. Current to 2026-11-19; refreshed One-off. These figures are modelled estimates.

What it is

A register of 103 rows from a 2022 set of estimates and characteristics of LGBTI+ populations in Australia. Each row is a population group, such as an age band or a state or territory, with figures for LGB+, heterosexual (straight) and total persons.

What it shows

It shows how sexual orientation is distributed across groups, for example how the LGB+ figure differs between age bands like 20–24 and 25–29, or between states and territories such as the Northern Territory. A second set of three columns is filled for only some rows.

Why use it

Analysts can use it to gauge community composition, plan services, or add context to demographic work on an area. It is a national and state-level reference, not a suburb-level one.

How it is built

We load the published table as rows, keeping the first column as a group label and each numeric column as a value. Column headings are normalised, and the repeated headings with a _2 suffix hold a second block of figures. The table has no geography below state level and no dates in the rows, so some values may be shares and others counts, depending on the block.

Shortcomings

  • The first block of numeric columns is filled for about 96% of rows, but the _2 block is blank for 42% of rows, so coverage is uneven.
  • Column_1 mixes different kinds of group (age bands, states and others) in one field, so callers must filter carefully to avoid mixing categories.
  • Values run from 0.6 to 100.0 and the unit is not stated per row. Some rows appear to be percentages and 100.0 is probably a total row.
  • These are survey-based estimates, not a count of everyone, and they do not cover trans and gender diverse people or people with variations of sex characteristics in these columns.

Fields

FieldUnitDescription
record_id
Record ID
Row key for the record, stored as text, used to fetch a single row.
column_1
Group
Label of the population group the row describes, such as an age band or a state or territory.
lgb
LGB+
%Estimate for people identifying as lesbian, gay, bisexual or another non-heterosexual orientation, in the first block of figures.
heterosexual_straight
Heterosexual (straight)
%Estimate for people identifying as heterosexual or straight, in the first block of figures.
total_persons_b
Total persons
%Total persons figure for the group in the first block, with values up to 100.0.
lgb_2
LGB+ (second block)
%LGB+ estimate in the second block of figures, blank for 42% of rows.
heterosexual_straight_2
Heterosexual (straight) (second block)
%Heterosexual (straight) estimate in the second block of figures, blank for 42% of rows.
total_persons_b_2
Total persons (second block)
%Total persons figure in the second block of figures, blank for 42% of rows.

Data source: ABS