Use lists in API helper