Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/deadlines/intro.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
title: Switching Deadlines
sidebar_position: 0
description: "Calculate contract switching deadlines for power and gas in the German energy market, based on regulatory rules, working days and holidays, via API, SDK or a standalone library."
description: "Calculate contract switching deadlines for power and gas in the German energy market, based on regulatory rules, working days and holidays, via API or a standalone library."
---

# Contract Switching Deadlines

[[API Docs](/api/pricing)] [[SDK](https://www.npmjs.com/package/@epilot/deadlines-client)] [[Standalone Library](https://www.npmjs.com/package/@epilot/switching-deadlines)]
[[API Docs](/api/deadlines)] [[Standalone Library](https://www.npmjs.com/package/@epilot/switching-deadlines)]

German energy market regulations impose strict deadlines for power and gas contract switching. Since June 2025, power contracts without minimum terms can switch within 24 hours. Gas switching takes 10-13 working days, with retrospective switches possible within six weeks for relocation and new registration scenarios.

epilot provides two ways to calculate and validate these deadlines:

- **Switching Deadlines API** -- a [REST API](/api/pricing) that calculates and validates supplier switching deadlines for power and gas.
- **Switching Deadlines API** -- a [REST API](/api/deadlines) that calculates and validates supplier switching deadlines for power and gas.
- **Open-source library** -- the [Switching Deadlines library](https://github.com/epilot-dev/switching-deadlines) for Node.js. This library powers the API and is freely available. See the [library documentation](/docs/deadlines/deadlines-library/) for usage.
5 changes: 5 additions & 0 deletions redoc.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,9 @@ module.exports.specs = [
routePath: '/api/data-governance',
specUrl: 'https://docs.api.epilot.io/data-governance.yaml',
},
{
layout: { title: 'Deadlines API' },
routePath: '/api/deadlines',
specUrl: 'https://docs.api.epilot.io/deadlines.yaml',
},
];
10 changes: 10 additions & 0 deletions static/openapi-specs/apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,16 @@
"url": "https://docs.api.epilot.io/data-governance.yaml"
}
]
},
{
"name": "Deadlines API",
"baseURL": "https://deadlines-api.sls.epilot.io",
"properties": [
{
"type": "Swagger",
"url": "https://docs.api.epilot.io/deadlines.yaml"
}
]
}
]
}
Loading