{
  "openapi": "3.0.1",
  "info": {
    "title": "Korea Chemical Regulation Check by CAS: K-REACH, GHS, MSDS",
    "description": "Bulk-check CAS numbers against Korean chemical laws (K-REACH, Chemicals Control Act): existing, hazardous, restricted, prohibited, priority lists, plus GHS and KOSHA MSDS data, in English.",
    "version": "0.1",
    "x-build-id": "dhr5YaYKyvPBGiOgd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cm504~korea-chemical-regulations/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cm504-korea-chemical-regulations",
        "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-chemical-regulations/runs": {
      "post": {
        "operationId": "runs-sync-cm504-korea-chemical-regulations",
        "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-chemical-regulations/run-sync": {
      "post": {
        "operationId": "run-sync-cm504-korea-chemical-regulations",
        "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",
        "required": [
          "identifiers"
        ],
        "properties": {
          "identifiers": {
            "title": "Chemicals to look up",
            "type": "array",
            "description": "Chemicals to check, one per line (bulk paste OK). Accepted: CAS numbers (71-43-2), KE numbers from the Korea Existing Chemicals Inventory (KE-02150), EC numbers (200-753-7), English names or synonyms (Toluene, methyl alcohol) or Korean names (톨루엔). Duplicates are removed. Thousands per run are fine.",
            "default": [
              "71-43-2",
              "50-00-0",
              "7439-92-1",
              "1332-21-4",
              "64-17-5"
            ],
            "items": {
              "type": "string"
            }
          },
          "identifierType": {
            "title": "Identifier type",
            "enum": [
              "auto",
              "cas",
              "ke",
              "ec",
              "nameEn",
              "nameKo"
            ],
            "type": "string",
            "description": "How to read each identifier: 'auto' (default) detects CAS, KE, EC, Korean or English name from the format. Set it explicitly only if an English name looks like a number.",
            "default": "auto"
          },
          "nameMatch": {
            "title": "Name matching",
            "enum": [
              "exact",
              "contains"
            ],
            "type": "string",
            "description": "For name lookups: 'exact' (default) matches the full name or a synonym; a name that is not found returns up to 5 close suggestions free of charge. 'contains' returns substances whose names contain the text (up to 'Maximum matches per name', shortest names first).",
            "default": "exact"
          },
          "maxMatchesPerName": {
            "title": "Maximum matches per name",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Only with name matching 'contains': how many substances to return per name (1-100), shortest names first. Each match is a charged record.",
            "default": 5
          },
          "includeRegulatory": {
            "title": "Korean regulatory status",
            "type": "boolean",
            "description": "Add Korean regulatory status: KECI existing chemical, K-REACH registration subject and priority control (Korean SVHC-type list), Chemicals Control Act hazardous (human acute / chronic / ecological thresholds), restricted, prohibited, permitted and accident-preparedness substances, POPs and Rotterdam lists, with concentration thresholds and official notice numbers.",
            "default": true
          },
          "includeGhs": {
            "title": "GHS classification",
            "type": "boolean",
            "description": "Add the Korean official GHS classification (Ministry of Environment list): signal word, pictograms, hazard classes and categories, H and P statements in standard UN GHS English, M-factor and UN numbers.",
            "default": true
          },
          "includeMsds": {
            "title": "KOSHA MSDS data",
            "type": "boolean",
            "description": "Add data from the KOSHA (Korea Occupational Safety and Health Agency) MSDS database for the sections chosen in 'MSDS sections', plus a link to the KOSHA MSDS page. Turn off for the fastest regulatory-only check.",
            "default": true
          },
          "msdsSections": {
            "title": "MSDS sections",
            "type": "array",
            "description": "KOSHA MSDS sections to include (only when KOSHA MSDS data is on). Default: exposure_controls (Korean and ACGIH exposure limits, PPE), physical_properties, regulations (Korean OSH Act, dangerous goods, waste; US and EU) and transport (UN number, class, packing group). Each section is one extra request per chemical; text sections are translated when translation is on.",
            "items": {
              "type": "string",
              "enum": [
                "uses",
                "hazard_classification",
                "first_aid",
                "fire_fighting",
                "accidental_release",
                "handling_storage",
                "exposure_controls",
                "physical_properties",
                "stability_reactivity",
                "toxicity",
                "ecology",
                "disposal",
                "transport",
                "regulations"
              ],
              "enumTitles": [
                "1. Recommended uses and restrictions",
                "2. Hazard classification (KOSHA, Occupational Safety and Health Act)",
                "4. First aid",
                "5. Fire fighting",
                "6. Accidental release",
                "7. Handling and storage",
                "8. Exposure limits (Korea, ACGIH) and personal protection",
                "9. Physical and chemical properties",
                "10. Stability and reactivity",
                "11. Toxicology (LD50/LC50, IARC/ACGIH/NTP carcinogenicity)",
                "12. Ecology",
                "13. Disposal",
                "14. Transport (UN number, class, packing group)",
                "15. Regulations (Korean OSH Act, dangerous goods, waste; US and EU)"
              ]
            },
            "default": [
              "exposure_controls",
              "physical_properties",
              "regulations",
              "transport"
            ]
          },
          "translateToEnglish": {
            "title": "Translate free text to English",
            "type": "boolean",
            "description": "Translate free text (restriction conditions, mixture scopes, MSDS sentences) to English with Claude (Anthropic). Category names, statuses, thresholds, notice numbers, GHS classes, H/P statements and units are always mapped to English by fixed tables, without AI. Korean originals are always kept.",
            "default": true
          },
          "onlyChanged": {
            "title": "Only new or changed chemicals",
            "type": "boolean",
            "description": "For scheduled monitoring of a chemical portfolio: return only chemicals that are new to this monitor or whose Korean regulatory listings or GHS classification changed since the previous run with the same monitor name, with added and removed lists. The first run returns all.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name of the 'only new or changed' memory, e.g. eu-export-portfolio. Use a different name for each portfolio or schedule. Letters, digits and hyphens.",
            "default": "default"
          },
          "maxItems": {
            "title": "Maximum chemicals",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many charged chemical records. Not-found, failed and duplicate records are free and not counted.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}