japanlaw.org — Japanese law
v2.0.1Japanese statutes and the Ministry of Justice's English, cited to the item, every line sourced.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search Search Japanese law
日本の法令についての質問(有給休暇、解雇予告、留学生のアルバイト、在留資格、確定申告など)に、根拠となる条文を探す。 Find what Japanese law says on a question asked in words — paid leave, notice of dismissal, a student's part-time work, 有給休暇, 解雇予告 — and the provisions to quote and link. Search the Japanese statutes japanlaw.org holds, in force today. A query with any Japanese in it searches the Japanese text (時間外労働, 有給休暇); one without searches the English shown for each provision, stemmed (overtime,…
| Parameter | Type | Description |
|---|---|---|
query * | string | Words to find, in Japanese or English. |
lang | string | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". The text returned always holds both languages. |
law | string | Search this law only: its Japanese title, English title, short name, slug or e-Gov law ID. Unset searches every law held. A slug or English title a letter or two off is read as the one held law it is… |
limit | integer | Articles per page, 1–25; default 10. As many laws at most come first. |
page | integer | Which page of results, from 1. |
fetch Read a provision or a law
Read in full a law or provision search found, by its id. A provision's id (labor-standards-act/art-36) returns it as Markdown: the Japanese text with each paragraph's English under it, every English line marked as the Ministry of Justice's translation, the Ministry's with a slip corrected, or machine translation; its address and URLs on every line; what it cites and what cites it; and its sources. A law's id (labor-standards-act) returns the law's overview — what it is for, who it applies to, how it is enforced — the texts held, and its outline, never its whole text. The site's other pages…
| Parameter | Type | Description |
|---|---|---|
id * | string | An id from search or get_law: a law's slug, <slug>/<address>, or a page's id — concepts/<key>, changes/<day>, acts/<law id>, laws/<topic>. A japanlaw.org URL also works. |
asOf | string | Read the text as it stood on this day, YYYY-MM-DD (2027-04-01): past, today or to come. Unset reads the text in force. A day whose text japanlaw.org does not hold is refused as not held, with the text… |
lang | string | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". A law's or a provision's text always holds both languages; a page's id (concepts/, changes… |
version | string | Read one held text by its version, as get_law's versions lists it (20270401_508AC0000000060). Unset reads the text in force. Pass asOf or version, not both. |
list_laws List the laws held
Check whether japanlaw.org holds a law, and find the name to pass as law. Every law japanlaw.org holds — or only those of one kind (法律 Act, 政令 Cabinet Order, 省令 Ministerial Order…), of one topic, or whose names hold query's words — each with its Japanese and English title, kind, law number and url; get_law has the rest. total counts the laws listed, held all the laws held, and kinds counts them by kind. A law not in the whole list is not held, whatever its kind — a 条例 (a prefecture's or city's ordinance) included — so say so rather than quoting its text from memory.
| Parameter | Type | Description |
|---|---|---|
kind | string | Only laws of this kind: Constitution, Act (法律), CabinetOrder (政令), MinisterialOrdinance (省令), ImperialOrdinance (勅令), Rule (規則). |
lang | string | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". The text returned always holds both languages. |
query | string | Only laws whose title, short name, slug or law number holds these words, in Japanese or English (労基法, labor, 昭和二十二年法律第四十九号). |
topic | string | Only the laws of one topic, as the site's laws pages group them: work, immigration, tax, social-security, business, consumers, civil, housing, crime, transport or government. |
get_law Describe one law
What a Japanese law is for, who it applies to, and its chapters and articles. One law: titles, number, kind, when the text in force took effect, the texts held (versions: in force, not yet in force, no longer in force, each with the days it stands), how much of it has the Ministry's English, and this site's plain description of it — what it is for, who it applies to and who it does not, and on request (aspect) its exceptions and how it is enforced — each claim with the provisions it rests on (basis). Then its outline: by default the parts and chapters of the main text (編, 章); outline "…
| Parameter | Type | Description |
|---|---|---|
law * | string | The law: its Japanese title (労働基準法), English title (Labor Standards Act), short name (労基法), slug (labor-standards-act) or e-Gov law ID (322AC0000000049). A slug or English title a lett… |
aspect | string | One part of the description, in full: summary, applies, excludes, exceptions, enforcement or topics. Unset gives summary, applies, excludes and topics, and names the others in description.more. |
lang | string | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". The text returned always holds both languages. |
outline | string | "headings" (default) or "articles". |
under | string | A heading's or run's path from the outline, such as ch-4 or from-art-31: list everything under it. |
get_provision Read one provision
日本の法令の条・項・号の本文を読む。引用や説明の前に確かめる(改正で文言が変わっていることがある)。 Read the text of an article, paragraph or item of a Japanese law, to quote or explain it: the wording may have changed since a model learned it. One article, paragraph or item of a law, with everything under it. Call it with law and address: {"law": "labor-standards-act", "address": "art-36"}, or {"law": "労働基準法", "address": "第三十二条の三第一項"}. For each paragraph and item, the Japanese text (textJa), its English (textEn)…
| Parameter | Type | Description |
|---|---|---|
address * | string | The provision, as the statute writes it (第三十六条第二項第一号), as the Ministry's English does (Article 36(2)(i)), or as japanlaw.org does (art-36/par-2/item-1). A bare number is an artic… |
law * | string | The law: its Japanese title (労働基準法), English title (Labor Standards Act), short name (労基法), slug (labor-standards-act) or e-Gov law ID (322AC0000000049). A slug or English title a lett… |
asOf | string | Read the text as it stood on this day, YYYY-MM-DD (2027-04-01): past, today or to come. Unset reads the text in force. A day whose text japanlaw.org does not hold is refused as not held, with the text… |
cursor | string | Go on from here: the cursor an earlier answer's continued gave, with the same address. Unset starts at the address. |
lang | string | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". The text returned always holds both languages. |
references | string | "counts" (default): how many provisions this one cites and how many cite it. "lists": each of them too, with its url — the first 20 that cite it; get_citing_provisions has them all. |
version | string | Read one held text by its version, as get_law's versions lists it (20270401_508AC0000000060). Unset reads the text in force. Pass asOf or version, not both. |
get_citing_provisions Find what cites a provision
Find the provisions that refer to a given one — in the same law, in other laws, and in the Cabinet and Ministerial Orders (政令, 省令) that set the details it leaves to them: every provision in the laws japanlaw.org holds that cites the given one. Each with its law, designation, the words it cites with, an id for fetch and its url; link each one you name by its fromUrl. Call it with law and address, as get_provision: {"law": "labor-standards-act", "address": "Article 36(1)"}.
| Parameter | Type | Description |
|---|---|---|
address * | string | The provision, as the statute writes it (第三十六条第二項第一号), as the Ministry's English does (Article 36(2)(i)), or as japanlaw.org does (art-36/par-2/item-1). A bare number is an artic… |
law * | string | The law: its Japanese title (労働基準法), English title (Labor Standards Act), short name (労基法), slug (labor-standards-act) or e-Gov law ID (322AC0000000049). A slug or English title a lett… |
lang | string | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". The text returned always holds both languages. |
limit | integer | How many to return, 1–300; default 50. total counts them all. |
get_definitions Look up the words a law defines
What a word means in a Japanese law that defines it. The words a law defines for itself (定義語): inside that law, and only as far as each definition reaches, the word means what the statute says, not what it means in everyday speech or in another law. For each, the statute's own words (statuteJa), its reading, its English and whose that is (englishWhose), a plain explanation by japanlaw.org (explanation, in lang), where it is defined (definedAt, url) and how far it reaches (scope, scopeLabel). With address — {"law": "labor-standards-act", "address": "art-36"} — the definitions that app…
| Parameter | Type | Description |
|---|---|---|
law * | string | The law: its Japanese title (労働基準法), English title (Labor Standards Act), short name (労基法), slug (labor-standards-act) or e-Gov law ID (322AC0000000049). A slug or English title a lett… |
address | string | A provision: the definitions that apply in it, and the legal vocabulary it uses. Unset lists every term the law defines. Written as for get_provision: 第三十六条, Article 36(2) or art-36/par-2. |
cursor | string | Go on from here: the cursor an earlier answer's continued gave, with the same law, address and term. |
lang | string | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". The text returned always holds both languages. |
term | string | One word to look up: the term (労働者), its reading (ろうどうしゃ) or its English (worker). |
get_amendments See what amendments changed
What an amendment to a Japanese law changes, and when; for what changes across every law between two days, list_changes. A law's amendments whose changes japanlaw.org holds: the amending Act (titles, law number), the day it takes effect, whether it is in force, not yet in force or since replaced (state), how many provisions it changes, adds and removes, and its version — the text it leaves, which get_provision and fetch read where textHeld is true. With version — {"law": "labor-standards-act", "version": "20270401_508AC0000000060"} — every provision that amendment changes, its wording be…
| Parameter | Type | Description |
|---|---|---|
law * | string | The law: its Japanese title (労働基準法), English title (Labor Standards Act), short name (労基法), slug (labor-standards-act) or e-Gov law ID (322AC0000000049). A slug or English title a lett… |
cursor | string | Go on from here: the cursor an earlier answer's continued gave, with the same version. |
lang | string | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". The text returned always holds both languages. |
version | string | One amendment, by the version a list gave (20270401_508AC0000000060) — the text it leaves, as get_provision and fetch take it: its changes, provision by provision. Unset lists the amendments. |
list_changes See what changes across the laws
What changes in Japanese law between two days, across every law japanlaw.org holds — 来年施行される改正、4月1日に変わる法令 — or one law's, or one topic's. Each change: the day it takes effect (day: on that day; by, a day a Cabinet Order sets, that day at the latest; open, not set yet), whether it is still to come, the law, the amending Act (titles, law number), its version, and its url. With no until, every change still to come is listed, those with no day yet last; since defaults to today. A long list stops at limit; continued.cursor, passed back as cursor with the same…
| Parameter | Type | Description |
|---|---|---|
cursor | string | Go on from here: the cursor an earlier answer's continued gave, with the same since, until, law and topic. |
lang | string | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". The text returned always holds both languages. |
law | string | One law's changes only: its Japanese title (労働基準法), English title, short name (労基法), slug or e-Gov law ID. Unset: every law's. A slug or English title a letter or two off is read as th… |
limit | integer | Changes per answer, 1–200; default 50. |
since | string | The first day, YYYY-MM-DD (2027-04-01). Unset: today. |
topic | string | Only the changes of one topic's laws: work, immigration, tax, social-security, business, consumers, civil, housing, crime, transport or government. |
until | string | The last day, YYYY-MM-DD. Unset: every change still to come, however far off, and those whose day is not set yet. |