---
title: "Solar Generation in GB"
method: GET
path: "/gb/sheffield-solar/pv/live"
tags: ["Sheffield Solar"]
---

# Solar Generation in GB

`GET /gb/sheffield-solar/pv/live`

## Request

- Base URL: `https://api.modoenergy.com/pub/v1`
- URL: `https://api.modoenergy.com/pub/v1/gb/sheffield-solar/pv/live`
- Auth: one of:
  - API key in header `X-Token`
  - none

This endpoint provides information on the historical and live generation of solar energy in Great Britain

## Query parameters

- `region_type` 'GSP' | 'PES', required
- `region_id` integer
- `date_from` string, date-time
- `date_to` string, date-time
- `extra_fields` string
- `limit` integer
- `offset` integer

## Response `200`

Success

- object
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` PVLive[], required
    - `gsp_id` integer, required
    - `pes_id` integer, required
    - `datetime_gmt` string, date-time, required
    - `generation_mw` string, decimal, required
    - `bias_error` string, decimal, nullable
    - `capacity_mwp` string, decimal, nullable
    - `installedcapacity_mwp` string, decimal, nullable
    - `lcl_mw` string, decimal, nullable
    - `stats_error` string, decimal, nullable
    - `ucl_mw` string, decimal, nullable
    - `uncertainty_mw` string, decimal, nullable
    - `site_count` integer, nullable
    - `updated_gmt` string, date-time, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests

---

[API](https://skmtc.dev/modoenergy/apis/modo-energy-api.md) - [All operations](https://skmtc.dev/modoenergy/apis/modo-energy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/modoenergy/apis/modo-energy-api/revisions/7d9d1bd6ee06?raw)
