Discover/SMARD API
live

SMARD APIsmard.de

Retrieve German day-ahead electricity spot prices at 15-minute resolution from SMARD (Bundesnetzagentur). Returns EUR/MWh prices with UTC timestamps.

Endpoint health
verified 2h ago
get_spot_prices
1/1 passing latest checkself-healing
Endpoints
1
Updated
2mo ago

What is the SMARD API?

The SMARD.de API exposes one endpoint — get_spot_prices — that returns German EPEX SPOT day-ahead electricity prices at 15-minute resolution. Each response includes timestamped price entries with Unix millisecond timestamps, ISO 8601 UTC datetimes, and prices denominated in EUR/MWh. You can query any date range and bidding zone, making it practical for energy market analysis, cost modeling, and grid research.

This call costs2 credits / call— charged only on success
Try it
Bidding zone or TSO area. Omitting defaults to DE (Germany).
End date in ISO format YYYY-MM-DD (UTC, inclusive of the full day). Omitting defaults to today.
Start date in ISO format YYYY-MM-DD (UTC). Omitting defaults to 7 days before today.
api.parse.bot/scraper/c55baad5-bf80-4113-82fa-eb7a076ee660/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/c55baad5-bf80-4113-82fa-eb7a076ee660/get_spot_prices?date_to=2026-09-21&date_from=2026-09-20&region=DE' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace smard-de-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: SMARD German Energy Spot Prices — bounded, re-runnable."""
from parse_apis.smard_de_api import Smard, Region, InvalidInput

client = Smard()

# Fetch 15-minute spot prices for Germany over a one-day window.
for price in client.spot_prices.list(
    region=Region.DE, date_from="2026-08-07", date_to="2026-08-08", limit=5
):
    print(price.datetime_utc, price.price_eur_mwh, "EUR/MWh")

# Get the full report object to access metadata (region, resolution, count).
try:
    report = client.spot_price_reports.get(
        region=Region.DE, date_from="invalid-date", date_to="2026-08-08"
    )
except InvalidInput as e:
    print(f"Caught expected error for bad date: {e.message}")

report = client.spot_price_reports.get(
    region=Region.DE, date_from="2026-08-07", date_to="2026-08-08"
)
print(f"Region: {report.region}, Resolution: {report.resolution}, Count: {report.count}")

# Drill into the first price entry from the report's typed list.
if report.prices:
    first = report.prices[0]
    print(f"First interval: {first.datetime_utc} -> {first.price_eur_mwh} {report.unit}")

print("exercised: spot_prices.list / spot_price_reports.get")
All endpoints · 1 totalmissing one? ·

Fetch German energy day-ahead spot prices at 15-minute resolution for a given date range. Returns timestamped prices in EUR/MWh from the EPEX SPOT market for the specified bidding zone. Data is sourced weekly; the endpoint fetches all relevant weekly chunks and filters to the requested range. Each request makes 1 index call plus 1 data call per overlapping week (typically 1-2 for a week-long range).

Input
ParamTypeDescription
regionstringBidding zone or TSO area. Omitting defaults to DE (Germany).
date_tostringEnd date in ISO format YYYY-MM-DD (UTC, inclusive of the full day). Omitting defaults to today.
date_fromstringStart date in ISO format YYYY-MM-DD (UTC). Omitting defaults to 7 days before today.
Response
{
  "type": "object",
  "fields": {
    "unit": "always 'EUR/MWh'",
    "count": "number of price entries returned",
    "prices": "array of price objects, each with timestamp_ms (Unix ms), datetime_utc (ISO string), and price_eur_mwh (number)",
    "region": "bidding zone code used for the query",
    "resolution": "always '15min'"
  },
  "sample": {
    "data": {
      "unit": "EUR/MWh",
      "count": 192,
      "prices": [
        {
          "datetime_utc": "2026-08-07T00:00:00Z",
          "timestamp_ms": 1786060800000,
          "price_eur_mwh": 137.76
        },
        {
          "datetime_utc": "2026-08-07T00:15:00Z",
          "timestamp_ms": 1786061700000,
          "price_eur_mwh": 130.76
        },
        {
          "datetime_utc": "2026-08-07T00:30:00Z",
          "timestamp_ms": 1786062600000,
          "price_eur_mwh": 127.59
        }
      ],
      "region": "DE",
      "resolution": "15min"
    },
    "status": "success"
  }
}

About the SMARD API

What the API Returns

The get_spot_prices endpoint returns an array of price objects covering the requested date range, each carrying three fields: timestamp_ms (Unix milliseconds), datetime_utc (ISO 8601 string), and price_eur_mwh (a number). The response envelope also includes unit (always EUR/MWh), resolution (always 15min), region (the bidding zone code used), and count (the number of price entries returned). Negative prices — which occur in the German electricity market during periods of oversupply — are returned as negative numbers.

Query Parameters

Three optional inputs control the query. date_from and date_to accept ISO dates in YYYY-MM-DD format (UTC-based); omitting them defaults to a 7-day window ending today. The region parameter selects the bidding zone or TSO area; omitting it defaults to DE (Germany as a whole). Data on SMARD is published in weekly chunks, so the endpoint assembles all relevant weekly segments and filters them to the precise date range you request.

Data Source and Freshness

SMARD is operated by the Bundesnetzagentur (Federal Network Agency) and aggregates electricity market data including EPEX SPOT day-ahead prices. The underlying data is updated on a weekly publication cadence, so very recent days may not yet appear. Prices reflect the day-ahead auction results for the DE bidding zone unless another region is specified.

Coverage Scope

The API covers day-ahead spot prices only. Intraday prices, balancing energy prices, generation capacity by source, and grid load data that SMARD publishes separately are not included in the current endpoint set. The resolution is fixed at 15 minutes; hourly aggregation is not available as a parameter but can be computed client-side from the returned data.

Reliability & maintenanceVerified

The SMARD API is a managed, monitored endpoint for smard.de — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when smard.de changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official smard.de API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Calculate average daily or weekly electricity procurement costs using price_eur_mwh for energy-intensive manufacturing.
  • Detect negative price windows from price_eur_mwh values to schedule flexible industrial loads or EV charging.
  • Build historical backtests for algorithmic energy trading strategies using 15-minute granularity price series.
  • Correlate German spot prices with renewable generation forecasts to model grid stress periods.
  • Feed datetime_utc and price_eur_mwh into dashboards for real-time cost monitoring in building energy management systems.
  • Supply price time-series data to academic research on European electricity market dynamics.
  • Alert procurement teams when spot prices cross threshold values by polling the endpoint for the current day.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does SMARD have an official developer API?+
Yes. The Bundesnetzagentur publishes a public data API at https://www.smard.de/home/downloadcenter/download-marktdaten/ and documents a REST interface for bulk CSV/JSON downloads. The Parse API wraps this data into a structured, date-range-queryable endpoint with consistent field names.
What does the `get_spot_prices` endpoint return for each price entry?+
Each object in the prices array contains timestamp_ms (Unix time in milliseconds), datetime_utc (ISO 8601 string in UTC), and price_eur_mwh (the day-ahead auction price as a float). Negative values are valid and reflect periods where the market cleared below zero.
How current is the data — can I get today's prices?+
SMARD publishes data in weekly batches, so the most recent hours or days may not yet be available. In practice, data lags by up to a few days. The endpoint returns whatever the source has published; if a requested date is not yet available, fewer entries than expected will be returned.
Does the API cover bidding zones outside Germany, such as Austria or Luxembourg?+
The region parameter supports the bidding zones SMARD exposes, which are centered on Germany and adjacent TSO areas. Coverage of other European countries' spot prices (e.g., France, Poland, Nordics) is not currently included. You can fork the API on Parse and revise it to target additional bidding zones if the underlying source publishes them.
Is intraday or balancing energy pricing available?+
Not currently. The API covers day-ahead spot prices only. SMARD also publishes intraday and balancing market data, but those are not exposed by the current endpoint. You can fork the API on Parse and revise it to add endpoints for those datasets.
Page content last updated . Spec covers 1 endpoint from smard.de.
Related APIs in FinanceSee all →
energy-charts.de API
Monitor real-time electricity prices, production data, and market forecasts across Germany and Europe to track energy costs and grid conditions. Access day-ahead and intraday pricing, power generation forecasts, cross-border trading flows, and traffic signal alerts for comprehensive energy market insights.
epexspot.com API
Access real-time and historical European power market data including day-ahead and intraday pricing results, monitor auction statuses across market areas, and stay updated with the latest newsroom articles from EPEX SPOT. Track power prices and market activity across different European regions to make informed trading and investment decisions.
powernext.com API
Access real-time and historical European energy market data including natural gas spot and futures prices, German power futures, and intraday power information. Monitor market snapshots and Guarantees of Origin to stay informed on energy market movements across Europe.
data.nordpoolgroup.com API
Monitor Nord Pool electricity market data including day-ahead prices, system prices, intraday statistics, and market areas across different regions. Access real-time and recent historical pricing information to track energy market trends and make informed decisions about electricity trading and consumption.
euenergy.live API
Monitor real-time and historical electricity prices across Europe with hourly granularity, including load data and city-level pricing information. Look up current rates by country or city, track price trends over time, and access comprehensive bulk historical data to analyze European energy markets.
mimer.svk.se API
Monitor Swedish electricity grid data by retrieving real-time consumption and production statistics, settlement prices, and frequency containment reserve information from Svenska kraftnät. Access comprehensive grid settlement data and exchange rates to analyze energy market trends and grid performance across Sweden.
ameren.com API
Retrieve hourly electricity prices, current outage summaries, rate information, and energy efficiency programs from Ameren. Covers Illinois and Missouri service areas with real-time and forecast pricing data.
ccee.org.br API
Access real-time electricity spot prices (PLD) and search CCEE documents and board meeting minutes to stay informed on Brazil's energy market. Filter and retrieve current pricing data and historical meeting records to track energy market developments.