Real-time API for tracking free electricity events in the UK
This API provides a comprehensive list of Octopus Energy's free electricity events, automatically updated every hour.
Historical events from the maintainer of the Home Assistant Octopus Energy integration
oe-api.davidskendall.co.uk/free_electricity.jsonReal-time event data fetched directly from Octopus Energy's official GraphQL API
api.octopus.energy/v1/graphql/The API returns a JSON object with a data array containing event objects:
{
"data": [
{
"start": "2024-08-15T12:00:00.000Z",
"end": "2024-08-15T13:00:00.000Z",
"code": "1"
},
{
"start": "2024-11-27T11:00:00.000Z",
"end": "2024-11-27T12:00:00.000Z",
"code": "9",
"is_test": true
}
]
}
This data is automatically updated every hour via GitHub Actions. The service ensures:
This service is open source and available on GitHub:
Issues, feature requests, and pull requests are welcome! The project is designed to be:
Special thanks to David S Kendall for maintaining the Home Assistant Octopus Energy integration and providing the original data source that inspired this project.