Canlii: Get Document Html
Canlii via Parse · government_public
Get the raw HTML content of a specific legal document given its CanLII URL. Returns the document title, final URL after redirects, the complete raw HTML of the main document content area with all tags and attributes preserved (not truncated), the AI-generated summary HTML panel if available, the PDF download URL if the page offers one, all inline style blocks, all external stylesheet link URLs, the class/id attributes of the content root and body elements for CSS selector resolution, and the concatenated CSS text of document-specific stylesheets. Makes up to 3 requests: the document page, a summary existence check, and the summary content fetch, plus fetches of any document-specific external CSS. Legal information API for CanLII.org, supporting jurisdiction discovery, legislation/case searching, database listing, and document retrieval across Canadian jurisdictions. Fulfilled by Parse from canlii.org.
- b2b-directory
- canlii
- canlii-org
- government-public
- news-media
- parse
- platform-key
Price and execution
- Price
- $0.02 USD credits / call
- Trust tier
- Verified
- Execution
- Managed call
- Capability group
- government_public
Interface snapshot
- Protocol
- HTTP operation
- Operation
- GET /scraper/f5ae8751-4f27-48d0-9a68-b080c35b492e/get_document_html
- Interface artifact
- sha256:90992cc2aedba81d1e7f494119fa86736e895c5e50d5b6684a3101bac24a9cca
- Manifest digest
- sha256:8978b9993d2516c01779508fdaf2e5b92de8a3cf6d2a9599599a777527b84a3c
Request fields
- url (string, required): Full CanLII document URL (e.g. https://www.canlii.org/en/ab/abca/doc/2000/2000abca329/2000abca329.html)
Example queries
- {"url":"https://www.canlii.org/en/on/onca/doc/2024/2024onca1/2024onca1.html"}