---
title: "Solar Share Daily Avg"
method: GET
path: "/solar_share_daily_avg"
tags: ["ren_share"]
---

# Solar Share Daily Avg

`GET /solar_share_daily_avg`

## Request

- Base URL: `https://api.energy-charts.info` (the document declares no server; this is the origin it was published from)
- URL: `https://api.energy-charts.info/solar_share_daily_avg`
- Auth: none declared
- TypeScript: <https://skmtc.dev/energy-charts/apis/energy-charts-api/docs/solar_share_daily_avg/get.ts> (a function with typed inputs; its response is checked against the schema)

<b>Average daily solar share of load</b>
    


    

Returns the average daily solar share of load of the last 365 days (year = -1) or for a given year if provided.
    


    

Response schema:
    

```json
{
    "days": ["dd.mm.yyyy"],
    "data": [float],
    "deprecated": bool
}
```

## Query parameters

- `country` string
- `year` integer

## Response `200`

Successful Response

- DailyAvgDict
  - `days` string[], required: List of days in the format dd.mm.yyyy
  - `data` number[], required: List of average daily values
  - `deprecated` boolean, required

## Other responses

- `422`: Validation Error

## Changes

- **2025-05-06** `63bae0186e06`: 1 breaking, 2 info
  - response property `data/items/` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - added the new optional `query` request parameter `year`
  - added the required property `deprecated` to the response with the `200` status

[Operation history](https://skmtc.dev/energy-charts/apis/energy-charts-api/changes/solar_share_daily_avg/get.md)

---

[API](https://skmtc.dev/energy-charts/apis/energy-charts-api.md) - [All operations](https://skmtc.dev/energy-charts/apis/energy-charts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/energy-charts/apis/energy-charts-api/revisions/523d3ec0fd82?raw)
