---
title: "Keyword search over the text of Georgian laws (Georgian words work best)."
method: GET
path: "/api/law/search"
tags: ["Law"]
---

# Keyword search over the text of Georgian laws (Georgian words work best).

`GET /api/law/search`

## Request

- Base URL: `https://legal.ge`
- URL: `https://legal.ge/api/law/search`
- Auth: none declared

## Query parameters

- `q` string, required
- `limit` integer

## Response `200`

OK

- LawSearchResponse
  - `query` string
  - `results` LawStatus[]
    - `consolidated_as_of` string, date, nullable: The consolidation the text is "as of"; null for an as-enacted text.
    - `legal_force` 'in_force' | 'not_in_force': Present only when legal.ge can vouch for it: never for a law whose text is stale, never while freshness is unknown.
    - `newer_consolidation_published` boolean: matsne has published a newer consolidation than the text legal.ge holds.
    - `freshness` 'current' | 'stale' | 'unknown'
  - `attribution` string
  - `official_source` string

## Other responses

- `400`: Invalid request. The `error.code` field is machine-readable; possible values: `QUERY_REQUIRED`, `QUERY_TOO_LONG`, `INVALID_BODY`.
- `429`: Too many requests. The `Retry-After` header and `error.constraint.retry_after_seconds` both indicate when to retry.

---

[API](https://skmtc.dev/legal-ge/apis/legal-ge-public-api.md) · [All operations](https://skmtc.dev/legal-ge/apis/legal-ge-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/legal-ge/apis/legal-ge-public-api/revisions/060000c9c51b?raw)
