71trust / 100

Denmark Spot Price

by Saylor Innovations Data Desk in Other

x402 APIPassing, checked 2 h ago

Denmark electricity spot price - current and day-ahead Nord Pool price per MWh and kWh for DK1 or DK2 with the cheapest slot, from Energinet

GET
https://saylorinnovations.com/api/electricity/denmark/spot-price
Price
$0.01
per call in USDC
Uptime
100%
last 30 days
Response time
821 ms
845 ms slowest 5%
Last check
Passed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://saylorinnovations.com/api/electricity/denmark/spot-price

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://saylorinnovations.com/api/electricity/denmark/spot-price?area=DK1&hours=24

Parameters

ParameterTypeRequiredDescription
areastringNoDK1 (west) or DK2 (east), default DK1
hoursstringNooptional window 1-168 hours (default 24)

Example response

The provider's example. We can't check it without paying. Shortened for display.

Example response, 102 lines
{
  "cheapest_slot": "2026-10-16T11:45:00",
  "current": {
    "dkk_per_mwh": 1411.804051,
    "eur_per_kwh": 0.18886,
    "eur_per_mwh": 188.860001,
    "time_utc": "2026-10-16T01:30:00"
  },
  "note": "Nord Pool day-ahead spot price in 15-minute slots, before taxes, grid tariffs and supplier margin. Includes already published prices for coming hours.",
  "price_area": "DK1",
  "prices": [
    {
      "eur_per_mwh": 193.990005,
      "time_utc": "2026-10-15T22:00:00"
    },
    {
      "eur_per_mwh": 195.080002,
      "time_utc": "2026-10-15T22:15:00"
    },
    {
      "eur_per_mwh": 179.339996,
      "time_utc": "2026-10-15T22:30:00"
    },
    {
      "eur_per_mwh": 174.479996,
      "time_utc": "2026-10-15T22:45:00"
    },
    {
      "eur_per_mwh": 191.009995,
      "time_utc": "2026-10-15T23:00:00"
    },
    {
      "eur_per_mwh": 185.309998,
      "time_utc": "2026-10-15T23:15:00"
    },
    {
      "eur_per_mwh": 186.639999,
      "time_utc": "2026-10-15T23:30:00"
    },
    {
      "eur_per_mwh": 187.050003,
      "time_utc": "2026-10-15T23:45:00"
    },
    {
      "eur_per_mwh": 190.630005,
      "time_utc": "2026-10-16T00:00:00"
    },
    {
      "eur_per_mwh": 190.169998,
      "time_utc": "2026-10-16T00:15:00"
    },
    {
      "eur_per_mwh": 189.520004,
      "time_utc": "2026-10-16T00:30:00"
    },
    {
      "eur_per_mwh": 189.710007,
      "time_utc": "2026-10-16T00:45:00"
    },
    {
      "eur_per_mwh": 197.279999,
      "time_utc": "2026-10-16T01:00:00"
    },
    {
      "eur_per_mwh": 194.050003,
      "time_utc": "2026-10-16T01:15:00"
    },
    {
      "eur_per_mwh": 188.860001,
      "time_utc": "2026-10-16T01:30:00"
    },
    {
      "eur_per_mwh": 188.220001,
      "time_utc": "2026-10-16T01:45:00"
    },
    {
      "eur_per_mwh": 195.899994,
      "time_utc": "2026-10-16T02:00:00"
    },
    {
      "eur_per_mwh": 190.350006,
      "time_utc": "2026-10-16T02:15:00"
    },
    {
      "eur_per_mwh": 189.910004,
      "time_utc": "2026-10-16T02:30:00"
    },
    {
      "eur_per_mwh": 190.419998,
      "time_utc": "2026-10-16T02:45:00"
    }
  ],
  "source": "Energinet Energi Data Service (DayAheadPrices)",
  "window": {
    "avg_eur_per_mwh": 209.56,
    "from_utc": "2026-10-15T22:00:00",
    "hours": 24,
    "max_eur_per_mwh": 287.809998,
    "min_eur_per_mwh": 145.660004,
    "to_utc": "2026-10-16T21:45:00"
  }
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/electricity/denmark/spot-price?area=DK1&hours=24'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/electricity/denmark/spot-price?area=DK1&hours=24' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Felectricity%2Fdenmark%2Fspot-price
const res = await pay("https://saylorinnovations.com/api/electricity/denmark/spot-price?area=DK1&hours=24");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://saylorinnovations.com/api/electricity/denmark/spot-price?area=DK1&hours=24")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402597 ms$0.01
6 h agoPassed402845 ms$0.01
11 h agoPassed402821 ms$0.01