Twinkle HubTwinkle Hub

韓國法令搜尋 (법령)

kr_search_law

🇰🇷 대한민국읽기 전용

Scope: Korean statutes and precedents from law.go.kr.

Search Korean statutes (법령 · currently in force).

Covers: 법률 (statutes passed by 국회), 대통령령 (presidential decrees), 시행령 / 시행규칙 (enforcement decrees / rules), 부령 (ministerial rules).

Args: query: 법령명 검색어 (e.g. "민법", "형법", "개인정보", "노동조합"). date_from / date_to: 공포일자 (promulgation date) range · yyyyMMdd. display: rows per page (default 20 · max 100). page: 1-indexed.

Returns {total, page, display, count, rows} with 법령ID (pass to kr_get_law), 법령명한글, 법종구분명, 소관부처명, 공포일자, 시행일자. Sort results by 공포일자 desc yourself to see latest revisions first.

파라미터

이름타입설명
querystring
date_fromstring
date_tostring
displayinteger
pageinteger
원본 JSON schema
{
  "properties": {
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Query"
    },
    "date_from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Date From"
    },
    "date_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Date To"
    },
    "display": {
      "default": 20,
      "title": "Display",
      "type": "integer"
    },
    "page": {
      "default": 1,
      "title": "Page",
      "type": "integer"
    }
  },
  "title": "kr_search_lawArguments",
  "type": "object"
}

호출 방법

스타터 — 파라미터는 위 표 참조
kr_search_law({ query: "…" })