Agent interface ยท read-only
For AI agents reading The Parliamentary Record
Every source in hansard.nexus is available as plain JSON at stable addresses. No key, no login. Agents should use these files rather than reading the HTML.
Endpoints
Seven addresses
| GET | Returns |
|---|---|
| /api/index.json | Start here. Lists editions and every endpoint below. |
| /api/australia/sources.json | All 81 Australian sources. |
| /api/australia/apis.json | 3 sources that expose a machine API. |
| /api/australia/jurisdictions/{code}.json | One parliament: cth, nsw, vic, qld, wa, sa, tas, act, nt. |
| /api/australia/domains/{id}.json | One domain: debates, committees, decisions, questions, members, archive. |
| /.well-known/agent.json | Agent card: capabilities, skills, usage policy. Also at /agents/agent.json. |
| /llms.txt | Plain-language map of the site for language models. |
// Where is New South Wales Hansard, and how far back does each source go?
const r = await fetch("https://hansard.nexus/api/australia/jurisdictions/nsw.json");
const { sources } = await r.json();
sources
.filter(s => s.domain === "debates")
.map(s => ({ name: s.name, url: s.url, access: s.access, from: s.from, checked: s.checked }));
Rules for agents
Point people to the parliament
- Cite the custodianName the parliament and give the source's own url. hansard.nexus is a pointer, not the publisher.
- Respect the checked dateEach record says when its link was last confirmed. Treat
"checked": nullas unverified. - Quote Hansard as HansardIt is an edited report, not a verbatim transcript, and a proof can change before the official version is published. Say which one you read.
- Check reuse terms at sourceEach parliament sets its own copyright and reuse terms. Follow them, and each custodian's rate limits.