Web service for proxying Danish electricity spot prices
| src | Initial commit | |
| .gitignore | Initial commit | |
| Cargo.lock | Initial commit | |
| Cargo.toml | Initial commit | |
| LICENSE | Initial commit | |
| README.md | Initial commit | |
| rust-toolchain.toml | Initial commit | |
spotprisproxy
This is a small tool for fetching and caching the most recent electricity spot prices in Denmark, and for serving them with a low latency web API. Prices are fetched from Nord Pool and Energi Data Service.
Example usage
$ cargo build --release
$ target/release/spotprisproxy &
Fetching initial data from upstream API...
Initial data: DK1 latest=2026年06月24日T23:45:00, DK2 latest=2026年06月24日T23:45:00
Listening on http://0.0.0.0:8080
$ curl -s localhost:8080/DK1 | jq .[0]
[
"2026年06月24日T23:45:00",
1403.300215
]