APIFuseAPIFuse
DocsServicesPlaygroundStatus
Log inSign up

Service

Japan e-Gov Law

Japan, LegalAvailable
Try in PlaygroundOpen the API reference

Overview

Uses e-Gov Law API v2 to search Japanese legislation, follow stable selectors into revision records and bounded legal-text chunks, search sentence hits, and discover current-revision attachment URLs.

Status

Operational

96.61%30-day uptimeAvg response844ms

2026-09-192026-10-042026-10-18

Setup

Auth mode
Managed key
Credentials
  • A managed key scoped to japan-egov-law
Sandbox
Not available

APIs

Selecting a row opens the reference for that API.

MethodAPIPathSummary
POST/v1/japan-egov-law/get-law-attachmentsLists attachment metadata (attached files such as appended images) and direct official download URLs for the current revision of a law identified by a 15-character law_id returned by search-laws; binary content is not downloaded. Use when you need the files attached to a law. Do NOT use for the article text — use japan-egov-law:get-law-text instead. Accepts law_id only, not a law_number or law_revision_id. Returns the complete, unpaginated attachment list as items with law_revision_id, attachment_id, name, updated_at, and download_url, plus a summary. Each item also repeats download_url under its retired name source_url until 2026-10-12.
POST/v1/japan-egov-law/get-law-revisionsLists revision metadata for one law identified by a law_id or law_number returned by search-laws. Use when you need a law's amendment history, effective dates, or a specific law_revision_id. Do NOT use for reading the article text — use japan-egov-law:get-law-text instead. Returns the complete, unpaginated revision list as items with law_revision_id, amendment_type, amendment_law_number, effective_date, mission, and repeal_status, plus a summary.
POST/v1/japan-egov-law/get-law-textGets one normalized legal-text chunk of at most 8,000 characters for a law selector — a law_id, law_number, or law_revision_id returned by search-laws, search-law-text, or get-law-revisions. Use when you need to read the actual article text of a law. Do NOT use for finding which laws mention a term — use japan-egov-law:search-law-text instead. When has_more is true, call again with the same selector and the returned cursor unchanged to get the next chunk. Returns title, law_number, text, chunk_index, has_more, and cursor.
POST/v1/japan-egov-law/search-law-textSearches the full text of official Japanese laws for a required query term and returns one matching sentence per law together with that law's selectors. Use when you need to find which laws mention a term or phrase. Do NOT use for finding a law by its name — use japan-egov-law:search-laws instead. Do NOT use for reading a law's full text — use japan-egov-law:get-law-text with a returned selector instead. Returns paginated items with law_id, law_revision_id, title, law_number, and snippet (highlight markup removed), plus a summary with has_more and cursor.

Related guides

  • Issue a sandbox key and make your first reservation.

  • APIFuse holds the partner credentials. You hold one managed key.

  • Receive events such as reservation confirmations and delivery updates.

  • Service outages and gateway errors normalise into one error model.

POST/v1/japan-egov-law/search-lawsSearches the official e-Gov law catalog by title or abbreviation substring, law type, and promulgation date range. Use when you need to find a law by name and obtain its law_id, law_revision_id, or law_number for follow-up operations. Do NOT use for finding laws by words that appear inside the article text — use japan-egov-law:search-law-text instead. Returns paginated items with law_id, law_revision_id, law_number, title, law_type, promulgation_date, and current_revision_status, plus a summary with has_more and cursor.
Get Japanese law attachments
Get Japanese law revisions
Get Japanese law text
Search Japanese law text
Quickstart
Managed keys
Overview
Error model
Search Japanese laws