bldinit Kosis Rest API

The kosis-rest API from bldinit — 6 operation(s) for kosis-rest.

GitHub OpenAPI

Operations 6

GET /api/v1/kosis/statisticsSearch.do 통계표 키워드 검색 (L1) #
GET /api/v1/kosis/statisticsList.do 통계표 카탈로그 트리 (L1) #
GET /api/v1/kosis/statisticsData.do@meta 통계표 메타데이터 — 항목/시점/분류 코드 (L2) #
GET /api/v1/kosis/Param/statisticsParameterData.do@list 통계 데이터 generic 조회 (L3 escape hatch) #
GET /api/v1/kosis/Param/statisticsParameterData.do@population 시군구별 주민등록 인구 (국가데이터처 DT_1B04006, 1세별 다축) #
GET /api/v1/kosis/Param/statisticsParameterData.do@household 시군구별 가구 (DT_1JC1517) #

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-kosis-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-kosis-rest-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: mcpweave Kosis Rest API
  description: Asia-native MCP Gateway — Native pass-through, FastMCP, Paddle+Toss billing
  version: '2026-04-27'
tags:
- name: kosis-rest
paths:
  /api/v1/kosis/statisticsSearch.do:
    get:
      tags:
      - kosis-rest
      summary: 통계표 키워드 검색 (L1)
      description: 'keyword 로 KOSIS 통계표 list 검색. 결과의 tblId / orgId 를 L2 / L3

        호출에 사용.


        ⚠️ Pagination 파라미터: KOSIS 는 ``startCount`` / ``resultCount``

        사용 (data.go.kr 의 ``pageNo`` / ``numOfRows`` 아님). KOSIS-AUDIT-1 fix.'
      operationId: kosis_search_statistics
      parameters:
      - name: connection_id
        in: query
        required: true
        schema:
          type: string
          description: mcpweave connection_id
          title: Connection Id
        description: mcpweave connection_id
      - name: searchNm
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Searchnm
      - name: startCount
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Startcount
      - name: resultCount
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Resultcount
      - name: sort
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Sort
      - 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: {}
        default:
          description: Native cafe24 response (200) or gateway error envelope (4xx/5xx)
  /api/v1/kosis/statisticsList.do:
    get:
      tags:
      - kosis-rest
      summary: 통계표 카탈로그 트리 (L1)
      description: '주제별 (vwCd=MT_ZTITLE) 또는 기관별 (vwCd=MT_OTITLE) view 의

        카탈로그 트리 탐색. parentListId 로 sub-tree 진입.'
      operationId: kosis_list_statistical_tables
      parameters:
      - name: connection_id
        in: query
        required: true
        schema:
          type: string
          description: mcpweave connection_id
          title: Connection Id
        description: mcpweave connection_id
      - name: vwCd
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vwcd
      - name: parentListId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Parentlistid
      - 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: {}
        default:
          description: Native cafe24 response (200) or gateway error envelope (4xx/5xx)
  /api/v1/kosis/statisticsData.do@meta:
    get:
      tags:
      - kosis-rest
      summary: 통계표 메타데이터 — 항목/시점/분류 코드 (L2)
      description: 'L3 데이터 호출 전 필수 — tblId 의 itmId / objL1 / prdSe 등

        실제 코드를 lookup. type=ITM (항목) / PRD (시점) / ORG (기관).'
      operationId: kosis_get_table_metadata
      parameters:
      - name: connection_id
        in: query
        required: true
        schema:
          type: string
          description: mcpweave connection_id
          title: Connection Id
        description: mcpweave connection_id
      - name: orgId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Orgid
      - name: tblId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Tblid
      - name: type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Type
      - 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: {}
        default:
          description: Native cafe24 response (200) or gateway error envelope (4xx/5xx)
  /api/v1/kosis/Param/statisticsParameterData.do@list:
    get:
      tags:
      - kosis-rest
      summary: 통계 데이터 generic 조회 (L3 escape hatch)
      description: '임의 통계표 (orgId + tblId + itmId + objL1 + prdSe) 의 raw data.

        wrapper 가 cover 안 하는 통계표 호출 시 사용. period 형식 검증.


        ⚠️ KOSIS 정책: 분당 호출 한도. mcpweave rate-limit (1 rps) 적용.'
      operationId: kosis_get_indicator_data
      parameters:
      - name: connection_id
        in: query
        required: true
        schema:
          type: string
          description: mcpweave connection_id
          title: Connection Id
        description: mcpweave connection_id
      - name: orgId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Orgid
      - name: tblId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Tblid
      - name: itmId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Itmid
      - name: objL1
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Objl1
      - name: prdSe
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Prdse
      - name: startPrdDe
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Startprdde
      - name: endPrdDe
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Endprdde
      - name: objL2
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Objl2
      - name: objL3
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Objl3
      - name: objL4
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Objl4
      - name: objL5
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Objl5
      - name: objL6
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Objl6
      - name: objL7
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Objl7
      - name: objL8
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Objl8
      - 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: {}
        default:
          description: Native cafe24 response (200) or gateway error envelope (4xx/5xx)
  /api/v1/kosis/Param/statisticsParameterData.do@population:
    get:
      tags:
      - kosis-rest
      summary: 시군구별 주민등록 인구 (국가데이터처 DT_1B04006, 1세별 다축)
      description: '시군구 LAWD_CD 5자리 list 의 연도별 총인구수.

        ⭐ Cross-provider killer: MOLIT 실거래가 / KMA 단기예보 와 chain.'
      operationId: kosis_get_population_by_region
      parameters:
      - name: connection_id
        in: query
        required: true
        schema:
          type: string
          description: mcpweave connection_id
          title: Connection Id
        description: mcpweave connection_id
      - name: regionCodes
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Regioncodes
      - name: startYear
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Startyear
      - name: endYear
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Endyear
      - 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: {}
        default:
          description: Native cafe24 response (200) or gateway error envelope (4xx/5xx)
  /api/v1/kosis/Param/statisticsParameterData.do@household:
    get:
      tags:
      - kosis-rest
      summary: 시군구별 가구 (DT_1JC1517)
      description: 시군구별 가구주 연령·성별 가구. wrapper — itmId / prdSe Y 고정.
      operationId: kosis_get_household_by_region
      parameters:
      - name: connection_id
        in: query
        required: true
        schema:
          type: string
          description: mcpweave connection_id
          title: Connection Id
        description: mcpweave connection_id
      - name: regionCodes
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Regioncodes
      - name: startYear
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Startyear
      - name: endYear
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Endyear
      - 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: {}
        default:
          description: Native cafe24 response (200) or gateway error envelope (4xx/5xx)