---
title: "Trend analysis over defined periods (injection/withdrawal patterns, seasonality)"
method: POST
path: "/api/gas-storage/storage-trend"
tags: ["Gas Storage (AGSI)"]
---

# Trend analysis over defined periods (injection/withdrawal patterns, seasonality)

`POST /api/gas-storage/storage-trend`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/gas-storage/storage-trend`
- Auth: none declared

Analyze gas storage trends over defined time periods.

**Period options:**
- week: Last 7 days
- month: Last 30 days
- quarter: Last 90 days
- year: Last 365 days

**Trend metrics:**
- Injection/withdrawal rates
- Fill level changes
- Seasonal patterns

**Use cases:**
- Seasonal depletion rate calculation
- Anomaly detection
- Forecast validation

## Query parameters

- `token` string

## Request body

- object
  - `country` string, required: ISO 3166-1 alpha-2 country code
  - `period` 'week' | 'month' | 'quarter' | 'year', required: Trend analysis period
  - `endDate` string: Optional end date (YYYY-MM-DD)
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Trend analysis retrieved successfully

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
