How to Get Customer address list by customer id Magento 2?

Magento supports Customers with multiple addresses like billing and shipping addresses. Customers can create an address from the My Account Section Address Book tabs from the storefront.

We can get all the list of available customer address by Customer id with AddressRepository Interface. Customer address saved under the customer_address_entity table with parent_id as a customer id.

Useful Interface to fetch all the addresses, Magento\Customer\Api\AddressRepositoryInterface

Pass Customer id as $customerId inside the getCustomerAddresses() method.

Output:
List of available addresses for the given customer id.