Query demographics
Unified demographics endpoint. Combine parameters to express what you want.
Point lookup: ?lat=-33.87&lng=151.21 (defaults to SA1, use boundary_type to change)
Single boundary: ?boundary_id=sa2:117011325
Multiple boundaries: ?boundary_id=sa1:123,sa1:456 (add &aggregate=true to aggregate)
Browse by type: ?boundary_type=sa2 (paginated, supports filter/sort/contained_by)
Segment query: Add sex, age_min, age_max to any single-boundary query with a topics value. Returns segment_pct (percentage of boundary population in the segment).
Request
- Base URL: https://api.mapulus.com
- URL: https://api.mapulus.com/v1/data/demographics
- Auth: HTTP bearer
Query parameters
Latitude of the point.
Longitude of the point.
Boundary ID(s), comma-separated (e.g. sa2:117011325 or sa1:123,sa1:456). Max 100.
Statistical and administrative boundary types (AU + US).
Boundary type for point resolution or browse mode (e.g. sa2, lga).
Comma-separated topic IDs (e.g. age,income). Use all for everything. Default: summary.
Comma-separated API field paths (e.g. summary.population.persons,medians.age). Overrides topics.
Census year.
Sex filter: male, female, or persons.
Minimum age (inclusive).
Maximum age (inclusive).
Aggregate results across multiple boundaries.
Spatial filter: parent boundary_id (e.g. lga:17200).
Filter expression: field.op.value (semicolon-separated).
Sort: field.direction (e.g. summary.population.persons.desc).
Page size (browse mode).
Pagination offset.
Response
Demographic data (shape varies by query mode).
Changes
No recorded changes to this operation across all 1 revision of this API.