Canparl Search Bills
canparl_search_billsFind House and Senate bills in one session by title, number, type, chamber, status, or indexed MP sponsor. Sponsor results are the OpenParliament-indexed subset; fetch a bill for its sponsor, stages, divisions, and statute citation. Omitted session means the verified current official session. Follow nextOffset with identical filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows, default 25, effective cap 100; values through 10000 are accepted and clamp with a notice. Whole records may end the page early at the 24000-byte response budget; follow nextOffset. | |
| offset | No | Zero-based offset in the selected ordering. | |
| status | No | Official bill status from canparl_list_reference topic bill_statuses. | |
| session | No | Parliamentary session; omitted means current. | |
| sponsor | No | MP OpenParliament slug or politician path/HTTPS URL (member.slug from canparl_get_member, or an includeFormer canparl_search_members row), or a current MP's official personId; Senators are not indexed. A digit-only value equal to a current personId, or its /politicians/<digits>/ path or profile URL, is read as that personId. | |
| billCode | No | Exact bill code, including a split-bill suffix letter such as C-15A; accepts bill s321, S321, S 321, or S-321. | |
| billType | No | Official bill type from canparl_list_reference topic bill_types. | |
| titleContains | No | Literal case-insensitive substring of any English or French long or short title. | |
| originatingChamber | No | House, House of Commons, or Senate; case-insensitive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | Effective page limit after the per-call cap. | |
| bills | No | Matching official bills ordered by chamber prefix, number, then split-bill suffix letter. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Number of bills in this page. | |
| total | No | Exact matching count after all filters and before pagination. | |
| notice | No | Limit clamp, coverage, empty-result, past-end, or response-budget guidance. | |
| session | No | Verified official parliament-session token. | |
| truncated | No | Whether more matching bills remain after this page. | |
| pagination | No | Local continuation in the filtered ordering, including a response-budget stop. | |
| provenance | No | Original retrieval metadata from all source requests. | |
| totalCount | No | Exact matching count before slicing. | |
| appliedFilters | No | Normalized filters applied together with AND. | |
| sponsorCoverage | No | Whether the result is restricted to the third-party sponsor index. |