{
  "openapi": "3.0.1",
  "info": {
    "title": "CEC Solar Equipment List: PV Modules, Inverters & Batteries",
    "description": "Search and export the California Energy Commission (CEC) Solar Equipment Lists: ~36K PV modules, inverters, batteries, energy storage systems, meters and PCS with Pmax, PTC, CEC efficiency, kWh and UL certifications. Bulk model lookup and new-listing monitor.",
    "version": "0.1",
    "x-build-id": "BgoGDxJ5QIVMw3k0r"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/prudent_businessman~cec-solar-equipment-list/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-prudent_businessman-cec-solar-equipment-list",
        "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/prudent_businessman~cec-solar-equipment-list/runs": {
      "post": {
        "operationId": "runs-sync-prudent_businessman-cec-solar-equipment-list",
        "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/prudent_businessman~cec-solar-equipment-list/run-sync": {
      "post": {
        "operationId": "run-sync-prudent_businessman-cec-solar-equipment-list",
        "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": {
          "lists": {
            "title": "Equipment lists",
            "type": "array",
            "description": "Which CEC lists to load. Empty = PV modules only.",
            "items": {
              "type": "string",
              "enum": [
                "pv_modules",
                "inverters",
                "batteries",
                "energy_storage_systems",
                "meters",
                "power_control_systems"
              ],
              "enumTitles": [
                "PV modules (~22K)",
                "Inverters - solar & battery (~3.4K)",
                "Batteries (~1K)",
                "Energy storage systems (~6.8K)",
                "Meters (~800)",
                "Power control systems / PCS (~1.7K)"
              ]
            },
            "default": [
              "pv_modules"
            ]
          },
          "manufacturers": {
            "title": "Manufacturers / brands",
            "type": "array",
            "description": "Manufacturer or brand contains (case-insensitive), e.g. Enphase, Tesla, REC, Qcells.",
            "items": {
              "type": "string"
            }
          },
          "model_numbers": {
            "title": "Model number lookup",
            "type": "array",
            "description": "Exact model numbers (spaces, dashes, dots, braces ignored) or wildcards with * and ?, e.g. IQ8*. Unmatched exact models are output with cecListed=false.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Match any keyword in manufacturer, brand, model, description or technology, e.g. bifacial, microinverter, LFP.",
            "items": {
              "type": "string"
            }
          },
          "listed_since": {
            "title": "Listed on or after (YYYY-MM-DD)",
            "type": "string",
            "description": "Only equipment with a CEC listing date on or after this date (records without a listing date are excluded)."
          },
          "updated_since": {
            "title": "Updated on or after (YYYY-MM-DD)",
            "type": "string",
            "description": "Only equipment whose last update (or listing date) is on or after this date."
          },
          "include_all_specs": {
            "title": "Include all spec columns",
            "type": "boolean",
            "description": "Adds a 'specs' object with every column of the official list (certifications, electrical ratings, efficiency curves).",
            "default": true
          },
          "output_not_found": {
            "title": "Output not-found rows for model lookups",
            "type": "boolean",
            "description": "For exact model lookups, output a row with cecListed=false for each model not on the selected lists.",
            "default": true
          },
          "max_items": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no limit.",
            "default": 0
          },
          "only_new": {
            "title": "Monitor mode: only new listings since last run",
            "type": "boolean",
            "description": "First run saves a baseline; later runs output only newly listed (and removed) equipment. CEC updates lists on the 1st, 11th and 21st of each month.",
            "default": false
          },
          "report_removed": {
            "title": "Monitor mode: also report removed equipment",
            "type": "boolean",
            "description": "In monitor mode, also output equipment that disappeared since the last run.",
            "default": true
          },
          "state_store_name": {
            "title": "Monitor state store name",
            "type": "string",
            "description": "Use a different name per saved filter set.",
            "default": "cec-solar-equipment-state"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}