Getting started with data.go.kr, Korea's public data portal

Facts last checked against official sources on . Drafted with AI assistance; see how pages are made.

Key facts

  • data.go.kr is Korea's national public data portal, run under the Ministry of the Interior and Safety. Most government open APIs are applied for there.
  • Every dataset page has an English version at /en/data/<id>/openapi.do with request parameters, samples, and descriptions in English.
  • You apply for each API separately (활용신청). Many are approved automatically; some need a review for production use.
  • Quotas are per API and per stage, for example 1,000, 10,000, or 1,000,000 calls a day on a development key. Production traffic can be raised after you register a use case.
  • Gateway errors come back in an OpenAPI_ServiceResponse envelope with a code: 20 missing key or no permission, 22 daily quota exceeded, 23 per-second limit, 30 unregistered key, 31 expired key.

Most Korean government open APIs, from procurement to real estate to tax status, are distributed through one portal: data.go.kr (공공데이터포털). The portal is mostly in Korean, but more of it is usable in English than people expect. This guide explains the parts that matter for developers.

Find the English page for any dataset

Every Open API dataset has a numeric ID in its URL, for example https://www.data.go.kr/data/15129394/openapi.do. Insert /en after the domain to get the English version:

https://www.data.go.kr/en/data/15129394/openapi.do

The English page shows the service URL, a table of request parameters with sample values and English descriptions, the quota, and the approval type. Response field descriptions and the error code table may remain in Korean.

Read the licence and limits before you apply

Each dataset page has a block called 이용 조건 및 라이선스 정보 (terms and licence) with these items:

Korean label English What to look for
비용부과유무 Charge Almost always 무료 (free)
업데이트 주기 Update cycle 실시간 (real time) or a period
이용허락범위 Usage scope 제한 없음 (no restriction) or a KOGL type; see Korean public data licences (KOGL) explained
심의유형 Approval type 자동승인 (automatic) or 심의승인 (reviewed), separately for development and production
신청 가능 트래픽 Available traffic Daily calls on a development account; production traffic can be raised on request after registering a use case (활용사례)

The quota differs widely between APIs. For example, on the day we checked: the PPS bid notice API allows 1,000 calls a day on a development key, the MOLIT apartment sales API 10,000, and the NTS business status API 1,000,000.

Apply for an API

  1. Create an account on data.go.kr. The sign-up flow is in Korean (see the "Not verified" note below about identity verification).
  2. Open the dataset page and choose 활용신청 (Apply for use).
  3. Describe your purpose. Business members are asked to choose between a project service key and a personal service key.
  4. If the approval type is automatic, the application is approved immediately; otherwise wait for review.
  5. Your key and the list of approved APIs are in My Page. Keys have a usage period; an expired key returns error 31.

You apply per API. A key that works for one dataset returns a permission error on another until that application is approved too.

Two kinds of endpoints

Most APIs sit behind the portal's gateway at apis.data.go.kr and take the key as a serviceKey query parameter with GET requests. Some newer services run on api.odcloud.kr; the NTS business status API, for example, is POST with a JSON body and the key in the query string. Always copy the method and URL from the dataset page.

The error envelope

When the gateway rejects a call, the body is not the normal response. We verified this shape ourselves by calling an endpoint without a key (HTTP 401):

{
  "OpenAPI_ServiceResponse": {
    "cmmMsgHeader": {
      "errMsg": "SERVICE_KEY_IS_NULL",
      "returnAuthMsg": "서비스 접근거부",
      "returnReasonCode": "20"
    }
  }
}

XML endpoints return the same structure as XML. Check for OpenAPI_ServiceResponse before parsing a response as data.

Gateway error codes

From the error code table published on the dataset pages (our English summary):

Code Message Meaning and fix
01 APPLICATION_ERROR Unexpected gateway error. Retry later; contact the help centre if it repeats.
04 HTTP_ERROR Disallowed HTTP request or failed upstream response. Check the method and URL.
05 SERVICETIMEOUT_ERROR Upstream connection failed or timed out. Retry later.
10 INVALID_REQUEST_PARAMETER_ERROR Bad parameter value or format. Check names, formats, and allowed values.
12 NO_OPENAPI_SERVICE_ERROR The service does not exist or was retired. Check the URL for typos.
20 SERVICE_KEY_IS_NULL No key in the request.
20 PERMISSION_DENIED Gateway permission check failed. Check your application for this API.
20 SERVICE_ACCESS_DENIED_ERROR No permission for this API. Check the application, its approval, or suspension.
22 LIMITED_NUMBER_OF_SERVICE_REQUESTS_EXCEEDS_ERROR Daily quota exceeded. Wait for the reset or request more traffic.
23 LIMITED_NUMBER_OF_SERVICE_REQUESTS_PER_SECOND_EXCEEDS_ERROR Too many requests per second. Slow down.
29 BLACKLIST_IP_ACCESS_ERROR Your IP is blocked. Contact the help centre.
30 SERVICE_KEY_IS_NOT_REGISTERED_ERROR Unregistered key. Check the key value and that the application finished.
31 DEADLINE_HAS_EXPIRED_ERROR Key usage period expired. Renew it on the portal.

Provider-specific errors (inside a normal response header, with their own result codes) are documented in each API's reference document.

Habits that save quota

  • Cache by request. Most datasets are immutable for past periods. Store responses keyed by their parameters and only re-fetch recent periods.
  • Back off on 22 and 23. A per-second limit (23) means wait and retry; a daily limit (22) means stop until the reset.
  • Read notices on the dataset page. Providers announce changes there. For example, PPS shortened the maximum query window of its procurement APIs from one month to 7 days on 10 November 2026.
  • Register a use case (활용사례) when you go to production; that is how you ask for more traffic.

Free development kit

The Korean Public Data Kit includes command-line scripts to check a data.go.kr licence label, generate a Python or Node.js client, and flag keys in local project files. The kit is MIT-licensed and includes offline examples you can run without an API key.

Getting help

The portal footer lists a help desk number, 1566-0025 (a Korean domestic number; weekdays 09:00 to 18:00, charged call), and a developer contact email address.

Guides for specific datasets

Sources

Official pages this guide was checked against (accessed 2026-11-27). If a source and this page disagree, trust the source.

  1. data.go.kr English portal
  2. data.go.kr portal policy and terms (이용약관, 이용허락범위)
  3. Example dataset page with the error code table: MOLIT apartment sales API
  4. Example English dataset page: PPS bid notice API

Not verified

We could not confirm these points from an official page. Treat them as leads, not facts.

  • Whether sign-up requires Korean identity verification (mobile phone or i-PIN) for individuals, which can block non-residents. A third-party guide says it does; we did not test sign-up.
  • Whether the portal still shows separate 'Encoding' and 'Decoding' versions of the key. If it does, pass the decoded key through an HTTP library that URL-encodes parameters; sending an already-encoded key that gets encoded again is a commonly reported cause of SERVICE_KEY_IS_NOT_REGISTERED_ERROR.
  • How long a newly approved key takes to start working.