⚡ PowerPrice API

Finnish electricity market prices for PLC and automation applications.

Prices are retrieved from ENTSO-E, normalized into an internal 15-minute price format and provided through a simple HTTP API.

See the readme.md for full description.

Endpoints

Force cache update

Returns by default:nothing. Use ?update_cache&debug to see debug print

Current price

Returns the currently active electricity price.

Unit: cents/kWh including VAT.

Today's prices

Returns the available prices for the current day.

The default response format is optimized for legacy PLC clients.

Current and future prices

Returns the currently active price and all future prices available in the internal price database.

Plain text format:

unix_timestamp=price;unix_timestamp=price;...

The Unix timestamp defines the UTC time when the price becomes active.

Internal database

Displays the normalized internal price data.

Intended primarily for debugging and development.

Cache timestamps

Returns the last modification timestamps of all cache files.

Timestamps are returned in local Finnish time.

The default response format is a semicolon-separated list: filename=timestamp.

Use format=json to return the timestamps in JSON format.

Time handling

All internal timestamps use UTC.

The service and PLC applications can therefore operate without handling Finnish daylight saving time.

Price format

All prices are returned in:

cents/kWh including VAT

Examples

Current price

?get_current_price

Example response:

17.42

Future prices

?get_future_prices

Example response:

1787212800=10.5;1787213700=11.2;1787214600=9.8;

Response formats