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

# Api Get Law Meta

`GET /api/v1/{country}/laws/{law_id}/meta`

## 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}/meta`
- Auth: API key in header `Authorization`

Get law metadata only. Fast — no content fetching from GitHub.

Free tier: basic fields (id, title, status, dates, country, law_type).
Pro tier: adds department, source, last_updated, extra (country-specific metadata).

## Path parameters

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

## Response `200`

Successful Response

- LawMeta: Law metadata without content. Lightweight — no GitHub fetch.
  - `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
  - `articles_indexed` boolean, nullable, required: Metadata counts do not establish an index in the currently served body.

## 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)
