BC Laws

BC Laws is an electronic library providing free public access to the laws of British Columbia. BC Laws is hosted by the Queen's Printer of British Columbia and published in partnership with the Ministry of Justice and the Law Clerk of the Legislative Assembly.BC Laws contains a comprehensive collection of BC legislation and related materials. It is available on the internet in two forms:First: The library is available as a web site in which users can browse and search the laws of British Columbia.Second: The library is available as a portal to legislation in raw XML data format, accessible via the BC Laws API2. This direct access to raw data is intended to enable third parties to build or add their own custom applications based on the structure of the data and all the associated search functionality inherent in that structure. The BC Laws website itself is an example of one such application. Please note that you may experience issues when submitting requests to the delivery or test environment if using this [OpenAPI specification](https://github.com/bcgov/api-specs) in other API console viewers.

Claim this API

Are you the operator of BC Laws? Submit a claim to establish contact with us.

Report an Issue

Found something wrong with BC Laws? Let us know about broken links, changed auth, deprecated endpoints, or other issues.

Base URL: http://www.bclaws.ca/civix
Auth: none
Endpoints: 7
Reachable: unknown
CORS: unknown

Endpoints

Method Path Summary Auth Last Status Latency
GET /content/{aspectId} Describes the documents and directories available within a specific 'aspect' (content group) of the BCLaws library none
GET /content/{aspectId}/{civixDocumentId} Lists the metadata available for the specified index or directory from the BCLaws legislative respository none
GET /document/id/{aspectId}/{civixIndexId}/{civixDocumentId} Retrieves a specific document from the BCLaws legislative repository (HTML format) none
GET /document/id/{aspectId}/{civixIndexId}/{civixDocumentId}/search/{searchString} Retrieves a specific document from the BCLaws legislative repository with search text highlighted (HTML format) none
GET /document/id/{aspectId}/{civixIndexId}/{civixDocumentId}/xml Retrieves a specific document from the BCLaws legislative repository (XML format) none
GET /document/id/{aspectId}/{civixIndexId}/{civixDocumentId}/xml/search/{searchString} Retrieves a specific document from the BCLaws legislative repository with search text highlighted (XML format) none
GET /search/{aspectId}/fullsearch A listing of metadata available for the specified aspect and search term from the BCLaws legislative repository none