How can I fetch store locations on my website's frontend?

How do I get an array of my store location objects in my front-end code?

Do I use REST Admin API? (https://shopify.dev/api/admin-rest/2021-10/resources/location#get-locations)

Or, do I use Storefront API? (https://shopify.dev/api/storefront/2021-10/queries/locations)

Or, is there a better way?

Thanks!