Japan Law Data — e-Gov + official English translations avatar

Japan Law Data — e-Gov + official English translations

Pricing

from $2.50 / 1,000 legislation records

Go to Apify Store
Japan Law Data — e-Gov + official English translations

Japan Law Data — e-Gov + official English translations

Japanese legislation from the official e-Gov law index: 9,500+ statutes, cabinet orders, ministerial ordinances, rules and the Constitution, with law numbers, promulgation dates, categories and in-force status, joined with the Ministry of Justice's official English translations.

Pricing

from $2.50 / 1,000 legislation records

Rating

0.0

(0)

Developer

dedy iskandar

dedy iskandar

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Scrape Japanese legislation from the official e-Gov law index and join it with the Ministry of Justice's official English translations from japaneselawtranslation.go.jp — into clean, structured JSON.

Every record is normalised to the same schema: e-Gov law id, official law number (昭和二十五年法律第百三十二号), promulgation date, subject category, in-force/repeal status, and — where the Ministry of Justice has published one — the official English title and law number (Broadcasting Act, Act No. 132 of 1950).

Official translation, not machine translation. The English titles and law numbers in this dataset come from the Ministry of Justice's own translation database — the same source Japanese lawyers and courts use. Nothing here is machine-translated, and no LLM is involved in the pipeline.

No proxies, no browser, no API key, no AI summarisation. The e-Gov API is public and keyless, and the English translation index is shipped offline with the Actor.


What you get

WhatDetail
Coverage9,577 statutes, ordinances, ministerial rules and the Constitution of Japan
Instrument typesActs (2,145), Cabinet Orders (2,432), Ministerial Ordinances (4,453), Rules (454), Imperial Orders (71), Constitution (1)
Official numbers昭和二十五年法律第百三十二号 and Act No. 132 of 1950 — exactly as the sources publish them
Official EnglishEnglish title, law number, latest translated version and link to the Ministry of Justice page for 2,261 statutes (23.6% of the corpus)
DatesNormalised to ISO-8601 (YYYY-MM-DD)
In-force statusinForce, repealStatus, repealDate — derived from repeal status + revision status, never from e-Gov's remain_in_force (which is always false)
Amendment trailAmending law number, title, promulgation date and enforcement date
Subject categoriesAll 50 e-Gov categories (民事, 労働, 国税, 環境保全, …)
Deterministic idsid = the e-Gov law_id (325AC0000000132), stable across runs
No duplicationRecords are de-duplicated in-flight and across resumed runs
Optional full textTurn on includeFullText for the Japanese article text and the official English text, article by article
ResumableProgress is stored per user, so a long corpus crawl can continue in the next run

Sources

SourceWhat it providesHow it is used
e-Gov Law IndexThe authoritative statute list: law id, law number, era, promulgation date, category, repeal statusPaged at runtime (100 records/page)
e-Gov law detailFull Japanese article textOnly when includeFullText is on
Japan Law TranslationMinistry of Justice English titles, law numbers and translated textOffline index for metadata; live fetch only for English full text

The English translation index (2,344 statute families) is packaged inside the Actor (src/data/jlt-index.json, generated 2026-11-20), so English titles cost zero requests. Only the English full text is fetched live, from the Ministry of Justice's bilingual .txt download.


Input

FieldTypeDefaultDescription
includeEnglishbooleantrueAttach the official English title and law number where a translation exists.
includeFullTextbooleanfalseAlso fetch the Japanese article text (fullText) and the official English text (fullTextEn).
includeRepealedbooleanfalseInclude repealed/expired statutes (571). When off, the filter is applied server-side by e-Gov.
refreshbooleanfalseBulk-refresh mode: cheap Japanese metadata only, for scheduled re-index jobs.
searchstring""Keyword matched against the Japanese title, law number, category and the English title/law number.
lawTypesarray[]Act, CabinetOrder, MinisterialOrdinance, Rule, ImperialOrder, Constitution. Filtered client-side: e-Gov ignores law_type on the server, so the Actor screens every record itself. A statute with a compound e-Gov type (e.g. Act,CabinetOrder) matches if any one of its types is listed.
categoriesarray[]Japanese subject categories, e.g. ["民事", "労働"].
erasarray[]Meiji, Taisho, Showa, Heisei, Reiwa.
lawIdsarray[]Fetch specific statutes by e-Gov law_id, e.g. ["325AC0000000144"]. Exact server-side lookup.
jltIdsarray[]Fetch specific statutes by Ministry of Justice id, e.g. ["24", "5274"].
promulgatedFromstring""Only statutes promulgated on/after YYYY or YYYY-MM-DD.
promulgatedTostring""Only statutes promulgated on/before YYYY or YYYY-MM-DD.
maxItemsinteger100Max records written this run. Hard cap 20000.
maxPagesinteger0Max e-Gov pages this run (0 = unlimited). One page = 100 statutes.
resumebooleantrueContinue from where the previous identical run stopped.

