GnistAI GnistAI
Log in

Hvakosterstrommen (Electricity Prices)

Norwegian electricity spot prices and day-ahead market data.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 7 tools tools 7 7 Finance

Data source: hvakosterstrommen.no

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/hvakosterstrommen/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-hvakosterstrommen": {
      "url": "https://context.gnist.ai/mcp/hvakosterstrommen/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/hvakosterstrommen/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_current_electricity_price", "arguments": {"zone": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/hvakosterstrommen/

7 endpoints available:

Shell
curl "https://context.gnist.ai/rest/hvakosterstrommen/get_current_electricity_price?zone=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/hvakosterstrommen/get_current_electricity_price",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "zone": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc hvakosterstrommen

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (7)

get_current_electricity_price
Get the current hour's spot electricity price for a Nordpool price zone.
ParameterTypeRequiredDescription
zonestringrequiredNordpool price zone (e.g. 'NO1' for Oslo/East Norway). Valid zones: NO1, NO2, NO3, NO4, NO5, SE1, SE2, SE3, SE4, DK1, DK2, FI.
get_electricity_prices_today
Get all 24 hourly electricity spot prices for today in a Nordpool price zone.
ParameterTypeRequiredDescription
zonestringrequiredNordpool price zone (e.g. 'NO1' for Oslo/East Norway). Valid zones: NO1, NO2, NO3, NO4, NO5, SE1, SE2, SE3, SE4, DK1, DK2, FI.
get_electricity_prices_tomorrow
Get day-ahead electricity spot prices for tomorrow in a Nordpool price zone.
ParameterTypeRequiredDescription
zonestringrequiredNordpool price zone (e.g. 'NO1' for Oslo/East Norway). Valid zones: NO1, NO2, NO3, NO4, NO5, SE1, SE2, SE3, SE4, DK1, DK2, FI.
get_cheapest_electricity_window
Find the cheapest consecutive block of hours for electricity across today and tomorrow.
ParameterTypeRequiredDescription
zonestringrequiredNordpool price zone (e.g. 'NO1'). Valid zones: NO1–NO5, SE1–SE4, DK1–DK2, FI.
duration_hoursintegerrequiredNumber of consecutive hours needed (1–24).
not_beforeanyoptionalISO 8601 datetime — only consider hours at or after this time (e.g. '2026-03-13T22:00:00+01:00').
not_afteranyoptionalISO 8601 datetime — only consider hours ending at or before this time (e.g. '2026-03-14T07:00:00+01:00').
get_electricity_price_history
Get historical hourly electricity spot prices for the past N days.
ParameterTypeRequiredDescription
zonestringrequiredNordpool price zone (e.g. 'NO1'). Valid zones: NO1–NO5, SE1–SE4, DK1–DK2, FI.
daysintegeroptionalNumber of past days to include (1–30, default 7). (default: 7)
get_electricity_zone_for_location
Resolve geographic coordinates to the nearest Nordpool electricity price zone.
ParameterTypeRequiredDescription
latnumberrequiredLatitude (decimal degrees).
lonnumberrequiredLongitude (decimal degrees).
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related