1
0
Fork
You've already forked spotprisproxy
0
Web service for proxying Danish electricity spot prices
  • Rust 100%
Find a file
2026年06月24日 21:16:02 +02:00
src Initial commit 2026年06月24日 21:16:02 +02:00
.gitignore Initial commit 2026年06月24日 21:16:02 +02:00
Cargo.lock Initial commit 2026年06月24日 21:16:02 +02:00
Cargo.toml Initial commit 2026年06月24日 21:16:02 +02:00
LICENSE Initial commit 2026年06月24日 21:16:02 +02:00
README.md Initial commit 2026年06月24日 21:16:02 +02:00
rust-toolchain.toml Initial commit 2026年06月24日 21:16:02 +02:00

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
]