Skip to main content

GET /consumption/v1/{mpid}/daily

Returns daily settlement consumption totals across the requested date range.

Request​

Method and path:

  • GET /consumption/v1/{mpid}/daily

Headers:

  • X-API-KEY (required): string, API key used for tenant authorization.

Path parameters:

  • mpid (required): string supplier MPID.

Query parameters:

  • from_date (required): date in YYYY-MM-DD format.
  • to_date (required): date in YYYY-MM-DD format; must be on or after from_date.
  • mpan_core (optional, repeatable): 13-digit MPAN core. Repeat the parameter to filter by multiple MPANs.
  • gsp_group_id (optional): one of _A, _B, _C, _D, _E, _F, _G, _H, _J, _K, _L, _M, _N, _P.
  • measurement_quantity_id (optional, repeatable): one of AI, AE, RI, RE. Repeat the parameter to filter by multiple values.

The inclusive date range cannot exceed 90 days.

Example:

GET /consumption/v1/ABCD/daily?from_date=2026-08-01&to_date=2026-08-31&mpan_core=1234567890123&measurement_quantity_id=AI

Request body:

  • None.

Response​

Success:

  • 200 OK
  • Body type: array of DailyConsumptionResponseSchema.
  • An empty array is returned when no matching data exists.
[
{
"settlement_date": "2026-08-01",
"measurement_quantity_id": "AI",
"total_consumption": "12.345",
"period_count": 48
}
]

Validation failures include missing or malformed dates, an inverted or over-90-day range, malformed MPAN cores, and unsupported GSP-group or measurement-quantity values.

Full field definitions: