Gas Storage (AGSI)

Historical time-series data (daily/weekly/monthly) for trend analysis

Retrieve historical gas storage time-series data with flexible aggregation.

Aggregation levels:

  • daily: Day-by-day granularity
  • weekly: Weekly averages
  • monthly: Monthly aggregates

Use cases:

  • Seasonal pattern analysis
  • Forecasting models
  • Year-over-year comparison
  • Anomaly detection
post/api/gas-storage/historical-data

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/gas-storage/historical-data
  • Auth: none declared

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Request body

countrystring required

ISO 3166-1 alpha-2 country code

fromstring required

Start date (YYYY-MM-DD)

tostring required

End date (YYYY-MM-DD)

aggregation'daily' | 'weekly' | 'monthly'

Data aggregation level

format'json' | 'csv' | 'xlsx' | 'xls'

Output format. "csv" and "xls"/"xlsx" trigger a file download.

tokenstring

Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

Example request

{
  "country": "DE",
  "from": "2024-01-01",
  "to": "2024-12-31",
  "aggregation": "daily"
}

Response

Historical data retrieved successfully

Changes

No recorded changes to this operation across all 2 revisions of this API.