API access
Every figure and fact behind these visualisations is available as a read-only JSON API. The endpoints expose the same platform-computed numbers the pages render — nothing a model generated, only the canonical data sourced from data.gov.au (FOI statistics) plus the deterministic figures computed from it.
Endpoints
| Endpoint | What it returns |
|---|---|
GET /api/ | Dataset info: snapshot, window modes, measures, figure/stat keys, source link, disclaimer. |
GET /api/figures | Every computed figure/stat
with its basis label — the numbers behind the charts. |
GET /api/facts | The long-form canonical facts
(agency × measure × bucket), filterable by fy,
measure, bucket, agency,
quarter, paged by limit/offset. |
GET /api/measures | The measure groups and the measures within each. |
GET /api/provenance | The curated provenance
registry (source files, hashes, derivations, curation decisions); add
?key= for one figure's live row basis. |
Examples
# all figures (with basis)
curl https://foi.axoquant.com/api/figures
# facts for a single measure
curl "https://foi.axoquant.com/api/facts?measure=received&fy=2024-25&bucket=total"
# dataset info
curl https://foi.axoquant.com/api/
Throttling
The API is rate-limited per client IP (a fixed window) so a public,
unauthenticated demo isn't overloaded. A 429 response carries a
Retry-After header telling you when to try again. The limits
are modest and tuned for demo traffic — this is not a production data
service.
Source
The underlying data is the
FOI statistics dataset on data.gov.au (dataset
b0771c28-09cc-4c4e-9e61-9a96f6e3d040). See the
Data notes and disclaimer for how agencies,
renames and personal information are handled.
Want to know where any figure came from? Every dashboard and report has a lineage page — the explainability trail is part of the demo.