Japan e-Gov Laws API

Search Japanese laws, cabinet and ministerial orders on e-Gov by title. Each record has the law id, official law number, title, type, promulgation date, latest amendment date and whether it is currently in force.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 8 fieldsv1.0

Data from laws.e-gov.go.jp/api/2/laws

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Titleoptional
Words in the law title, for example 民法.
Example: 民法

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/japan-egov-laws/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/japan-egov-laws/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"title":"民法"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

titletext
Words in the law title, for example 民法.
example: 民法

What's in each record

8 fields: 7 here, 1 technical one under Technical details.

Basics

  • Law number

    Official law number, such as 明治二十九年法律第八十九号.

    Example 明治二十九年法律第八十九号

  • Title

    Official title of the law.

    Example 民法

  • Type

    Kind of law: Act, CabinetOrder, MinisterialOrdinance, Constitution and so on.

    Example Act

  • Current status

    Status of the latest revision, such as CurrentEnforced or UnEnforced.

    Example CurrentEnforced

Dates

  • Promulgated

    Day the law was promulgated.

    Example Apr 27, 1896

  • Amended on

    Enforcement date of the latest amendment.

    Example Jun 24, 2026

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • Law ID law_ide-Gov's id of the law.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
law_idtextLaw ID (hidden)3 of 3
law_numbertextLaw number3 of 3
titletextTitle3 of 3
typetextType3 of 3
promulgateddatePromulgated3 of 3
amended_ondateAmended on3 of 3
current_statustextCurrent status3 of 3
urllinkLink3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTitleLaw numberTypeCurrent statusPromulgatedAmended onLink
1民法明治二十九年法律第八十九号ActCurrentEnforcedApr 27, 1896Jun 24, 2026laws.e-gov.go.jp/law/129AC0000000089
2民法施行法明治三十一年法律第十一号ActCurrentEnforcedJun 21, 1898Oct 1, 2025laws.e-gov.go.jp/law/131AC0000000011
3動産及び債権の譲渡の対抗要件に関する民法の特例等に関する法律平成十年法律第百四号ActCurrentEnforcedJun 12, 1998Jun 6, 2025laws.e-gov.go.jp/law/410AC0000000104

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Titles, law numbers and categories are in Japanese; search with Japanese title words. An empty title lists every law.
  • Returns law metadata only, not the text of the articles.
  • amended_on is the date of the latest amendment's enforcement; it is empty for laws never amended since promulgation.
  • Updated by the Digital Agency as laws change; the source asks for modest traffic, so this API waits half a second between requests.
  • Source: e-Gov Law Search (Digital Agency, Japan), published under the Government of Japan open licence; credit e-Gov when you republish.

Version history

A run uses the live version unless the request names another one with version.