eflaw_service
Retrieve Korean law content by effective date or specific article number to access accurate legal text for research or compliance needs.
Instructions
Retrieve full law content by effective date (시행일 기준 법령 본문 조회).
Retrieves the complete text of a law organized by effective date.
IMPORTANT: For specific article queries (e.g., "제174조"), ALWAYS use the
Args: id: Law ID (either id or mst is required) mst: Law serial number (MST/lsi_seq) ef_yd: Effective date (YYYYMMDD) - required when using mst jo: REQUIRED for specific articles. Article number in XXXXXX format. Format: first 4 digits = article number (zero-padded), last 2 digits = branch suffix (00=main). Examples: "017400" (제174조), "017200" (제172조), "000300" (제3조), "001502" (제15조의2) chr_cls_cd: Language code - "010202" (Korean, default) or "010201" (Original) oc: Optional OC override (defaults to env var) type: Response format - "HTML" or "XML" (default "XML", JSON not supported by API)
Returns: Full law content or specific article content
Examples: Retrieve specific article (RECOMMENDED): >>> eflaw_service(mst="279823", jo="017400", type="XML") # 자본시장법 제174조
Retrieve full law (WARNING: large response for some laws):
>>> eflaw_service(id="1747", type="XML")Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| mst | No | ||
| ef_yd | No | ||
| jo | No | ||
| chr_cls_cd | No | ||
| oc | No | ||
| type | No | XML |