{
  "openapi": "3.0.1",
  "info": {
    "title": "Korean Mandatory Product Certifications (법정의무인증제도)",
    "description": "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.",
    "version": "0.7",
    "x-build-id": "DVCY9DJflXtrnBcwv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/onilab~kr-product-certifications/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-onilab-kr-product-certifications",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/onilab~kr-product-certifications/runs": {
      "post": {
        "operationId": "runs-sync-onilab-kr-product-certifications",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/onilab~kr-product-certifications/run-sync": {
      "post": {
        "operationId": "run-sync-onilab-kr-product-certifications",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "productKeywords": {
            "title": "제품·품목 키워드 / Product keyword(s)",
            "type": "array",
            "description": "한국에서 판매하려는 제품을 넣으세요. 인증제도명·관련법률·대상 품목 목록에서 찾습니다. 예: 완구, 전기장판, 화장품 용기, 유아용 섬유제품, 가스레인지. 비워 두면 카탈로그 전체(102개 인증제도)를 수집합니다.\nProduct 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).",
            "items": {
              "type": "string"
            }
          },
          "fields": {
            "title": "분야 필터 / Fields (선택)",
            "type": "array",
            "description": "인증 분야로 좁힙니다. 값: 안전, 품질, 환경, 보건, 에너지, 신기술, 서비스/디자인, 소프트웨어/인터넷, 시스템, 기타. 여러 개를 넣으면 그중 하나에 속한 인증만 남습니다. 비우면 전체.\nRestrict to certification fields, e.g. 안전 or 품질. Empty = all fields.",
            "items": {
              "type": "string"
            }
          },
          "authorities": {
            "title": "소관부처 필터 / Authorities (선택)",
            "type": "array",
            "description": "예: 식품의약품안전처, 산업통상부, 기후에너지환경부, 국토교통부. 비우면 전체.\nRestrict to the government body that runs the scheme, e.g. 식품의약품안전처. Empty = all authorities.",
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "상세 정보 수집 / Fetch details",
            "type": "boolean",
            "description": "각 인증제도의 상세 페이지를 열어 제도개요·법적근거 원문·대상 품목 전체 목록·공식 안내 링크를 함께 수집합니다. 끄면 목록 정보만 받아 빠르고 저렴합니다.\nOpen 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).",
            "default": true
          },
          "maxResults": {
            "title": "최대 결과 수 / Max results",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "수집할 최대 인증제도 수. 전체 카탈로그는 102개입니다.\nMaximum number of schemes to output (the whole catalogue is 102).",
            "default": 50
          },
          "maxCatalogPages": {
            "title": "카탈로그 페이지 상한 / Max catalogue pages",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "카탈로그를 훑을 최대 페이지 수(페이지당 50개). 기본 10이면 전체를 덮습니다.\nMaximum catalogue pages to walk (50 schemes per page). The default covers the whole catalogue.",
            "default": 10
          },
          "maxSearchPages": {
            "title": "키워드 검색 페이지 상한 / Max search pages",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "키워드마다 정부 사이트의 품목 검색을 몇 페이지까지 훑을지 정합니다(페이지당 50개). keyword 하나가 50개를 넘는 인증제도와 맞는 경우가 드물어 기본 3이면 충분합니다.\nPages of the site's own product search to walk per keyword (50 per page).",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "프록시 설정 / Proxy configuration",
            "type": "object",
            "description": "기본값(Apify Proxy 사용 안 함)으로도 동작합니다. 정부 사이트가 데이터센터 IP를 막기 시작하면 켜세요.\nWorks without a proxy. Enable Apify Proxy if the government site starts blocking datacenter IPs.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}