GET /consumption/v1/{mpid}
Returns settlement period consumption for a supplier MPAN, filtered by settlement date or latest-run creation date.
Request
Method and path:
GET /consumption/v1/{mpid}?mpan_core=1234567890123&from_date=2026-03-01GET /consumption/v1/{mpid}?updated_on=2026-03-20
Headers:
X-API-KEY(required): string, API key used for tenant authorization.
Path parameters:
mpid(required): string supplier MPID.
Query parameters:
mpan_core(conditionally required): integer MPAN core. Required whenupdated_onis not provided.from_date(conditionally required): string date inYYYY-MM-DD; inclusive lower bound on settlement date. Required whenupdated_onis not provided.updated_on(optional): string date inYYYY-MM-DD. Selects groups whose latest run's creation date is on or after this value. When supplied,mpan_coreandfrom_datecan be omitted; supplied filters still combine.
Request body:
- None.
Response
Success:
200 OK- Body type: array of
SettlementRunResponseSchema
Notes:
- Runs are grouped by registration cycle, settlement date, measurement quantity and connection type.
- The response combines the latest available value for each period across matching runs. A later run replaces its included periods; other period values are retained.
utc_settlement_dateis serialized as a UTC-aware datetime.
[
{
"mpan_core": 1234567890123,
"data_service_dip_id": "DIP-DC-001",
"connection_type": "H",
"measurement_quantity_id": "AI",
"utc_settlement_date": "2026-03-01T00:00:00+00:00",
"settlement_period_duration": 30,
"consumption_data": [
{
"utc_effective_to_datetime": "2026-03-01T00:30:00+00:00",
"consumption_value": "0.482",
"quality_indicator": "A",
"estimation_reason_code": null,
"amendment_reason_code": null
}
]
}
]
No content case:
204 No Contentwhen no settlement runs match the filters.
Validation notes:
updated_onmust beYYYY-MM-DDwhen supplied.- If
updated_onis omitted, bothmpan_coreandfrom_dateare required. mpan_coremust be an integer and 13 digits long.from_datemust beYYYY-MM-DD.
Full field definitions: