open parliament
Open Parliament API tools: search federal bills by keyword/session/status, get bill details and sponsor info, search MPs by name/party/province/riding, get party member lists, retrieve House of Commons vote records, get individual MP voting records, browse Hansard debate transcripts, and full-text search Hansard speeches.
lang: "en" | "fr". Open each tool below for its source-derived parameters.parl_search_bills
List Canadian federal bills filtered by session or status.
Use forbrowsing bills from a specific parliament session (e.g. '42-1') or
bill, legislation, federal, parliament, session, status, law, act,
| Parameter | Type | Default |
|---|---|---|
keyword | str | None | None |
session | str | None | None |
status | str | None | None |
page | int | 1 |
lang | Literal['en', 'fr'] | 'en' |
parl_get_bill_details
Get full details for a specific Canadian federal bill including sponsor and status history.
Use forretrieving complete information about a specific bill when you know
bill, detail, sponsor, status, history, vote, text, summary, parliament,
| Parameter | Type | Default |
|---|---|---|
bill_id | str | required |
lang | Literal['en', 'fr'] | 'en' |
parl_get_politicians
Search or list Canadian Members of Parliament by name, party, or province.
Use forfinding MPs by their name, political party affiliation, or the province
mp, member of parliament, politician, party, province, liberal, conservative,
| Parameter | Type | Default |
|---|---|---|
name | str | None | None |
party | str | None | None |
province | str | None | None |
page | int | 1 |
lang | Literal['en', 'fr'] | 'en' |
parl_search_by_riding
Find the MP or politician for a specific electoral riding in Canada.
Use forlooking up who represents a specific electoral district or riding
riding, electoral district, constituency, mp, representative,
| Parameter | Type | Default |
|---|---|---|
riding | str | required |
lang | Literal['en', 'fr'] | 'en' |
parl_get_party_members
Get the current Members of Parliament for a specific political party.
Use forlisting all current MPs belonging to a political party such as
party, caucus, members, liberal, conservative, ndp, bloc, green,
| Parameter | Type | Default |
|---|---|---|
party | str | required |
lang | Literal['en', 'fr'] | 'en' |
parl_get_votes
Get House of Commons vote records, optionally filtered by session, bill, or result.
Use forfinding how the House voted on bills or motions, with tally counts
vote, division, yea, nay, passed, failed, motion, bill, house of commons,
| Parameter | Type | Default |
|---|---|---|
session | str | None | None |
bill | str | None | None |
result | str | None | None |
page | int | 1 |
lang | Literal['en', 'fr'] | 'en' |
parl_get_voting_record
Get votes an MP participated in, with house-wide totals per division.
Use forseeing which recorded divisions an MP participated in and the
voting record, mp vote, division, politician, recorded vote,
| Parameter | Type | Default |
|---|---|---|
politician | str | required |
session | str | None | None |
page | int | 1 |
lang | Literal['en', 'fr'] | 'en' |
parl_get_debates
Get Hansard debate transcripts from the House of Commons.
Use forretrieving transcripts of speeches and debate from the House of Commons
hansard, debate, transcript, speech, house of commons, mp speech,
| Parameter | Type | Default |
|---|---|---|
date | str | None | None |
politician | str | None | None |
page | int | 1 |
lang | Literal['en', 'fr'] | 'en' |
parl_search_hansard
Full-text search of Canadian Hansard debate transcripts.
Use forsearching across all Hansard speeches for specific topics, keywords,
hansard, search, full-text, speech, debate, transcript, keyword,
| Parameter | Type | Default |
|---|---|---|
query | str | required |
page | int | 1 |
lang | Literal['en', 'fr'] | 'en' |
parl_get_ballots
Get individual MP yea/nay ballots for a specific House of Commons vote.
Use forfinding exactly how an MP voted (yea/nay/paired) on a specific
ballot, individual vote, yea, nay, how voted, mp vote, division,
| Parameter | Type | Default |
|---|---|---|
vote_id | str | required |
politician | str | None | None |
page | int | 1 |
lang | Literal['en', 'fr'] | 'en' |