get_locations endpoint.