VOOZH about

URL: https://apify.com/jungle_synthesizer/elaws-egov-japan-laws-scraper

โ‡ฑ Japan e-Gov Laws Scraper ยท Apify


Pricing

Pay per event

Go to Apify Store

Japan e-Gov Laws Scraper

Extract 9,000+ Japanese statutes from the e-Gov Law Search API. Get law titles, numbers, categories, repeal status, and amendment history. Full-text mode fetches complete law body text with articles and paragraphs. Covers Constitution, Acts, Cabinet Orders, Ordinances, and Rules.

Pricing

Pay per event

Rating

0.0

(0)

Developer

๐Ÿ‘ BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

22 days ago

Last modified

Share

e-Gov Japan Laws Scraper โ€” Japanese Law Database & Statute API

Scrape the complete catalog of Japanese statutes and legislation from the e-Gov Law Search API. This Japan legal database scraper returns law titles, numbers, categories, repeal status, and amendment history for 9,000+ statutes โ€” plus full law body text and structured article data in fulltext mode. A drop-in alternative to building your own e-Gov Law Search API client for Japanese law lookup.


e-Gov Japan Laws Scraper Features

  • Extracts metadata for all 9,000+ statutes in the Japanese government's official law database
  • Filters by law type: Constitution, Act, Cabinet Order, Ministerial Ordinance, or Rule
  • Filters by repeal status โ€” active laws only, repealed, suspended, or all
  • Fetches a specific statute by its e-Gov law ID (e.g., 321CONSTITUTION)
  • Returns full law body text with article structure in fulltext mode โ€” each article as a formatted string
  • Pure API scraping against a public government endpoint โ€” no proxies, no browser, no captchas
  • Handles offset pagination automatically across the full 9,000+ record catalog

What Can You Do With This Japanese Law & Legislation Data?

  • Legal researchers โ€” Build a searchable corpus of Japanese legislation for comparative law analysis or citation indexing
  • Compliance teams โ€” Track amendment history and enforcement dates for statutes relevant to your business
  • LegalTech developers โ€” Populate a document database with structured law text for RAG pipelines or legal AI applications
  • Academics โ€” Analyze the distribution of law types, category breakdowns, or promulgation timelines across eras
  • Translators and law firms โ€” Identify recently amended statutes or pull full article text for targeted review

How e-Gov Japan Laws Scraper Works

  1. Configure your scrape: pick a mode (catalog or fulltext), apply optional filters, and set a record limit
  2. The scraper pages through the e-Gov catalog API at laws.e-gov.go.jp/api/2/laws, fetching 100 records per request with a 300ms courtesy delay between calls
  3. In catalog mode, each record is extracted from the response and saved directly โ€” no additional requests
  4. In fulltext mode, the scraper makes a second call to /api/2/law_data/{law_id} for each statute and parses the LawXML tree to extract plain text and article-level structure

Input

{
"mode":"catalog",
"lawType":"Act",
"repealStatus":"None",
"maxItems":100
}
FieldTypeDefaultDescription
modestringcatalogcatalog returns law metadata only. fulltext also fetches the full law body text and article structure for each statute.
lawTypestring(all types)Filter to a specific law type: Constitution, Act, CabinetOrder, MinisterialOrdinance, or Rule. Leave blank for all types.
lawIdstring(none)Fetch a single statute by its e-Gov ID (e.g. 321CONSTITUTION). Overrides other filters.
repealStatusstring(all statuses)Filter by repeal status: None (active), Repeal, RepealedBeforeEnforcement, or Suspended.
maxItemsinteger10Maximum records to return. Set to 0 for all 9,000+.

Additional input examples:

{"lawId":"321CONSTITUTION","mode":"fulltext"}
{"mode":"catalog","repealStatus":"None","maxItems":0}

e-Gov Japan Laws Scraper Output Fields

Catalog Mode

Returns law metadata for each statute. Fast โ€” one API request per 100 records.

