{
  "openapi": "3.0.1",
  "info": {
    "title": "Korea Energy Efficiency Labels & Certified Products (KEA)",
    "description": "Korean energy efficiency grade labels (1-5) for 22 appliance and equipment types, standby power reports and high-efficiency equipment certificates from the Korea Energy Agency, in English. Newest first.",
    "version": "0.1",
    "x-build-id": "aRb4TfNkNWoYEMjZ4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cm504~korea-energy-efficiency/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cm504-korea-energy-efficiency",
        "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/cm504~korea-energy-efficiency/runs": {
      "post": {
        "operationId": "runs-sync-cm504-korea-energy-efficiency",
        "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/cm504~korea-energy-efficiency/run-sync": {
      "post": {
        "operationId": "run-sync-cm504-korea-energy-efficiency",
        "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": {
          "mode": {
            "title": "What to do",
            "enum": [
              "efficiency_grades",
              "standby_power",
              "high_efficiency_certified",
              "model_lookup"
            ],
            "type": "string",
            "description": "efficiency_grades = Korean energy efficiency grade labels (1-5) for one product type (refrigerators, air purifiers...). standby_power = e-Standby program for computers, monitors, servers. high_efficiency_certified = KEA high-efficiency equipment certificates (LED lighting, pumps, boilers, transformers...). model_lookup = search one model name across all registries. Results are newest first.",
            "default": "efficiency_grades"
          },
          "productType": {
            "title": "Product type (efficiency grades)",
            "enum": [
              "washing_machine",
              "fluorescent_lamp",
              "self_ballasted_lamp",
              "vacuum_cleaner",
              "drum_washing_machine",
              "electric_fan",
              "air_purifier",
              "adapter",
              "charger",
              "rice_cooker",
              "commercial_refrigerator",
              "kimchi_refrigerator",
              "electric_heater",
              "electric_stove",
              "water_purifier_cooler",
              "television",
              "window_set",
              "dehumidifier",
              "refrigerator",
              "gas_boiler",
              "electric_range",
              "set_top_box",
              "air_conditioner",
              "gas_water_heater",
              "transformer",
              "induction_motor",
              "heat_pump_air_conditioner",
              "multi_heat_pump",
              "instant_water_cooler_heater"
            ],
            "type": "string",
            "description": "For efficiency_grades. Appliance or equipment type key, e.g. refrigerator, kimchi_refrigerator, air_purifier, dehumidifier, electric_range, transformer, induction_motor. Each type has its own measured values in specs (volume, monthly kWh, efficiency index...). Types marked unavailable currently return an error from the source.",
            "default": "refrigerator"
          },
          "standbyProductType": {
            "title": "Product type (standby power)",
            "enum": [
              "monitor",
              "computer",
              "server"
            ],
            "type": "string",
            "description": "For standby_power: monitor, computer (desktop / notebook) or server.",
            "default": "monitor"
          },
          "modelName": {
            "title": "Model name contains",
            "type": "string",
            "description": "Partial match on the model name, e.g. RF85, RS233, LS27D. Latin letters and digits as registered. Required for model_lookup; optional filter for the other modes.",
            "default": ""
          },
          "companyName": {
            "title": "Company name contains (Korean)",
            "type": "string",
            "description": "Partial match on the registered company name, in Korean only (companies are registered in Korean), e.g. 삼성전자 (Samsung Electronics), LG전자 (LG Electronics), 코웨이 (Coway), 위니아 (Winia). Works in all modes except model_lookup.",
            "default": ""
          },
          "applicationNo": {
            "title": "Application / certificate number contains",
            "type": "string",
            "description": "Partial match on the 9-digit label application number (e.g. 252260434) or the high-efficiency certificate number (e.g. 26-1193).",
            "default": ""
          },
          "grade": {
            "title": "Efficiency grade",
            "enum": [
              "any",
              "1",
              "2",
              "3",
              "4",
              "5",
              "meps"
            ],
            "type": "string",
            "description": "efficiency_grades and standby_power: only this grade (1 = best, 5 = worst), or meps for products without a grade that meet the minimum standard. any = no filter.",
            "default": "any"
          },
          "origin": {
            "title": "Domestic or imported",
            "enum": [
              "any",
              "domestic",
              "imported"
            ],
            "type": "string",
            "description": "efficiency_grades and standby_power: domestic = made in Korea, imported = imported models, any = both.",
            "default": "any"
          },
          "sinceYear": {
            "title": "Applied in or after year",
            "minimum": 1990,
            "maximum": 2100,
            "type": "integer",
            "description": "efficiency_grades and standby_power: only labels applied for in this year or later (the year is part of the application number), e.g. 2025."
          },
          "equipmentType": {
            "title": "Equipment type contains (Korean)",
            "type": "string",
            "description": "high_efficiency_certified only: equipment type text, Korean or Latin, partial match, e.g. LED, LED등기구 (LED luminaire), 투광 (floodlight), 펌프 (pump), 변압기 (transformer), 보일러 (boiler), 인버터 (inverter).",
            "default": ""
          },
          "capacity": {
            "title": "Capacity contains",
            "type": "string",
            "description": "high_efficiency_certified only: partial match on the capacity text, e.g. 100 W, 50.",
            "default": ""
          },
          "efficiency": {
            "title": "Efficiency text contains",
            "type": "string",
            "description": "high_efficiency_certified only: partial match on the efficiency text, e.g. 150 (lm/W).",
            "default": ""
          },
          "testOrganization": {
            "title": "Test laboratory contains (Korean)",
            "type": "string",
            "description": "high_efficiency_certified only: test laboratory, Korean, partial match, e.g. 한국광기술원 (KOPTI), 한국산업기술시험원 (KTL).",
            "default": ""
          },
          "certifiedSince": {
            "title": "Certified on or after",
            "type": "string",
            "description": "high_efficiency_certified only: certified on or after this date, YYYY-MM-DD."
          },
          "validOnly": {
            "title": "Only certificates still valid",
            "type": "boolean",
            "description": "high_efficiency_certified only: skip expired certificates (status Valid on the run date).",
            "default": false
          },
          "lookupProductTypes": {
            "title": "Registries to search (model lookup)",
            "type": "array",
            "description": "model_lookup only, optional. Registries to search: product type keys such as refrigerator, kimchi_refrigerator, air_purifier, monitor, computer, server, high_efficiency_certified. Empty = all available registries (about a minute).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxPagesToScan": {
            "title": "Maximum pages to scan",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Pages of 100 records read per search (1-200). Some KEA registries answer slowly (15-50 s per page), so keep this low unless you filter heavily by company, model or grade.",
            "default": 10
          },
          "onlyNew": {
            "title": "Only items not delivered before",
            "type": "boolean",
            "description": "For scheduled monitoring: skip records already returned by a previous run with the same monitor name, mode and product type, e.g. new refrigerator labels or new LED certificates each day.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Keeps separate 'only new' memories for different schedules, e.g. led-flood or samsung-fridges.",
            "default": "default"
          },
          "translateToEnglish": {
            "title": "English company names and certificate texts",
            "type": "boolean",
            "description": "Fills English names for companies and labs not in the built-in tables, and translates certificate equipment types and features, with Claude (Anthropic). Korean originals are always included.",
            "default": true
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many results (records you pay for). Default 10.",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}