Japan Law Data — e-Gov + official English translations
Pricing
from $2.50 / 1,000 legislation records
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Features
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
| What | Detail |
|---|---|
| Coverage | 9,577 statutes, ordinances, ministerial rules and the Constitution of Japan |
| Instrument types | Acts (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 English | English title, law number, latest translated version and link to the Ministry of Justice page for 2,261 statutes (23.6% of the corpus) |
| Dates | Normalised to ISO-8601 (YYYY-MM-DD) |
| In-force status | inForce, repealStatus, repealDate — derived from repeal status + revision status, never from e-Gov's remain_in_force (which is always false) |
| Amendment trail | Amending law number, title, promulgation date and enforcement date |
| Subject categories | All 50 e-Gov categories (民事, 労働, 国税, 環境保全, …) |
| Deterministic ids | id = the e-Gov law_id (325AC0000000132), stable across runs |
| No duplication | Records are de-duplicated in-flight and across resumed runs |
| Optional full text | Turn on includeFullText for the Japanese article text and the official English text, article by article |
| Resumable | Progress is stored per user, so a long corpus crawl can continue in the next run |
Sources
| Source | What it provides | How it is used |
|---|---|---|
| e-Gov Law Index | The authoritative statute list: law id, law number, era, promulgation date, category, repeal status | Paged at runtime (100 records/page) |
| e-Gov law detail | Full Japanese article text | Only when includeFullText is on |
| Japan Law Translation | Ministry of Justice English titles, law numbers and translated text | Offline 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
| Field | Type | Default | Description |
|---|---|---|---|
includeEnglish | boolean | true | Attach the official English title and law number where a translation exists. |
includeFullText | boolean | false | Also fetch the Japanese article text (fullText) and the official English text (fullTextEn). |
includeRepealed | boolean | false | Include repealed/expired statutes (571). When off, the filter is applied server-side by e-Gov. |
refresh | boolean | false | Bulk-refresh mode: cheap Japanese metadata only, for scheduled re-index jobs. |
search | string | "" | Keyword matched against the Japanese title, law number, category and the English title/law number. |
lawTypes | array | [] | 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. |
categories | array | [] | Japanese subject categories, e.g. ["民事", "労働"]. |
eras | array | [] | Meiji, Taisho, Showa, Heisei, Reiwa. |
lawIds | array | [] | Fetch specific statutes by e-Gov law_id, e.g. ["325AC0000000144"]. Exact server-side lookup. |
jltIds | array | [] | Fetch specific statutes by Ministry of Justice id, e.g. ["24", "5274"]. |
promulgatedFrom | string | "" | Only statutes promulgated on/after YYYY or YYYY-MM-DD. |
promulgatedTo | string | "" | Only statutes promulgated on/before YYYY or YYYY-MM-DD. |
maxItems | integer | 100 | Max records written this run. Hard cap 20000. |
maxPages | integer | 0 | Max e-Gov pages this run (0 = unlimited). One page = 100 statutes. |
resume | boolean | true | Continue from where the previous identical run stopped. |
Input shape. Pass the fields flat, as shown above. If your client nests the payload under an
inputkey (the Apify SDK and the MCPcall-actortool 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:
| Field | Description |
|---|---|
id, lawId | e-Gov law id, e.g. 325AC0000000132 |
title, titleKana, abbrev | Japanese title, kana reading, short title |
lawNum | Official Japanese law number |
lawType, lawTypeJa | e-Gov type (Act) and Japanese type (法律) |
era, eraYear, year, actNumber | Showa, 25, 1950, 132 |
promulgationDate | ISO-8601 date |
category | e-Gov subject category in Japanese |
inForce, repealStatus, repealDate, currentRevisionStatus | Legal status of the statute |
amendmentLawNum, amendmentLawTitle, amendmentPromulgateDate, amendmentEnforcementDate | Latest amendment trail |
hasOfficialEnglishTranslation | Whether an official English translation exists |
titleEn, lawNumEn, lastVersionEn, lastVersionJa | Official English title / law number and the latest translated version |
jltId, jltUrl, jltTxtUrl, jltPriorVersionsCount | Links to the Ministry of Justice translation |
matchedBy | How the statute was joined to the translation index (egovLawId or yearNum) |
fullText, fullTextEn | Article-level text, only with includeFullText |
scrapedAt | ISO-8601 run timestamp |
Pricing
Pay-per-event. You are charged only for rows that were actually written to the dataset.
| Event | Price | Charged for |
|---|---|---|
legislation | $0.0025 | A Japanese statute record (primary event) |
bilingual | $0.0045 | A statute record that also carries the official English title and law number |
detail | $0.003 | Additive: the row includes the full statutory text |
bulk-refresh | $0.0005 | A statute in refresh mode (Japanese metadata only) |
apify-actor-start | $0.00005 | One-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
pushDatasucceeds. 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_forceis ignored. e-Gov reports it asfalseeven for statutes currently in force.inForceis derived from the repeal status plus the revision status instead.- Filters the server ignores are applied locally. e-Gov silently ignores
keywordandcategory, so those filters run in the Actor.
Legal note
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 installnpm testapify run --input-file ./tests/inputs/test-input-small.json
Related Actors
- Philippine Law Data — Lawphil
- Indonesia Law Data — peraturan.go.id
- Malaysia Law Data — lom.agc.gov.my
- Singapore Law Data — sso.agc.gov.sg