If you’ve already collected addresses and would like to retrieve MPANs from them, see Retrieving meter details.
Recommended workflow

- Collect the user’s postcode
- Use that to retrieve a list of valid addresses for that postcode
- Present the user with that list of addresses to choose from
- If the user’s address is not in the list, ask them to enter the MPAN directly
Implementing address collection
- Use the search meters endpoint to search by
postcode
. This returns a list of possible matches. - If the user selects an address from the list, you can use the
ref
from that address to retrieve the meter details using the meter info by ref endpoint. - If the user does not find their address in the list, you can ask them to enter their MPAN directly. You can validate this MPAN using the validate MPAN endpoint. Once you’ve collected a valid MPAN, you can retrieve the meter details using the meter info by mpan endpoint.