If you are looking to collect better address data, see Collecting and validating addresses.
Import vs Export MPANs
Import vs Export MPANs
Sites with an export meter will have two MPANs: one for import and one for export. We index sites by the import MPAN, and you can use the import MPAN to retrieve the meter details.
Retrieving the MPAN
Quick lookup
Use the MPAN lookup endpoint to retrieve the MPAN for a given address. If we can find a single unambiguous MPAN, we’ll return it.If we cannot unambiguously identify the meter at the provided address, this endpoint will return
422
. In this case, you should use the exhaustive lookup.Exhaustive lookup
If you’d like finer-grained control over the lookup, you can use a multistep process to retrieve partially matching addresses, identify the best match, and then retrieve the relevant meter details.1
Retrieve a list of matching addresses
Use the search meters endpoint to search by
postcode
and optionally a building_identifier
. This returns a list of possible matches.2
Identify the best match
Use your own workflow to identify which of the returned options is the best match to your search. For instance, you could expose
this list to users directly and ask them to select their property.
3
Retrieve the meter details for your chosen address
Pass the
ref
from your chosen address to the meter info by ref endpoint
to retrieve the meter details.