# Korean Mandatory Product Certifications (법정의무인증제도) (`onilab/kr-product-certifications`) Actor

Check which Korean certifications (KC, 어린이제품, 전기용품, 가스용품 …) a product legally needs before it can be sold in Korea. Searches all 102 statutory certification schemes (법정의무인증제도) and returns the full covered-product list with the ministry, legal basis and official overview. No API key.

- **URL**: https://apify.com/onilab/kr-product-certifications.md
- **Developed by:** [Onilab](https://apify.com/onilab) (community)
- **Categories:** Business, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 certifications

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Korean Mandatory Product Certifications (법정의무인증제도)

**Which Korean certificates does my product need before I can sell it?** This Actor answers that with the Korean government's own catalogue of **102 statutory certification schemes** — KC safety certification, 어린이제품 안전인증, 전기용품 안전인증, 방송통신기자재 적합성평가, 의약외품, 건축자재, 가스용품검사 and the rest — together with the ministry behind each scheme, its legal basis, a plain-language overview and the **full list of covered products**.

제품 이름 하나만 넣으면, 한국에서 그 제품을 팔기 위해 받아야 하는 **법정의무 인증제도**를 정부 카탈로그(기업마당)에서 찾아 소관부처·법적근거·제도개요·대상 품목 전체 목록까지 한 번에 돌려줍니다. **API 키가 필요 없습니다.**

| 항목 / Item | 값 / Value |
|---|---|
| 입력 / Input | 제품·품목 키워드 하나 (예: `완구`) / one product keyword |
| 키 / Keys | **필요 없음 / none** |
| 1회 실행 / Runtime | 약 5~15초 (키워드 1~2개, 상세 수집 켜짐) / ~5–15 s |
| 결과 / Output | 인증제도별 레코드 1건 + 대상 품목 전체 목록 / one record per scheme |

***

### ⚡ 30초 빠른 시작 / 30-second quick start

| Step | 한국어 | English |
|---|---|---|
| 1 | **Start**를 누르세요. `완구`가 이미 채워져 있습니다. | Press **Start**. `완구` is pre-filled. |
| 2 | **Dataset** 탭에서 결과를 봅니다. `어린이제품 안전인증` 1건과 대상 품목 35개가 나옵니다. | Open the **Dataset** tab: one scheme (`어린이제품 안전인증`) with its 35 covered products. |
| 3 | 키워드를 내 제품으로 바꿉니다. 여러 개를 넣으면 각각 찾아 합칩니다. | Replace the keyword with your own product. Several keywords are searched and merged. |

#### 복붙용 입력 / Copy-paste input (JSON)

```json
{
  "productKeywords": ["완구"]
}
```

지역·분야까지 좁히려면 / To narrow by field or ministry:

```json
{
  "productKeywords": ["전기장판", "가스레인지"],
  "fields": ["안전"],
  "authorities": ["산업통상부"],
  "maxResults": 20,
  "includeDetails": true
}
```

카탈로그 전체(102개)를 받으려면 키워드를 비웁니다 / Leave the keyword empty for the whole catalogue:

```json
{
  "productKeywords": [],
  "maxResults": 200,
  "includeDetails": true
}
```

***

### 📊 실제 출력 / Sample output

2026-11-24 실제 실행 결과(주요 필드 발췌) — `productKeywords: ["완구"]`:

```json
{
  "certificationId": "55",
  "name": "어린이제품 안전인증",
  "field": "안전",
  "fields": ["안전"],
  "authority": "산업통상부",
  "legalBasis": "어린이제품 안전 특별법",
  "overview": "☐ 개요\n안전인증대상어린이제품의 제조업자 또는 수입업자가 출고 전 또는 통관 전에 모델별로 안전인증기관으로부터 안전인증(제품검사와 공장심사를 하여 어린이제품에 대한 안전성을 증명하는 것)을 받아야 하는 제도",
  "targetProductCount": 35,
  "targetProducts": ["어린이용 물놀이기구", "어린이 놀이기구", "유아용 섬유제품", "합성수지제 어린이제품", "완구", "학용품"],
  "matchedKeywords": ["완구"],
  "matchedProducts": ["완구"],
  "views": 532,
  "url": "https://www.bizinfo.go.kr/biz/biza/selectBIZA100Detail.do?crtfcSn=55",
  "officialInfoUrl": "https://www.standard.go.kr/KSCI/crtfcSystem/searchCrtfcSystemView.do?crtfcstId=0000000454&…",
  "detailFetched": true,
  "scrapedAt": "2026-11-24T07:44:12+09:00"
}
```

`productKeywords: ["전기장판"]` → `방송통신기자재적합성평가제도` (대상 품목 465개, `matchedProducts: ["전기장판"]`).
`productKeywords: ["가스레인지"]` → `가스용품검사` (대상 품목 62개, 법적근거 `액화석유가스의 안전관리 및 사업법`).

#### 필드 설명 / Field reference

| Field | 의미 / Meaning |
|---|---|
| `certificationId` | 기업마당 인증제도 ID (`crtfcSn`) / BizInfo scheme id |
| `name` | 인증제도명 / scheme name |
| `field`, `fields` | 분야 (복수 가능: `안전,품질`) / certification field(s) |
| `authority` | 소관부처·지자체 / ministry in charge |
| `legalBasis` | 관련 법률 조항 / statutory basis |
| `overview` | 제도개요 원문 (줄바꿈 유지) / official overview text |
| `targetProductCount` | 대상 품목 수 (상세 수집 시 중복 제거한 실제 개수) / covered products |
| `sourceProductCount` | 기업마당 목록 페이지가 표시한 품목 수 / count as printed by the catalogue page |
| `targetProducts` | **대상 품목 전체 목록** (상세 수집 시) / full product list |
| `targetProductPreview` | 목록 페이지의 잘린 미리보기 / truncated preview from the list page |
| `matchedKeywords`, `matchedProducts` | 내 키워드와 맞은 지점 / where your keyword hit |
| `url`, `officialInfoUrl` | 기업마당 상세 페이지, 국가표준 인증제도 안내 / source pages |
| `detailFetched` | 상세 페이지 수집 여부 / whether the detail page was read |

### What it does / 무엇을 하나

- **카탈로그 전체 순회** — 102개 인증제도를 50개씩 3페이지로 읽어 인증명·분야·소관부처·관련법률을 확보합니다. / Walks the whole catalogue (102 schemes).
- **정부 사이트 자체 품목검색 병행** — 목록 페이지의 대상 품목은 잘려서 보이므로(예: 가스용품검사 67개 중 앞부분만), 키워드마다 사이트의 품목 검색을 함께 호출해 **잘린 목록 뒤에 있는 인증제도도 놓치지 않습니다.** / Merges the site's own product search so schemes whose match sits past the truncated preview are still found.
- **상세 페이지 수집** — 제도개요, 법적근거 원문, 대상 품목 **전체** 목록, 국가표준종합정보센터의 공식 안내 링크를 가져옵니다. / Detail pages add the overview, full legal text, the complete product list and the official reference link.
- **필터·중복 제거** — 분야/소관부처로 좁히고, 키워드가 여러 개면 결과를 합칩니다. 인증제도 ID 기준으로 중복은 1건입니다. 두 단어 이상 키워드(`어린이 완구`)는 **모든 단어가 걸리는 인증제도만** 남깁니다. / Field and ministry filters, keyword merging, de-duplication by scheme id; a multi-word keyword requires every word to hit.
- **실행 요약** — `LAST_RUN_SUMMARY` 키값 저장소에 카탈로그 크기·산출 건수·분야별 분포·오류를 남깁니다. / Writes a run summary to the key-value store.

### Use cases

- **해외 셀러의 한국 진출 사전 점검** — 아마존·쇼피·이베이에서 한국으로 보내려는 제품이 KC·어린이제품·전기용품·통신기기 인증 대상인지, 어떤 법과 부처 소관인지 한 번에 확인합니다. / Check import/sales certification duties before listing a product in Korea.
- **수입·통관 실무** — 통관 전에 필요한 인증을 빠뜨려 반송되는 일을 줄입니다. 대상 품목 목록을 그대로 근거 자료로 붙일 수 있습니다. / Avoid customs holds caused by a missing certificate.
- **상품 기획·PB 개발** — 새 제품군이 어떤 인증 비용·일정을 부르는지 미리 파악합니다. / Estimate certification burden for a new product line.
- **규제 리서치 · AI 에이전트** — 102개 제도의 대상 품목 전체 목록을 RAG 코퍼스로 쓰면 "이 제품 한국 인증 필요해?" 질문에 근거와 함께 답할 수 있습니다. / Use the full product lists as a retrieval corpus for compliance Q\&A.
- **컴플라이언스 대시보드** — 분야·부처별로 카탈로그를 정기 수집해 사내 규제 목록을 최신으로 유지합니다. / Keep an internal regulatory register fresh.

### Pricing guide / 💰 과금 안내 (Pay-per-event)

| 이벤트 / Event | 단가 / Price | 과금 시점 / Charged |
|---|---|---|
| `apify-actor-start` | $0.001 | 실행당 1회 / once per run |
| `certification` | **$0.002 / 인증제도** | 데이터셋 1건당 / per scheme record |

| 규모 / Volume | 비용 / Cost |
|---|---|
| 키워드 1개(1~3건) / one keyword | 약 $0.003–0.007 |
| 카탈로그 전체 102건 / whole catalogue | 약 $0.20 |

결과 0건인 실행에는 레코드 과금이 없습니다. / Runs that return no record are not charged per record.

### Limitations

- **정부 카탈로그 그대로입니다.** 인증 필요 여부의 최종 판단은 소관부처·인증기관 몫이며, 이 액터는 공표된 제도를 정리해 전달합니다. / The data mirrors the government catalogue; the authority decides applicability.
- **카탈로그는 102개 제도입니다.** 품목이 아주 새로운 경우 카탈로그에 아직 없을 수 있습니다. `matchedProducts`가 비어 있으면 인증기관에 직접 확인하세요. / 102 schemes only; brand-new products may be missing.
- **인증(認證)만 담고 허가·등록·신고는 담지 않습니다.** 화장품·의약품·식품처럼 「인증」이 아니라 허가·품목신고·영업등록 대상인 품목은 이 카탈로그에 없습니다(`화장품`으로 검색하면 결과 0건). 그 경우는 식약처 허가·신고 절차를 따로 확인해야 합니다. / The catalogue lists certification schemes only — permits, product notifications and business registrations (cosmetics, drugs, food) live elsewhere, so those keywords return nothing.
- **한국어 원문**입니다. 필드명만 영문이고 값(제도명·법령·품목)은 한국어 그대로입니다. / Values are Korean; field names are English.
- **품목 목록 표기 차이** — 기업마당 목록 페이지의 품목 수와 상세 페이지의 실제 목록 길이가 다른 경우가 있습니다(예: 방송통신기자재 **561 vs 465**). 같은 품목이 띄어쓰기만 다르게 중복 표기돼 중복 제거 후 줄어드는 경우가 많아, 상세 수집 시 `targetProductCount`는 실제 목록 길이로, 원본 표기는 `sourceProductCount`로 남깁니다. / The catalogue's printed count and the detailed list length can differ (duplicate spellings are de-duplicated): `targetProductCount` follows the list, `sourceProductCount` keeps the printed number.
- **사이트 구조 변경** — 기업마당 HTML이 바뀌면 파서 수정이 필요합니다. 결과가 갑자기 0건이면 실행 로그의 경고를 확인하세요. / Markup changes need parser updates.
- 공개 페이지만 읽습니다. 로그인·신청 대행은 하지 않습니다. / Public pages only.

### Local development / 로컬 개발

```bash
cd 06-kr-product-certifications
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python3 -m unittest discover -s tests -t .   # 58 unit tests, no network
apify run
```

- `src/krcert.py` — 순수 파서(네트워크 없음): 카탈로그 목록·상세 페이지 파싱, 키워드 정규화·매칭, 필터.
- `src/main.py` — 카탈로그·품목검색·상세 수집 오케스트레이션과 과금.
- `tests/fixtures/` — 실제 페이지에서 잘라낸 픽스처(목록 3행, 가스용품검사 상세, 대상 품목 없는 제도).

### 데이터 출처 / Source

기업마당(bizinfo.go.kr) 「품목별 법정의무 인증제도」 — 중소벤처기업부·중소벤처기업연구원 운영. 인증제도 상세정보 링크는 국가표준종합정보센터(standard.go.kr)로 연결됩니다.

### License

코드는 MIT. 인증제도 데이터는 기업마당 및 각 소관부처에 귀속됩니다. 코드와 데이터 모두 "있는 그대로" 제공되며 법적 효력이 있는 인증 판단을 대신하지 않습니다. / MIT for the code; the catalogue data belongs to BizInfo and the respective ministries. Provided as-is, not legal advice.

# Actor input Schema

## `productKeywords` (type: `array`):

한국에서 판매하려는 제품을 넣으세요. 인증제도명·관련법률·대상 품목 목록에서 찾습니다. 예: 완구, 전기장판, 화장품 용기, 유아용 섬유제품, 가스레인지. 비워 두면 카탈로그 전체(102개 인증제도)를 수집합니다.
Product or category you want to sell in Korea. Matches the scheme name, its legal basis and its covered-product list, e.g. 완구, 전기장판, 유아용 섬유제품. Leave empty to collect the whole catalogue (102 schemes).

## `fields` (type: `array`):

인증 분야로 좁힙니다. 값: 안전, 품질, 환경, 보건, 에너지, 신기술, 서비스/디자인, 소프트웨어/인터넷, 시스템, 기타. 여러 개를 넣으면 그중 하나에 속한 인증만 남습니다. 비우면 전체.
Restrict to certification fields, e.g. 안전 or 품질. Empty = all fields.

## `authorities` (type: `array`):

예: 식품의약품안전처, 산업통상부, 기후에너지환경부, 국토교통부. 비우면 전체.
Restrict to the government body that runs the scheme, e.g. 식품의약품안전처. Empty = all authorities.

## `includeDetails` (type: `boolean`):

각 인증제도의 상세 페이지를 열어 제도개요·법적근거 원문·대상 품목 전체 목록·공식 안내 링크를 함께 수집합니다. 끄면 목록 정보만 받아 빠르고 저렴합니다.
Open each scheme's detail page for the overview, full legal text, the complete covered-product list and the official reference link. Turn off for list-only data (faster, cheaper).

## `maxResults` (type: `integer`):

수집할 최대 인증제도 수. 전체 카탈로그는 102개입니다.
Maximum number of schemes to output (the whole catalogue is 102).

## `maxCatalogPages` (type: `integer`):

카탈로그를 훑을 최대 페이지 수(페이지당 50개). 기본 10이면 전체를 덮습니다.
Maximum catalogue pages to walk (50 schemes per page). The default covers the whole catalogue.

## `maxSearchPages` (type: `integer`):

키워드마다 정부 사이트의 품목 검색을 몇 페이지까지 훑을지 정합니다(페이지당 50개). keyword 하나가 50개를 넘는 인증제도와 맞는 경우가 드물어 기본 3이면 충분합니다.
Pages of the site's own product search to walk per keyword (50 per page).

## `proxyConfiguration` (type: `object`):

기본값(Apify Proxy 사용 안 함)으로도 동작합니다. 정부 사이트가 데이터센터 IP를 막기 시작하면 켜세요.
Works without a proxy. Enable Apify Proxy if the government site starts blocking datacenter IPs.

## Actor input object example

```json
{
  "productKeywords": [
    "완구"
  ],
  "includeDetails": true,
  "maxResults": 50,
  "maxCatalogPages": 10,
  "maxSearchPages": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Default dataset: one item per certification scheme with field, authority, legal basis, overview, covered products and the matched products for your keyword.

## `summary` (type: `string`):

Key-value store: run summary with catalogue size, records produced, count by field and any source errors.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "productKeywords": [
        "완구"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("onilab/kr-product-certifications").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "productKeywords": ["완구"] }

# Run the Actor and wait for it to finish
run = client.actor("onilab/kr-product-certifications").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "productKeywords": [
    "완구"
  ]
}' |
apify call onilab/kr-product-certifications --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,onilab/kr-product-certifications"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/960TsfIHzPEzqj6mJ/builds/DVCY9DJflXtrnBcwv/openapi.json
