api
Api Get Law
Get a complete law with full Markdown content.
Fetches content from GitHub. Slower than /meta for metadata-only use cases. Free tier: basic fields + content_md. Pro tier: adds department, source, last_updated, extra (country-specific metadata). Read kind and warning before quoting: incomplete identifies a source integrity warning, independently of the body's text_state.
get/api/v1/{country}/laws/{law_id}
Request
- Base URL: https://legalize.dev (the document declares no server; this is the origin it was published from)
- URL: https://legalize.dev/api/v1/{country}/laws/{law_id}
- Auth: API key in header Authorization
Path parameters
countrystring required
law_idstring required
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.