---
title: "Api Get Law"
method: GET
path: "/api/v1/{country}/laws/{law_id}"
tags: ["api"]
---

# Api Get Law

`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`

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`.

## Path parameters

- `country` string, required
- `law_id` string, required

## Response `200`

Successful Response

- LawDetail: Full law with Markdown content (fetched from GitHub).
  - `id` string, required
  - `title` string, required
  - `short_title` string, nullable
  - `country` string, required
  - `law_type` string, required
  - `publication_date` string, nullable
  - `status` string, nullable
  - `jurisdiction` string, nullable
  - `article_count` integer, nullable
  - `text_state` string
  - `reform_count` integer, nullable
  - `text_superseded` boolean, nullable
  - `department` string, nullable
  - `source` string, nullable
  - `last_updated` string, nullable
  - `extra` object, nullable
  - `frontmatter` object, nullable
  - `content_md` string, nullable
  - `kind` string
  - `warning` string, nullable
  - `articles_indexed` boolean, nullable, required

## Other responses

- `401`: Missing, malformed, or invalid API key
- `422`: Validation Error
- `429`: Monthly quota exceeded. Includes Retry-After header.

---

[API](https://skmtc.dev/legalize/apis/legalize-api.md) · [All operations](https://skmtc.dev/legalize/apis/legalize-api/llms.txt) · [OpenAPI document](https://skmtc.dev/legalize/apis/legalize-api/revisions/305b67a14660?raw)
