The law, as an API. Original text, cited, from 40 jurisdictions.

One search endpoint over the laws of 40 countries and regions. Every hit returns the provision as its source published it, with its section citation and source link, over REST or MCP.

In the index today: 1,625,531 laws and 21.52 million provisions in 31 languages · full ledger

jpe-Gov 法令検索 · official text

労働基準法

第二章 労働契約 · 第二十条(解雇の予告)

使用者は、労働者を解雇しようとする場合においては、少くとも三十日前にその予告をしなければならない。三十日前に予告をしない使用者は、三十日分以上の平均賃金を支払わなければならない。但し、天災事変その他やむを得ない事由のために事業の継続が不可能となつた場合又は労働者の責に帰すべき事由に基いて解雇する場合においては、この限りでない。

前項の予告の日数は、一日について平均賃金を支払つた場合においては、その日数を短縮することができる。

In forcejalaws.e-gov.go.jp ↗

GET/api/v1/search?q=解雇の予告&jurisdiction=jp&limit=1200
{
  "kind": "result",
  "result": {
    "query": "解雇の予告",
    "result_count": 1,
    "results": [
      {
        "id": "wq_jp_5b89e4a20f42e4c9#article-20",
        "jurisdiction": "jp",
        "work": {
          "title": "労働基準法",
          "legal_force": "in_force",
          "source_urls": ["https://laws.e-gov.go.jp/law/322AC0000000049"]
        },
        "section": {
          "ref": "article-20",
          "num_label": "第二十条",
          "heading_path": "第二章 労働契約",
          "language": "ja",
          "text": "使用者は、労働者を解雇しようとする場合においては、少くとも三十日前に…"
        },
        "url": "https://laws.e-gov.go.jp/law/322AC0000000049"
      }
    ]
  },
  "trace": {}
}

§ Quickstart

One request. Any client.

No SDK to install.

RESTsearch across every jurisdiction
curl 'https://lawapi.app/api/v1/search?q=unfair+dismissal&limit=5' \
  -H 'Authorization: Bearer lawapi_…'
Filterpin a jurisdiction, query in its language
curl 'https://lawapi.app/api/v1/search' \
  --data-urlencode 'q=Kündigungsfrist' \
  --data-urlencode 'jurisdiction=de' -G
MCPa search tool for any MCP client
{
  "mcpServers": {
    "lawapi": { "url": "https://lawapi.app/mcp" }
  }
}

§ What comes back

Original text, ready to cite

Each hit is one provision.

FieldWhat it holds
section.textThe provision as its source published it, in the source language. Gazette-style sources keep their own markup.
section.num_labelThe label to cite: 第二十条, § 66, section-239, Article L1234-1.
section.heading_pathWhere the provision sits: part / chapter / heading, as written in the act.
section.languageBCP 47 tag of the text. Filter or route translation on it.
section.is_authoritativefalse marks a non-binding version, such as an official translation.
work.legal_forcein_force, repealed, not_yet_in_force, or unknown when the source does not state it.
work.source_urls · urlThe source publication to link to.

§ Coverage

40 jurisdictions, one schema

Counts are laws in the live index. Text is kept in its source language.

Full list, including 14 pilot jurisdictions, on the coverage page.

§ Pricing

Pay for what you query

Each search costs 4 credits.

PlanFreePay as you go
PriceFree
Credits1,000 / month
Rate limit120 requests / min
InterfacesREST + MCP

Pricing details →