Japan Law & Statute Lookup (e-Gov API v2)
Pricing
$5.00 / 1,000 law records
Japan Law & Statute Lookup (e-Gov API v2)
Search Japanese statutes, regulations, and official legal articles via Japan Digital Agency's e-Gov Law API v2. Supports English legal aliases (APPI, Companies Act, Labor Standards Act, Civil Code, Constitution), clean article extraction, English metadata labels, and MCP integration.
Pricing
$5.00 / 1,000 law records
Rating
0.0
(0)
Developer
Strata MCP
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 hours ago
Last modified
Categories
Features
Share
Fast, structured lookup of Japanese national statutes, cabinet orders, ministerial ordinances, and individual legal articles powered directly by Japan Digital Agency's official e-Gov Law API v2 (https://laws.e-gov.go.jp/api/2).
Designed for international legal teams, companies expanding into Japan, compliance researchers, and AI agents (MCP). Built with pure TypeScript and standard fetch (zero headless browser, zero runtime LLM calls) for sub-second-to-few-second latency, tiny memory footprint (128–256 MB), and predictable Pay-Per-Event (PPE) pricing.
Key Features
- English Legal Alias Dictionary: Query major Japanese statutes naturally in English — including
APPI,Companies Act,Labor Standards Act,Civil Code,Constitution,Antimonopoly Act,FIEA,FEFTA,Copyright Act,Patent Act,Payment Services Act,Subcontract Act,Whistleblower Protection Act,Immigration Act, and 25+ more — automatically mapped to official Japanese statutory titles. - Dual Operation Modes:
search: Prioritizes official law title & abbreviation matches (/laws) and supplements with full-text search (/keyword), deduplicated and ranked by statutory authority.get_law: Retrieves structured legal text by official e-Gov Law ID (e.g.,321CONSTITUTION,415AC0000000057), official Japanese Law Number (e.g.,平成十五年法律第五十七号), or English alias.
- Precision Single-Article Extraction: Pass
articleNumberin flexible formats (1,9,第1条,第九条,23-2,第23条の2,Article 9) to extract only that article as clean structured JSON (paragraphs, items, subitems, and furigana-free plain text) — preventing context-window bloat for AI agents. - English Metadata Labels & Official Citations: Every record includes Japanese official title, kana, law number, promulgation/enforcement dates, English statute-type translations (
Act (Statute),Cabinet Order,Ministerial Ordinance, etc.), official e-Gov URL (https://laws.e-gov.go.jp/law/{law_id}), and PDL 1.0 / CC BY 4.0 compliant attribution.
Sample Inputs
1. Default Search (Japanese Keyword)
{"mode": "search","keyword": "個人情報保護","limit": 5}
2. Search Using an English Legal Alias
{"mode": "search","keyword": "APPI","limit": 5}
3. Extract a Specific Article (get_law Mode)
Retrieve Article 9 of the Constitution of Japan (321CONSTITUTION):
{"mode": "get_law","lawIdOrNum": "321CONSTITUTION","articleNumber": "9"}
Or retrieve Article 1 of Japan's Personal Information Protection Act (APPI) by official Law Number:
{"mode": "get_law","lawIdOrNum": "平成十五年法律第五十七号","articleNumber": "第1条"}
Sample Output JSON (get_law with articleNumber)
{"status": "ok","mode": "get_law","query": {"lawIdOrNum": "321CONSTITUTION","articleNumber": "9","searchMatchSource": "direct_lookup","normalizedArticleKey": "9"},"law": {"lawId": "321CONSTITUTION","lawRevisionId": "321CONSTITUTION_19470503_000000000000000","lawNum": "昭和二十一年憲法","lawTitleJa": "日本国憲法","lawTitleKana": "にほんこくけんぽう","lawTitleEn": "The Constitution of Japan","abbreviationJa": null,"lawType": "Constitution","lawTypeJa": "憲法","lawTypeEn": "Constitution","categoryJa": "憲法","categoryEn": "Constitution","promulgationDate": "1946-11-03","enforcementDate": "1947-05-03","currentRevisionStatus": "CurrentEnforced","currentRevisionStatusEn": "Currently Enforced","repealStatus": "None","repealStatusEn": "In Force (Not Repealed)","lastUpdated": "2024-07-22T15:04:51+09:00","lastAmendment": {"lawId": null,"lawNum": null,"lawTitleJa": null,"promulgateDate": "1946-11-03","enforcementDate": "1947-05-03"},"officialUrl": "https://laws.e-gov.go.jp/law/321CONSTITUTION"},"article": {"articleNum": "9","articleTitle": "第九条","articleCaption": null,"paragraphs": [{"num": "1","label": "1","text": "日本国民は、正義と秩序を基調とする国際平和を誠実に希求し、国権の発動たる戦争と、武力による威嚇又は武力の行使は、国際紛争を解決する手段としては、永久にこれを放棄する。"},{"num": "2","label": "2","text": "前項の目的を達するため、陸海空軍その他の戦力は、これを保持しない。国の交戦権は、これを認めない。"}],"plainText": "第九条 日本国民は、正義と秩序を基調とする国際平和を誠実に希求し、国権の発動たる戦争と、武力による威嚇又は武力の行使は、国際紛争を解決する手段としては、永久にこれを放棄する。\n2 前項の目的を達するため、陸海空軍その他の戦力は、これを保持しない。国の交戦権は、これを認めない。"},"englishSummary": "The Constitution of Japan (日本国憲法) — Constitution (昭和二十一年憲法), promulgated 1946-11-03, enforced 1947-05-03. Status: Currently Enforced. Extracted 第九条 (2 paragraph(s)).","metadataLabelsEn": {"jurisdiction": "Japan (National)","sourceAgency": "Digital Agency of Japan (e-Gov Law API v2)","statuteTypeLabel": "Constitution","statusLabel": "Currently Enforced"},"attribution": {"sourceJa": "出典:e-Gov法令検索(デジタル庁)(https://laws.e-gov.go.jp/law/321CONSTITUTION)","sourceEn": "Source: e-Gov Law Search, Digital Agency of Japan (https://laws.e-gov.go.jp/law/321CONSTITUTION)","sourceUrl": "https://laws.e-gov.go.jp/law/321CONSTITUTION","license": "Public Data License 1.0 (PDL 1.0) / Government Standard Terms of Use v2.0 (CC BY 4.0 compatible)","licenseUrl": "https://www.digital.go.jp/resources/open_data/public_data_license_v1.0","processingNoticeJa": "e-Gov法令検索(デジタル庁)の法令API v2データを加工・構造化し、英語メタデータラベルを付与して作成(国の公式翻訳・公的証明ではありません)。","processingNoticeEn": "Structured and enriched with English metadata labels by japan-law-egov-lookup based on e-Gov Law API v2 data (Digital Agency of Japan). Not an official government publication or official legal translation.","retrievedAt": "2026-11-25T07:40:00.000Z"}}
Using with AI Agents (Apify MCP)
You can expose this Actor directly as a tool to Claude Desktop, Cursor, Windsurf, or any MCP-compatible AI agent via the Apify MCP Server:
Claude Desktop / MCP Client Config Example
{"mcpServers": {"apify": {"command": "npx","args": ["-y","@apify/actors-mcp-server","--actors","YOUR_APIFY_USERNAME/japan-law-egov-lookup"],"env": {"APIFY_TOKEN": "YOUR_APIFY_API_TOKEN"}}}}
Example Agent Prompts
- "Look up Japan's APPI using japan-law-egov-lookup and fetch Article 1 and Article 2."
- "Find the official Japanese law ID and latest enforcement date of the Labor Standards Act."
- "Retrieve Article 9 of the Japanese Constitution from e-Gov Law API v2 and cite the official e-Gov URL."
Input Parameters
| Field | Type | Default | Description |
|---|---|---|---|
mode | "search" | "get_law" | "search" | Choose keyword/title search or direct law/article retrieval. |
keyword | string | "個人情報保護" | Japanese keyword, title, or English alias (used in search mode). |
lawIdOrNum | string | — | Official e-Gov Law ID, Japanese Law Number, or English alias (used in get_law mode). |
articleNumber | string | — | Optional article selector (e.g., 1, 9, 第1条, 23-2, Article 9). Returns only that article in clean JSON. |
limit | integer | 5 | Maximum number of search results (1–50, used in search mode). |
Pricing, Politeness & Error Handling
- Pay-Per-Event (
law-record-retrieved): Charged 1 event per successfully retrieved law record (status: "ok"). Errors or unmatched queries returnstatus: "error"and are never charged. RespectseventChargeLimitReachedimmediately to protect user budgets. - API Politeness: Enforces a maximum concurrency of 2, per-host request spacing (
250 ms), 15-second timeouts, and exponential-backoff retries on transient upstream failures.
Data Source, License & Disclaimer
- Official Source: Powered by e-Gov Law Search (e-Gov法令検索 / 法令API v2) operated by the Digital Agency of Japan (デジタル庁).
- License: e-Gov Law Search data is published under Japan's Public Data License 1.0 (PDL 1.0) (successor to Government Standard Terms of Use v2.0, compatible with CC BY 4.0), permitting commercial and non-commercial reuse and processing with proper source attribution and modification notice.
- Disclaimer: This Actor structures e-Gov Law API v2 responses and adds convenience English metadata labels. It is not an official government publication, official English translation, or legal advice. Always consult qualified Japanese legal counsel (bengoshi) and official e-Gov texts for binding legal decisions.