# UK Ofgem Feed-in Tariff (FIT) Installations (`eclat-data/uk-ofgem-fit-installations`) Actor

Fast, HTTP-only, streaming B2B clean-energy data extractor for Ofgem's official quarterly Feed-in Tariff (FIT) Installation Reports (~870,000+ commercial, industrial, community and domestic solar PV, wind, hydro, AD and micro-CHP installations in Great Britain).

- **URL**: https://apify.com/eclat-data/uk-ofgem-fit-installations.md
- **Developed by:** [Siddharth Gupta](https://apify.com/eclat-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 fit installation records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## UK Ofgem FIT Installations Extractor

Fast, HTTP-only, streaming B2B clean-energy data extractor for the UK Office of Gas and Electricity Markets (Ofgem) official quarterly **Feed-in Tariff (FIT) Installation Reports** (~870,000+ commercial, industrial, community, and domestic solar PV, wind, hydro, anaerobic digestion, and micro-CHP installations across Great Britain).

### Features

- **Dynamic Report Discovery**: Automatically discovers the newest quarterly Ofgem FIT Installation Report publication and its multi-part XLSX files at runtime (never hardcoded to stale URLs).
- **True Streaming XLSX Parser**: Streams 35–45 MB XLSX parts over HTTP using `ExcelJS.stream.xlsx.WorkbookReader` with low memory overhead and immediate early-abort as soon as `maxItems` is satisfied.
- **HTTP-Only**: Zero headless browsers — fast, reliable, and lightweight.
- **Normalized B2B Output**: Clean flat JSON records with standardized installation types (`Commercial`, `Industrial`, `Community`, `Domestic`), ISO-8601 dates (`YYYY-MM-DD`), uppercase postcode prefixes, `null` for missing values, and deduplication by `installationId`.
- **Pay-Per-Event Ready**: Respects `maxItems` and `Actor.getChargingManager()` caps (`apify-default-dataset-item`).

### Input Parameters

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `installationTypes` | `string[]` | `["Commercial", "Industrial", "Community"]` | Filter by `"Commercial"`, `"Industrial"`, `"Community"`, `"Domestic"`. Pass `[]` for all types. |
| `technologies` | `string[]` | `[]` | Filter by `"Photovoltaic"`, `"Wind"`, `"Hydro"`, `"Anaerobic digestion"`, `"Micro CHP"`. |
| `minCapacityKw` | `number` | `null` | Minimum installed capacity in kW (e.g., `50`). |
| `regions` | `string[]` | `[]` | UK Government Office Region or country (e.g., `["Scotland", "South West", "East of England"]`). |
| `postcodePrefixes` | `string[]` | `[]` | UK outward postcode prefixes (e.g., `["SW1", "EC2", "M1"]`). |
| `maxItems` | `integer` | `100` | Maximum matching installations to return (`1`–`100000`). |

### Output Example

```json
{
  "installationId": "FIT00000001",
  "technology": "Anaerobic digestion",
  "installationType": "Commercial",
  "installedCapacityKw": 530,
  "declaredNetCapacityKw": 518,
  "commissionedDate": "2015-03-26",
  "tariffCode": "AD/500-5M/05-1",
  "exportStatus": "Export (Negotiated Tariff)",
  "country": "Wales",
  "region": "Wales",
  "localAuthority": "Powys",
  "postcodePrefix": "LD3",
  "sourceReportDate": "2026-09-30",
  "sourceFileUrl": "https://www.ofgem.gov.uk/sites/default/files/2026-10/Feed-in-Tariff-Installation-Report-Part-1-092026.xlsx",
  "scrapedAt": "2026-11-23T09:00:00.000Z"
}
```

# Actor input Schema

## `installationTypes` (type: `array`):

Filter by installation type. Options: Commercial, Industrial, Community, Domestic. Leave empty to include all types.

## `technologies` (type: `array`):

Filter by renewable generation technology. Options: Photovoltaic, Wind, Hydro, Anaerobic digestion, Micro CHP. Leave empty for all technologies.

## `minCapacityKw` (type: `number`):

Minimum installed capacity in kilowatts (kW), e.g., 50 for commercial-scale installations.

## `regions` (type: `array`):

Filter by UK Government Office Region or country (e.g., Scotland, Wales, South West, East of England, London, North West, South East, West Midlands, East Midlands, North East, Yorkshire and The Humber).

## `postcodePrefixes` (type: `array`):

Filter by UK outward postcode prefixes (e.g., SW1, EC2, M1, BS1). Matches installations whose postcode prefix equals or starts with any supplied prefix.

## `maxItems` (type: `integer`):

Maximum number of matching installations to extract. Streaming stops immediately once this limit is reached.

## Actor input object example

```json
{
  "installationTypes": [
    "Commercial",
    "Industrial",
    "Community"
  ],
  "maxItems": 100
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset containing normalized UK Ofgem FIT installation records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "installationTypes": [
        "Commercial",
        "Industrial",
        "Community"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("eclat-data/uk-ofgem-fit-installations").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "installationTypes": [
        "Commercial",
        "Industrial",
        "Community",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("eclat-data/uk-ofgem-fit-installations").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "installationTypes": [
    "Commercial",
    "Industrial",
    "Community"
  ]
}' |
apify call eclat-data/uk-ofgem-fit-installations --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,eclat-data/uk-ofgem-fit-installations"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5g6SibnbQUYtHTTcX/builds/KTS3Mxt86BICeIQlM/openapi.json