{
"law_id":"321CONSTITUTION",
"law_revision_id":"321CONSTITUTION_19470503_000000000000000",
"law_type":"Constitution",
"law_num":"ๆ˜ญๅ’ŒไบŒๅไธ€ๅนดๆ†ฒๆณ•",
"law_num_era":"Showa",
"law_num_year":21,
"law_num_num":"",
"law_title":"ๆ—ฅๆœฌๅ›ฝๆ†ฒๆณ•",
"law_title_kana":"ใซใปใ‚“ใ“ใใ‘ใ‚“ใฝใ†",
"abbrev":"",
"category":"ๆ†ฒๆณ•",
"promulgation_date":"1946-11-03",
"amendment_promulgate_date":"",
"amendment_enforcement_date":"",
"amendment_law_id":"",
"amendment_law_title":"",
"repeal_status":"None",
"repeal_date":"",
"current_revision_status":"CurrentEnforced",
"remain_in_force":false,
"updated":"2022-04-01T00:00:00",
"law_body_text":"",
"article_count":0,
"articles":[],
"source_url":"https://laws.e-gov.go.jp/ja/laws/view/321CONSTITUTION"
}
FieldTypeDescription
law_idstringCanonical e-Gov law identifier (e.g. 321CONSTITUTION, 322AC0000000004)
law_revision_idstringSpecific revision ID combining law_id and enforcement date
law_typestringLaw type: Constitution / Act / CabinetOrder / MinisterialOrdinance / Rule
law_numstringOfficial law number in Japanese (e.g. ๆ˜ญๅ’ŒไบŒๅไบŒๅนดๆณ•ๅพ‹็ฌฌไนๅๅท)
law_num_erastringJapanese era of promulgation: Meiji / Taisho / Showa / Heisei / Reiwa
law_num_yearnumberYear of promulgation within the era
law_num_numstringSequential law number within the year
law_titlestringFull law title in Japanese (e.g. ๆ—ฅๆœฌๅ›ฝๆ†ฒๆณ•)
law_title_kanastringPhonetic reading of the law title in hiragana
abbrevstringCommon abbreviation of the law title if one exists
categorystringLegal category (e.g. ๆ†ฒๆณ• / ๆฐ‘ไบ‹ / ๅˆ‘ไบ‹ / ๅ•†ไบ‹ / ๅŠดๅƒ / ็จŽๆณ•)
promulgation_datestringOriginal promulgation date (YYYY-MM-DD)
amendment_promulgate_datestringLatest amendment promulgation date (YYYY-MM-DD)
amendment_enforcement_datestringLatest amendment enforcement date (YYYY-MM-DD)
amendment_law_idstringe-Gov ID of the most recently amending law
amendment_law_titlestringTitle of the most recent amending law
repeal_statusstringRepeal status: None / Repeal / RepealedBeforeEnforcement / Suspended
repeal_datestringDate of repeal if applicable (YYYY-MM-DD)
current_revision_statusstringEnforcement status: CurrentEnforced / Repeal / Future
remain_in_forcebooleanWhether the law remains in force after repeal
updatedstringTimestamp when this record was last updated in the e-Gov system
source_urlstringDirect URL to this law on the e-Gov portal

Fulltext Mode

Returns all catalog fields plus three additional fields populated from the law body.

{
"law_id":"321CONSTITUTION",
"law_title":"ๆ—ฅๆœฌๅ›ฝๆ†ฒๆณ•",
"law_body_text":"ๆ—ฅๆœฌๅ›ฝๆ†ฒๆณ•็ฌฌไธ€็ซ ใ€€ๅคฉ็š‡็ฌฌไธ€ๆกใ€€ๅคฉ็š‡ใฏใ€ๆ—ฅๆœฌๅ›ฝใฎ่ฑกๅพดใงใ‚ใ‚Š...",
"article_count":103,
"articles":[
"็ฌฌไธ€ๆก | | ๅคฉ็š‡ใฏใ€ๆ—ฅๆœฌๅ›ฝใฎ่ฑกๅพดใงใ‚ใ‚Šๆ—ฅๆœฌๅ›ฝๆฐ‘็ตฑๅˆใฎ่ฑกๅพดใงใ‚ใคใฆ...",
"็ฌฌไบŒๆก | | ็š‡ไฝใฏใ€ไธ–่ฅฒใฎใ‚‚ใฎใงใ‚ใคใฆ..."
]
}
FieldTypeDescription
law_body_textstringFull plain text of the law body โ€” all article, paragraph, and item text concatenated
article_countnumberNumber of articles in the main provision
articlesarrayStructured articles: each entry formatted as ArticleNum | ArticleTitle | text

๐Ÿ” FAQ

How do I scrape Japanese law data from e-Gov?

