GET /mpan/v1/{mpid}/list
Returns MPANs and health status for the supplier identified by mpid (scoped by X-API-KEY).
Request
Method and path:
GET /mpan/v1/{mpid}/list
Headers:
X-API-KEY(required): string, UUID format.
Path parameters:
mpid(required): string supplier MPID.
Query parameters:
q(optional): string, maximum 200 characters, default empty string. Case-insensitive literal substring search over MPAN core, address lines, postcode, GSP group, distributor MPID or distributor DIP ID. Outer whitespace is trimmed;%and_are literal characters. Postcode matching ignores spaces.energisation(optional):energised/e,de-energised/deenergised/de_energised/d, orunknown(case-insensitive).market_segment(optional):smart/s,advanced/a,unmetered/u, orunknown(case-insensitive).metered_status(optional):metered/true,unmetered/false, orunknown(case-insensitive).health(optional): current health status:healthy,pending,failed, orunknown(case-insensitive exact match).gsp(optional): case-insensitive substring match against the current GSP group.migration(optional):migrated/mhhs migrated,pending/migration pending/mhhs migration pending, ormissing/mhhs missing(case-insensitive).metering_agent(optional): current metering-service agent name, matched case-insensitively; useunknownfor no current agent name.data_service_agent(optional): current data-service agent name, matched case-insensitively; useunknownfor no current agent name.limit(optional): integer, minimum 1, maximum 200. Defaults to 25 when onlyoffsetis supplied.offset(optional): integer, minimum 0. Defaults to 0 when onlylimitis supplied.
Request body:
- None.
Response
Paginated response
Supplying limit or offset returns a paginated response.
Success:
200 OK
{
"data": [
{
"id": 1234567890123,
"health_status": "healthy",
"address_line_1": "10 High Street",
"postcode": "AB1 2CD",
"gsp_group_id": "_A",
"distributor_mpid": "DIST",
"energisation_status": "E",
"market_segment": "S",
"registration_id": "9f905e25-77da-47df-b7bc-1f1d2ed12abc",
"supply_start_date": "2026-01-16T00:00:00+00:00",
"registration_status": "Active",
"disconnection_date": null
}
],
"total_count": 1,
"limit": 25,
"offset": 0,
"has_more": false
}
Notes:
- Search and all supplied filters apply before counting and pagination. Results sort by MPAN core ascending.
- Each MPAN uses the supplier's selected registration cycle and its latest currently effective address and GSP group.
- The migration filter represents the MPAN's current MHHS migration status using its current appointments and qualifying Change of Agent processes.
- Empty and out-of-range pages return
200 OKwithdata: [].
Unpaginated response
Without limit or offset, returns an object with an mpans array using the same search and ordering.
Success:
200 OK
{
"mpans": [
{
"id": 1234567890123,
"health_status": "healthy",
"address_line_1": "10 High Street",
"postcode": "AB1 2CD",
"gsp_group_id": "_A",
"distributor_mpid": "DIST",
"energisation_status": "E",
"market_segment": "S",
"registration_id": "9f905e25-77da-47df-b7bc-1f1d2ed12abc",
"supply_start_date": "2026-01-16T00:00:00+00:00",
"registration_status": "Active",
"disconnection_date": null
}
]
}
Notes:
- If no MPANs match for the supplier, response is still
200with{"mpans": []}. - Both response shapes include
health_statuson each item.health_issuesis returned by the single MPAN endpoint.
Auth/tenant errors:
401when credentials cannot access the requested MPID.403when supplier access is forbidden for the API key.
Validation errors:
422 Unprocessable Entityforqlonger than 200 characters, malformed integers,limitoutside 1–200, or negativeoffset.
Full field definitions: