{
  "openapi": "3.0.1",
  "info": {
    "title": "MCS Certified Installers UK Scraper: Solar PV, Heat Pump & Etc.",
    "description": "Download and Get all 5,500+ MCS certified UK installers in ~10 seconds: email, phone, website, address, installer types, regions and Boiler Upgrade Scheme status. De-duplicated and refreshed daily.",
    "version": "0.0",
    "x-build-id": "frnZPbSODBcza60x3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/azanko~mcs-certified-installers/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-azanko-mcs-certified-installers",
        "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/azanko~mcs-certified-installers/runs": {
      "post": {
        "operationId": "runs-sync-azanko-mcs-certified-installers",
        "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/azanko~mcs-certified-installers/run-sync": {
      "post": {
        "operationId": "run-sync-azanko-mcs-certified-installers",
        "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": {
          "technologies": {
            "title": "Installer types (technologies)",
            "type": "array",
            "description": "Only return installers certified for these technologies. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "ashp",
                "battery",
                "biomass",
                "eahp",
                "ground_water_source",
                "micro_chp",
                "wind_turbine",
                "sahp",
                "solar_thermal",
                "solar_pv",
                "gahp"
              ],
              "enumTitles": [
                "Air Source Heat Pump",
                "Battery Storage",
                "Biomass",
                "Exhaust Air Heat Pump",
                "Ground/Water Source Heat Pump",
                "Micro CHP",
                "Small Wind Turbine",
                "Solar Assisted Heat Pump",
                "Solar Heating (Solar Thermal)",
                "Solar PV",
                "Gas Absorption Heat Pump"
              ]
            },
            "default": []
          },
          "matchAllTechnologies": {
            "title": "Must install ALL selected technologies",
            "type": "boolean",
            "description": "Off: installers with any of the selected technologies. On: only installers certified for every one.",
            "default": false
          },
          "regions": {
            "title": "Regions covered",
            "type": "array",
            "description": "Only return installers that cover at least one of these regions. 'England' selects all 9 English regions at once. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "england",
                "eastern",
                "east_midlands",
                "london",
                "north_east",
                "north_west",
                "south_east",
                "south_west",
                "west_midlands",
                "yorkshire_humberside",
                "scotland",
                "wales",
                "northern_ireland"
              ],
              "enumTitles": [
                "England (all 9 English regions)",
                "Eastern",
                "East Midlands",
                "London",
                "North East",
                "North West",
                "South East",
                "South West",
                "West Midlands",
                "Yorkshire & Humberside",
                "Scotland",
                "Wales",
                "Northern Ireland"
              ]
            },
            "default": []
          },
          "nationwideOnly": {
            "title": "Nationwide installers only",
            "type": "boolean",
            "description": "Only installers that cover all 12 UK regions (the site's 'Nationwide' filter).",
            "default": false
          },
          "postcodes": {
            "title": "Postcode areas / districts",
            "type": "array",
            "description": "Installer's own postcode. Use an area (e.g. 'BS'), a district ('BS1') or a full postcode ('BS1 4DJ').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "counties": {
            "title": "Counties",
            "type": "array",
            "description": "Installer's county, e.g. 'Devon' (case-insensitive exact match).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "search": {
            "title": "Keyword search",
            "type": "string",
            "description": "Matches company name, certification number, email, website or address."
          },
          "certificationBodies": {
            "title": "Certification bodies",
            "type": "array",
            "description": "Only installers certified through one of these bodies. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "NICEIC",
                "NAPIT",
                "APHC",
                "OFTEC",
                "The IAA",
                "BAB",
                "Simply Certification",
                "HETAS"
              ]
            },
            "default": []
          },
          "boilerUpgradeSchemeOnly": {
            "title": "Boiler Upgrade Scheme registered only",
            "type": "boolean",
            "description": "Only installers registered for the BUS grant.",
            "default": false
          },
          "websiteFilter": {
            "title": "Website",
            "enum": [
              "any",
              "with",
              "without"
            ],
            "type": "string",
            "description": "Filter on whether the installer lists a website.",
            "default": "any"
          },
          "telephoneFilter": {
            "title": "Telephone",
            "enum": [
              "any",
              "with",
              "without"
            ],
            "type": "string",
            "description": "Filter on whether the installer lists a telephone number.",
            "default": "any"
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of installers to return. 0 = no limit (all matches).",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}