← Return to tool atlas

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.

10tools
All tools accept lang: "en" | "fr". Open each tool below for its source-derived parameters.
01

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,

ParameterTypeDefault
keywordstr | NoneNone
sessionstr | NoneNone
statusstr | NoneNone
pageint1
langLiteral['en', 'fr']'en'
02

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,

ParameterTypeDefault
bill_idstrrequired
langLiteral['en', 'fr']'en'
03

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,

ParameterTypeDefault
namestr | NoneNone
partystr | NoneNone
provincestr | NoneNone
pageint1
langLiteral['en', 'fr']'en'
04

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,

ParameterTypeDefault
ridingstrrequired
langLiteral['en', 'fr']'en'
05

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,

ParameterTypeDefault
partystrrequired
langLiteral['en', 'fr']'en'
06

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,

ParameterTypeDefault
sessionstr | NoneNone
billstr | NoneNone
resultstr | NoneNone
pageint1
langLiteral['en', 'fr']'en'
07

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,

ParameterTypeDefault
politicianstrrequired
sessionstr | NoneNone
pageint1
langLiteral['en', 'fr']'en'
08

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,

ParameterTypeDefault
datestr | NoneNone
politicianstr | NoneNone
pageint1
langLiteral['en', 'fr']'en'
09

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,

ParameterTypeDefault
querystrrequired
pageint1
langLiteral['en', 'fr']'en'
10

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,

ParameterTypeDefault
vote_idstrrequired
politicianstr | NoneNone
pageint1
langLiteral['en', 'fr']'en'