Service
e-Gov 법령 API v2를 사용해 일본 법령을 검색하고, 안정적인 선택자로 개정 기록과 크기가 제한된 법령 본문 조각을 조회하며, 문장 단위 키워드 일치 항목을 검색하고, 현재 개정판의 첨부파일 URL을 찾습니다.
94.80%30일 가동률평균 응답840ms
행을 선택하면 해당 API의 레퍼런스로 이동합니다.
| Method | API | Path | Summary |
|---|---|---|---|
| POST | /v1/japan-egov-law/get-law-attachments | Lists 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-revisions | Lists 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-text | Gets 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-text | Searches 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. |
sandbox key를 발급받고 첫 예약 생성까지 진행합니다.
파트너 credential은 APIFuse이 보관합니다. 발급받는 것은 하나의 managed key입니다.
예약 확정, 배달 상태 변경 같은 이벤트를 webhook으로 수신합니다.
서비스 장애와 게이트웨이 에러를 하나의 에러 모델로 정규화합니다.
| POST | /v1/japan-egov-law/search-laws | Searches 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. |