---
title: "Download per-consumer allocation time-series as CSV (EDM-importable)"
method: GET
path: "/api/energy-sharing-allocation/allocations/:id/download"
tags: ["Energy Sharing Allocation"]
---

# Download per-consumer allocation time-series as CSV (EDM-importable)

`GET /api/energy-sharing-allocation/allocations/:id/download`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/energy-sharing-allocation/allocations/:id/download`
- Auth: none declared

Re-computes the 15-min allocation time-series on demand and returns a semicolon-delimited CSV. One row per 15-min interval. Columns: timestamp;generation_kwh;redispatch_deduction_kwh;net_generation_kwh;allocation_kwh. KRITIS: time-series is never persisted — this endpoint re-runs the computation from stored metadata.

## Path parameters

- `id` string, required

## Query parameters

- `maloId` string, required
- `format` string
- `token` string

## Response `200`

Semicolon-delimited CSV file, one row per 15-min interval

## Other responses

- `404`: Allocation not found or maloId not part of this allocation

---

[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)
