getAPI nested
output labels