Input shape. Pass the fields flat, as shown above. If your client nests the payload under an input key (the Apify SDK and the MCP call-actor tool do this), the Actor unwraps it and uses your values — the platform's own schema defaults never override your settings.

Example: one topic, with the official English titles

{
"search": "Civil Code",
"maxItems": 50
}

Example: the Broadcasting Act, full text in both languages

{
"lawIds": ["325AC0000000132"],
"includeFullText": true,
"includeEnglish": true
}

Example: every Act enacted in the Reiwa era

{
"lawTypes": ["Act"],
"eras": ["Reiwa"],
"maxItems": 2000
}

Example: whole corpus, cheap metadata only (scheduled refresh)

{
"refresh": true,
"maxItems": 10000
}

Output

One dataset row per statute:

FieldDescription
id, lawIde-Gov law id, e.g. 325AC0000000132
title, titleKana, abbrevJapanese title, kana reading, short title
lawNumOfficial Japanese law number
lawType, lawTypeJae-Gov type (Act) and Japanese type (法律)
era, eraYear, year, actNumberShowa, 25, 1950, 132
promulgationDateISO-8601 date
categorye-Gov subject category in Japanese
inForce, repealStatus, repealDate, currentRevisionStatusLegal status of the statute
amendmentLawNum, amendmentLawTitle, amendmentPromulgateDate, amendmentEnforcementDateLatest amendment trail
hasOfficialEnglishTranslationWhether an official English translation exists
titleEn, lawNumEn, lastVersionEn, lastVersionJaOfficial English title / law number and the latest translated version
jltId, jltUrl, jltTxtUrl, jltPriorVersionsCountLinks to the Ministry of Justice translation
matchedByHow the statute was joined to the translation index (egovLawId or yearNum)
fullText, fullTextEnArticle-level text, only with includeFullText
scrapedAtISO-8601 run timestamp

Pricing

Pay-per-event. You are charged only for rows that were actually written to the dataset.

EventPriceCharged for
legislation$0.0025A Japanese statute record (primary event)
bilingual$0.0045A statute record that also carries the official English title and law number
detail$0.003Additive: the row includes the full statutory text
bulk-refresh$0.0005A statute in refresh mode (Japanese metadata only)
apify-actor-start$0.00005One-off, when the run starts — synthetic, charged automatically by the platform

Tier discounts (legislation-bronze … legislation-diamond, same for bilingual) are registered for paying plans. apify-actor-start is not a custom event: the Apify platform emits and prices it itself, so it cannot be registered or charged from Actor code.

The authoritative price table is the Actor's own pricing tab. The repository's PRICING.md documents the tier ladder status, the charging guarantees and the measured margin behind these numbers.


Design notes

  • Write first, charge second. Rows are pushed to the dataset in batches, and the pay-per-event charge happens only after pushData succeeds. A failed push is never billed.
  • The English index is offline. e-Gov is cheap and keyless; the Ministry of Justice site is slow and rate-limited. Metadata therefore comes from the packaged index, and only full English text triggers a live request (concurrency 3, 700–1000 ms spacing, a 90-second global pause on HTTP 403).
  • remain_in_force is ignored. e-Gov reports it as false even for statutes currently in force. inForce is derived from the repeal status plus the revision status instead.
  • Filters the server ignores are applied locally. e-Gov silently ignores keyword and category, so those filters run in the Actor.

The English titles and texts are the Ministry of Justice's official translations. The Ministry of Justice publishes them for reference; where the Japanese original and the English translation differ, the Japanese text prevails. Check the linked JLT page for the authoritative wording before relying on it in a filing.


Project layout

japan-law-data/
├── .actor/ actor.json + dataset schema
├── src/
│ ├── main.js pipeline: index → join → full text → push → charge
│ ├── lib/ charge, tier, kv (resume state), dedupe, http, log, jlt-index
│ ├── sources/ egov.js (e-Gov API), jlt.js (Ministry of Justice)
│ ├── schemas/ input + output platform schemas
│ └── data/ jlt-index.json (offline English translation index)
├── scripts/ one-off payloads (pricing) and probe scripts
├── tests/ vitest suite + fixtures
├── PRICING.md pay-per-event pricing model
└── REPORT.md build + verification report

Local development

npm install
npm test
apify run --input-file ./tests/inputs/test-input-small.json