{
  "openapi": "3.0.1",
  "info": {
    "title": "Japan CSCL (Kashinho) Chemical Substance MITI & CAS Registry",
    "description": "Query 2,347 official Japanese Chemical Substances Control Law (化審法 / CSCL) regulated & notified chemical substances across Class I/II Specified, Monitoring, Priority Assessment, and General Notified divisions with Official Gazette MITI numbers and Mod-10 verified CAS numbers. Zero-PII.",
    "version": "1.0",
    "x-build-id": "vtIoQqod3SojpNsKc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/andque~jp-meti-cscl-chemical-miti-cas-registry/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-andque-jp-meti-cscl-chemical-miti-cas-registry",
        "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/andque~jp-meti-cscl-chemical-miti-cas-registry/runs": {
      "post": {
        "operationId": "runs-sync-andque-jp-meti-cscl-chemical-miti-cas-registry",
        "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/andque~jp-meti-cscl-chemical-miti-cas-registry/run-sync": {
      "post": {
        "operationId": "run-sync-andque-jp-meti-cscl-chemical-miti-cas-registry",
        "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": {
          "csclRegulationCategory": {
            "title": "CSCL Statutory Regulation Category",
            "enum": [
              "priority_assessment",
              "class1_specified",
              "class2_specified",
              "monitoring",
              "general_notified"
            ],
            "type": "string",
            "description": "CSCL statutory chemical category: \"priority_assessment\" (優先評価化学物質), \"class1_specified\" (第一種特定化学物質), \"class2_specified\" (第二種特定化学物質), \"monitoring\" (監視化学物質), or \"general_notified\" (一般化学物質).",
            "default": "priority_assessment"
          },
          "mitiNumber": {
            "title": "MITI Official Gazette Notification Number (官報公示整理番号)",
            "type": "string",
            "description": "METI/MITI Official Gazette Chemical Notification Number filter (e.g. \"(2)-1509\", \"(3)-3\", \"(1)-385\")."
          },
          "casNumber": {
            "title": "CAS Registry Number",
            "type": "string",
            "description": "Chemical Abstracts Service (CAS) Registry Number filter (e.g. \"50-00-0\" for Formaldehyde, \"71-43-2\" for Benzene, \"108-88-3\" for Toluene)."
          },
          "csclEntryId": {
            "title": "CSCL Registry Entry ID",
            "type": "string",
            "description": "Deterministic CSCL registry entry identifier filter (e.g. \"CSCL-PA-0001\", \"CSCL-C1-0001\", \"CSCL-C2-0001\")."
          },
          "mitiSectionCode": {
            "title": "MITI Chemical Structural Class Code (1 to 9)",
            "type": "string",
            "description": "MITI structural category prefix code (e.g. \"1\" for inorganic compounds, \"2\" for low-molecular aliphatic compounds, \"3\" for carbocyclic aromatic compounds)."
          },
          "englishSubstanceName": {
            "title": "English Chemical Substance Name",
            "type": "string",
            "description": "English IUPAC or common chemical substance name filter (e.g. \"Formaldehyde\", \"Benzene\", \"Toluene\", \"Ethylene oxide\")."
          },
          "keyword": {
            "title": "Chemical Name / MITI / CAS Keyword",
            "type": "string",
            "description": "Search keyword across Japanese chemical name, English chemical alias, MITI number, CAS number, or CSCL entry ID (e.g. \"ホルムアルデヒド\", \"ベンゼン\")."
          },
          "limit": {
            "title": "Max CSCL Substance Records Returned",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "Maximum number of CSCL chemical substance records to return (1 to 250).",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}