e-Gov Japan Laws Scraper hits the official government REST API at laws.e-gov.go.jp/api/2/laws. No authentication required โ€” it's a public endpoint maintained by Japan's Digital Agency.

How much does e-Gov Japan Laws Scraper cost to run?

e-Gov Japan Laws Scraper runs on pay-per-event pricing. The catalog for all 9,000+ laws costs roughly $9 in records plus a $0.10 start fee. Fulltext mode is more expensive โ€” each law requires a second API call, so budget accordingly for large fulltext runs.

Does e-Gov Japan Laws Scraper need proxies?

No proxies needed. The e-Gov API is a public government endpoint with no IP blocking or geographic restrictions. The scraper runs without any proxy configuration.

Can I get full law text, not just metadata?

Yes. Set mode to fulltext. The scraper fetches the full LawXML for each statute and returns the complete text as a plain string plus a structured array of articles. Expect the run to take longer โ€” one extra API call per statute.

Can I filter to only active (non-repealed) laws?

Set repealStatus to None. That filters the catalog to statutes with no repeal event, which is most of the 9,000+ records. You can combine it with lawType to narrow further โ€” for example, active Acts only.

Is there a Japanese law database or e-Gov Law Search API I can pull into my own app?

Yes โ€” that is what this scraper is for. It wraps the official e-Gov Law Search API v2 and returns clean, structured JSON for every Japanese statute, so you can load a full Japan legal database into your own application, search index, or RAG pipeline without writing your own API client.


Need More Features?

Need custom fields, additional filtering, or a different target endpoint? File an issue or get in touch.

Why Use e-Gov Japan Laws Scraper?

  • Complete coverage โ€” All 9,000+ statutes in the official Japanese government database, including the full amendment and repeal history for each
  • Two output modes โ€” Catalog mode is fast and cheap for metadata; fulltext mode delivers article-level structure for document-intensive workflows, so you pay only for what you actually need
  • No setup required โ€” Public government API, no proxies, no auth, no captchas. Configure your filters and run.

You might also like

Law Library Scraper

confidential_gnat/lawlibrary-scraper

Scrapes barrister information from the Law Library of Ireland website.

LSD.Law Law School Admissions Data Scraper

jungle_synthesizer/lsd-law-school-admissions-data-scraper

Scrape crowd-sourced law school admissions data from LSD.Law โ€” median LSAT and GPA, 25th/75th percentiles, acceptance rates, US News rankings, and application counts for all ABA-accredited law schools.

๐Ÿ‘ User avatar

BowTiedRaccoon

2

Legal News Aggregator - National Law Review Articles

jungle_synthesizer/legal-news-aggregator-scraper

Extract attorney-authored legal news and analysis articles from the National Law Review. Returns title, author, law firm, publication date, practice areas, jurisdictions, summary, and full text. First legal news aggregator on Apify.

๐Ÿ‘ User avatar

BowTiedRaccoon

2

Japan Legal & IP Data API

lentic_clockss/japan-legal-search

Searches Japanese legal databases via SIP API covering e-Gov law datasets and IP High Court English portal links.

Bundesgesetzblatt Scraper โ€” German Law Gazette

studio-amba/bundesgesetzblatt-scraper

Scrape the German Federal Law Gazette (Bundesgesetzblatt). Extract laws, regulations, and legal texts from the official NeuRIS API. Search by keyword, get full text, articles, and PDF links. No login needed.

Law Firms Email Scraper

contacts-api/law-firms-email-scraper

Law firms email scraper to extract verified emails from law firms, attorneys, and legal directories ๐Ÿ“งโš–๏ธ Perfect for legal outreach, partnerships, and targeted legal industry lead generation.

Law Firm Website Contact Scraper

jungle_synthesizer/law-firm-website-contact-scraper

Extract attorney profiles, contact details, practice areas, and bios directly from law firm websites. Provide a list of law firm URLs and get structured attorney data including name, title, email, phone, education, bar admissions, and headshot.

๐Ÿ‘ User avatar

BowTiedRaccoon

2

Law.com Daily Report Public Notices Scraper

deltaspider/law-com-daily-report-public-notices-scraper

Automatically and efficiently scrape Daily Report public notices from Law.com

Law Firm Lead Finder

george.the.developer/law-firm-lead-finder

Find law firms in any city with verified contacts, validated emails, and lead scores. Built for legal marketing agencies and legal tech companies.