bldinit Law Rest API

The law-rest API from bldinit — 10 operation(s) for law-rest.

GitHub OpenAPI

Operations 10

GET /api/v1/law/laws 법령 검색 #
GET /api/v1/law/laws/{mst} 법령 본문 (조문) #
GET /api/v1/law/effective-laws 시행일 법령 검색 #
GET /api/v1/law/effective-laws/{mst} 시행일 법령 본문 #
GET /api/v1/law/ordinances 자치법규 검색 #
GET /api/v1/law/ordinances/{mst} 자치법규 본문 #
GET /api/v1/law/treaties 조약 검색 #
GET /api/v1/law/treaties/{trty_id} 조약 본문 #
GET /api/v1/law/admin-rules 행정규칙 검색 #
GET /api/v1/law/admin-rules/{mst} 행정규칙 본문 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mcpweave-com:mcpweave-com-law-rest-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mcpweave-com-law-rest-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: mcpweave Law Rest API
  description: Asia-native MCP Gateway — Native pass-through, FastMCP, Paddle+Toss billing
  version: '2026-04-27'
tags:
- name: law-rest
paths:
  /api/v1/law/laws:
    get:
      tags:
      - law-rest
      summary: 법령 검색
      operationId: law_rest_search_laws
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
          description: 검색어 (법령명 또는 본문)
          title: Query
        description: 검색어 (법령명 또는 본문)
      - name: display
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          default: 20
          title: Display
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Page
      - name: search
        in: query
        required: false
        schema:
          type: integer
          description: 1=법령명 / 2=본문
          default: 1
          title: Search
        description: 1=법령명 / 2=본문
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: mcpweave_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcpweave Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/law/laws/{mst}:
    get:
      tags:
      - law-rest
      summary: 법령 본문 (조문)
      operationId: law_rest_get_law
      parameters:
      - name: mst
        in: path
        required: true
        schema:
          type: string
          title: Mst
      - name: jo
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 조번호 6자리 (생략 시 전체 조문)
          title: Jo
        description: 조번호 6자리 (생략 시 전체 조문)
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: mcpweave_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcpweave Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/law/effective-laws:
    get:
      tags:
      - law-rest
      summary: 시행일 법령 검색
      operationId: law_rest_search_effective_laws
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
          title: Query
      - name: display
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          default: 20
          title: Display
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Page
      - name: search
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Search
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: mcpweave_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcpweave Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/law/effective-laws/{mst}:
    get:
      tags:
      - law-rest
      summary: 시행일 법령 본문
      operationId: law_rest_get_effective_law
      parameters:
      - name: mst
        in: path
        required: true
        schema:
          type: string
          title: Mst
      - name: ef_yd
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ef Yd
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: mcpweave_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcpweave Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/law/ordinances:
    get:
      tags:
      - law-rest
      summary: 자치법규 검색
      operationId: law_rest_search_ordinances
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
          title: Query
      - name: display
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          default: 20
          title: Display
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Page
      - name: search
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Search
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: mcpweave_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcpweave Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/law/ordinances/{mst}:
    get:
      tags:
      - law-rest
      summary: 자치법규 본문
      operationId: law_rest_get_ordinance
      parameters:
      - name: mst
        in: path
        required: true
        schema:
          type: string
          title: Mst
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: mcpweave_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcpweave Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/law/treaties:
    get:
      tags:
      - law-rest
      summary: 조약 검색
      operationId: law_rest_search_treaties
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
          title: Query
      - name: display
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          default: 20
          title: Display
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Page
      - name: search
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Search
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: mcpweave_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcpweave Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/law/treaties/{trty_id}:
    get:
      tags:
      - law-rest
      summary: 조약 본문
      operationId: law_rest_get_treaty
      parameters:
      - name: trty_id
        in: path
        required: true
        schema:
          type: string
          title: Trty Id
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: mcpweave_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcpweave Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/law/admin-rules:
    get:
      tags:
      - law-rest
      summary: 행정규칙 검색
      operationId: law_rest_search_admrul
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
          title: Query
      - name: display
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          default: 20
          title: Display
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Page
      - name: search
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Search
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: mcpweave_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcpweave Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/law/admin-rules/{mst}:
    get:
      tags:
      - law-rest
      summary: 행정규칙 본문
      operationId: law_rest_get_admrul
      parameters:
      - name: mst
        in: path
        required: true
        schema:
          type: string
          title: Mst
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: mcpweave_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Mcpweave Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError